ISQL and Tools
Figure 4-1: dbload Execution Process
Commands file | dbload | Log file | ||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Data files
Bad file
c-treeSQL Engine
Database
4.2PREREQUISITES FOR DBLOAD
Before running dbload, you need:
•A valid, readable commands file
•INSERT privileges on the tables named in the commands file
4.3DBLOAD COMMAND LINE SYNTAX
The dbload command does not directly specify an input file, but instead names a commands file that in turn specifies data input files. The dbload command accepts the commands file name, the database name, and a list of command options.
Syntax
dbload
Options
-f commands_file
Specifies the file containing dbload commands.
FairCom Corporation |