
Utilities 7-47
tbload: Create a Database or Table
-p Option
The -p option directs the tbinit daemon not to search for (and delete)
temporary tables left by database server processes that died without
performing cleanup. If you use this option, OnLine returns to online mode
morerapidlybutspaceusedbytemporarytablesleftondisk isnotreclaimed.
tbinit -p
-s Option
The -s option initializes shared memory and leaves OnLine in quiescent
mode. The following commands take OnLine offline, reinitialize shared
memory, and leave OnLine in quiescent mode:
tbmode -ky
tbinit -s
tbload: Create a Database or Table
Thetbload utilitycreatesadatabaseortableinaspecifieddbspaceandloads
it with data from an input tape created by the tbunload utility. During the
load, you can move blobs stored in a blobspace to another blobspace.
The tape that tbload reads contains binary data stored in disk-page-sized
units. For this reason, the machine receiving the data and the machine used
tocreatethetape must share the same pagesize(specifiedasBUFFSIZE inthe
configuration file).
When tbload is used to create databases from a tbunload input tape, the
databases that result are not ANSI-compliant and do not use transaction
logging until you take further action. You can make a database ANSI-
complaint after it is loaded through the DB-Monitor Logical-Logs menu,
Databases option. You can add logging to a database either through
DB-Monitor (same option) or by executing tbtape.
Beforeyou load atable into anexisting, loggeddatabase, end loggingfor the
databaseorloadduringoff-peakhours.(Otherwise,youmightfillthelogical
logs or consume excessive shared-memory resources.) After the table is
loaded, create a level-0 archive before you resume database logging.
Kommentare zu diesen Handbüchern