Nonstop Database, HiRDB Version 9 Command Reference
Table 5-59 Database status and recovery method (in the event of an error during data loading) (1/3) through Table 5-61 Database status and recovery method (in the event of an error during data loading) (3/3) describe the database statuses and recovery methods in the event of an error during data loading; Table 5-62 Database status and recovery method (in the event of an error during data loading on LOB columns) describes the database statuses and recovery methods in the event of an error during data loading on LOB columns, and Table 5-63 Database status and recovery method (in the event of an input data error) describes the database statuses and recovery methods in the event of an input data error.
In the Classification column of the tables, Status means the status of the database when the error occurred and Recovery means the recovery method.
Table 5-59 Database status and recovery method (in the event of an error during data loading) (1/3)
Option | Classification | Message output immediately before error | |||
---|---|---|---|---|---|
-l | -i | 1. | 2. | 3. | |
None (excluding control statement errors) | KFPL00721-I Row data deleted |
KFPL00702-I Data loading started |
|||
a or p | s | Status | Status before execution | Null | Null |
Recovery | Re-execute | Re-execute | Re-execute | ||
c | Status | Status before execution | Null | Null | |
Recovery | Re-execute | Re-execute | Re-execute | ||
n | Status | Status before execution | Null | Null | |
Recovery | Re-execute | Re-execute | Re-execute | ||
x | Status | Status before execution | Null | Null | |
Recovery | Re-execute | Re-execute | Re-execute | ||
n | s | Status | Not guaranteed | Not guaranteed | Not guaranteed |
Recovery | Re-execute after recovering database | Re-execute after recovering database | Re-execute after recovering database | ||
c | Status | Not guaranteed | Not guaranteed | Not guaranteed | |
Recovery | Re-execute after recovering database | Re-execute after recovering database | Re-execute after recovering database | ||
n | Status | Not guaranteed | Not guaranteed | Not guaranteed | |
Recovery | Re-execute after recovering database | Re-execute after recovering database | Re-execute after recovering database | ||
x | Status | Not guaranteed | Not guaranteed | Not guaranteed | |
Recovery | Re-execute after recovering database | Re-execute after recovering database | Re-execute after recovering database |
Table 5-60 Database status and recovery method (in the event of an error during data loading) (2/3)
Option | Classification | Message output immediately before error | |||
---|---|---|---|---|---|
-l | -i | 4. | 5. | 6. | |
KFPL00800-I Notification of synchronization point |
KFPL15225-E Rollback |
KFPL24510-E Detection of invalid data |
|||
a or p | s | Status | Data was stored through the row displayed in KFPL00800-I | Status of 3 or 4 | Status of 5 if KFPL15225-E has been displayed. If not, data was stored through the row displayed in KFPL24509-E. |
Recovery | Re-execute | Re-execute | If it is in the status of 5, re-execute. If some of the rows have been stored, specify the -r option and then re-execute. |
||
c | Status | Data was stored through the row displayed in KFPL00800-I | Status of 3 or 4 | Status of 5 if KFPL15225-E has been displayed. If not, data was stored through the row displayed in KFPL24509-E. |
|
Recovery | Re-execute | Re-execute | If it is in the status of 5, re-execute. If some of the rows have been stored, specify the -r option and then re-execute.# |
||
n | Status | Data was stored through the row displayed in KFPL00800-I | Status of 3 or 4 | Status of 5 if KFPL15225-E has been displayed. If not, data was stored through the row displayed in KFPL24509-E. |
|
Recovery | Re-execute | Re-execute | If it is in the status of 5, re-execute. If some of the rows have been stored, specify the -r option and then re-execute.# |
||
x | Status | Data was stored through the row displayed in KFPL00800-I | Status of 3 or 4 | Status of 5 if KFPL15225-E has been displayed. If not, data was stored through the row displayed in KFPL24509-E. |
|
Recovery | Re-execute | Re-execute | If it is in the status of 5, re-execute. If some of the rows have been stored, specify the -r option and then re-execute.# |
||
n | s | Status | N/A | Not guaranteed | Status of 5 if KFPL15225-E has been displayed. If not, data was stored through the row displayed in KFPL24509-E. |
Recovery | N/A | Re-execute after recovering database | If it is in the status of 5, re-execute. If some of the rows have been stored, specify the -r option and then re-execute.# |
||
c | Status | N/A | Not guaranteed | Status of 5 if KFPL15225-E has been displayed. If not, data was stored through the row displayed in KFPL24509-E. |
|
Recovery | N/A | Re-execute after recovering database | If it is in the status of 5, re-execute. If some of the rows have been stored, specify the -r option and then re-execute.# |
||
n | Status | N/A | Not guaranteed | Status of 5 if KFPL15225-E has been displayed. If not, data was stored through the row displayed in KFPL24509-E. |
|
Recovery | N/A | Re-execute after recovering database | If it is in the status of 5, re-execute. If some of the rows have been stored, specify the -r option and then re-execute.# |
||
x | Status | N/A | Not guaranteed | Status of 5 if KFPL15225-E has been displayed. If not, data was stored through the row displayed in KFPL24509-E. |
|
Recovery | N/A | Re-execute after recovering database | If it is in the status of 5, re-execute. If some of the rows have been stored, specify the -r option and then re-execute.# |
Table 5-61 Database status and recovery method (in the event of an error during data loading) (3/3)
Option | Classification | Message output immediately before error | |||
---|---|---|---|---|---|
-l | -i | 7. | 8. | 9. | |
KFPL00703-I Data loading completed |
KFPL00715-I Index creation started |
KFPL00716-I Index creation completed |
|||
a or p | s | Status | Creation of table and index completed | N/A | N/A |
Recovery | Unnecessary#1 | N/A | N/A | ||
c | Status | Table creation completed | Table creation completed | Creation of table and index completed | |
Recovery | Batch creation of index was executed by pdrorg -k ixmk | Batch creation of index was executed by pdrorg -k ixmk#2 | Unnecessary#1, #2 | ||
n | Status | Table creation completed | N/A | N/A | |
Recovery | Batch creation of index was executed by pdrorg -k ixmk#1 | N/A | N/A | ||
x | Status | Table creation completed | N/A | N/A | |
Recovery | Batch creation of index was executed by pdrorg -k ixmk#1 | N/A | N/A | ||
n | s | Status | Table creation completed | N/A | N/A |
Recovery | Batch creation of index was executed by pdrorg -k ixmk#1 | N/A | N/A | ||
c | Status | Table creation completed | Table creation completed | Creation of table and index completed | |
Recovery | Re-execute after recovering database#3 | Re-execute after recovering database#3 | Unnecessary#1 | ||
n | Status | Table creation completed | N/A | N/A | |
Recovery | Batch creation of index was executed by pdrorg -k ixmk#1 | N/A | N/A | ||
x | Status | Table creation completed | N/A | N/A | |
Recovery | Batch creation of index was executed by pdrorg -k ixmk#1 | N/A | N/A |
Table 5-62 Database status and recovery method (in the event of an error during data loading on LOB columns)
Control statement | -l option | Classification | Message output immediately before error | ||
---|---|---|---|---|---|
KFPL00707-I Data loading on LOB column started |
KFPL00708-I Data loading on LOB column completed |
||||
When executing data loading on both LOB column structure base table and LOB columns: source statement lobmid statement lobdata statement |
a or p | Status | USER | Creation of LOB column structure base table and index completed | Table creation completed |
ULOB | Null if the -d option is specified. Status before execution if the option is not specified. | Creation of LOB column created | |||
Recovery | USER | Unnecessary | Unnecessary | ||
ULOB | Data loaded only on LOB columns#2 | Unnecessary#2 | |||
n | Status | USER | No-log shutdown | Table creation completed | |
ULOB | Not guaranteed | Creation of LOB column created | |||
Recovery | USER | Re-execute after recovering database#1 | Unnecessary | ||
ULOB | Re-execute after recovering database#1 | Unnecessary | |||
When executing data loading only on LOB columns: lobmid statement lobdata statement |
a or p | Status | USER | N/A | N/A |
ULOB | Status before execution (-d option is ignored) | Creation of LOB column created | |||
Recovery | USER | N/A | N/A | ||
ULOB | Re-execute | Unnecessary | |||
n | Status | USER | N/A | N/A | |
ULOB | Not guaranteed | Creation of LOB column created | |||
Recovery | USER | N/A | N/A | ||
ULOB | Re-execute after recovering database | Unnecessary |
Table 5-63 Database status and recovery method (in the event of an input data error)
-e option | errdata operand in source statement | Classification | Error that does not require rollback (termination with return code 4) | Error that requires rollback (termination with return code 8) |
---|---|---|---|---|
Not specified | Not specified | Status | All rows have been stored in the database except those that were output to the error information file. | If -l n was not specified, the status before pdload was executed. If -l n was specified, there is no guarantee. |
Recovery | Create a file containing the applicable data in the input data file, correct them, then re-execute data loading. | If -l n was not specified, correct the input data and then re-execute data loading. If -l n was specified, recover the database, correct the input data, and then re-execute data loading. |
||
Specified | Status | All rows have been stored in the database except those that were output to the error information file. | If -l n was not specified, the status before pdload was executed. If -l n was specified, there is no guarantee. |
|
Recovery | Correct the data that was output to the error data file and then re-execute data loading. | If -l n was not specified, correct the input data and then re-execute data loading. If -l n was specified, recover the database, correct the input data, and then re-execute data loading. |
||
Specified | Not applicable | Status | Stored in the database up to the row displayed in KFPL24509-E. | If -l n was not specified, the status before pdload was executed. If -l n was specified, there is no guarantee. |
Recovery | Correct the row displayed in KFPL24509-E and then re-execute data loading with the -r option specified. | If -l n was not specified, correct the input data and then re-execute data loading. If -l n was specified, recover the database, correct the input data, and then re-execute data loading. |
All Rights Reserved. Copyright (C) 2011, 2015, Hitachi, Ltd.