Nonstop Database, HiRDB Version 9 System Operation Guide
The following table below shows the potential causes of errors that might occur when the pdload command is used to import a table into the target system. It also shows the corrective actions to take.
Table 12-3 Potential causes of errors that might occur during import and the corrective actions to take
Error | Potential cause | Corrective action | Option for pdload to be re-executed |
---|---|---|---|
Definition error | No schema for the user who imports the table is defined at the target system. | Define a schema for the user who imports the table, and then re-execute the import operation. | -b -W -w all |
The table to be imported is already defined in the target system. |
|
||
The target system has no RDAREA for storing the table to be imported. | Take either of the following actions, and then import the table data only:
|
-b -W -w data | |
The table definition exceeds 2 MB. | Correct the SQL inside the SQL definition file# so that the table definition does not exceed 2 MB, and redefine it using the pddef command. Then, import the table data only (by executing the pdload command with the -b -W -w data options specified). For details about how to correct the SQL definition file, see (1) SQL definition file correction example. |
||
Data load error | See Database status in the event of an error and recovery methods in the manual HiRDB Version 9 Command Reference, and take the appropriate corrective actions. |
output-destination-directory/SQLFILE-table-name-xxxxxxx |
When an SQL is created for the purpose of importing a table, default values are also created. Consequently, the table definition might exceed 2 MB. In order to prevent the table definition from exceeding 2 MB, HiRDB creates CREATE TABLE by deleting column definitions from columns with the largest IDs, and then adds column definitions using ALTER TABLE. When this happens, an SQL error might occur.
Correct the SQL in the SQL definition file as follows:
For specific SQL examples, see Example of correcting errors when a definition SQL statement created during import processing exceeds 2,000,000 bytes in the manual HiRDB Version 9 Command Reference.
All Rights Reserved. Copyright (C) 2011, 2015, Hitachi, Ltd.