Scalable Database Server, HiRDB Version 8 Command Reference
This section describes the processing results of pdconstck.
The pdconstck processing results include the processing results of integrity checking and information about the check pending status. The following is an example of the pdconstck processing results:
[1] [2] [3]
pdconstck VV-RR *** DB VALIDATION CHECK *** yyyy-mm-dd hh:mm:ss
processing-results-of-integrity-checking [4]
information-about-check-pending-status [5]
pdconstck TERMINATED, RETURN CODE=0[6]
The execution results of the integrity check facility are output by pdconstck as the integrity checking processing results. This information is output when -k check is specified.
The following shows an output example of the processing results of integrity checking:
** DB VALIDATION CHECK INFORMATION ** processing-results-of-integrity-checking-on-referential-constraints [1] processing-results-of-integrity-checking-on-check-constraints [2]
The processing results of integrity checking on referential constraints are output in alphanumeric order of the constraint names when the -t option is specified and referential constraints have been defined for the table, or when the name of a referential constraint is specified in the -c option.
The following shows an output example of the processing results of integrity checking on a referential constraint:
** REFERENTIAL CONSTRAINT INFORMATION **
CONSTRAINT = SCHEMA1.CONST1 [1]
REFERENCED TABLE = SCHEMA1.P1 [2]
REFERENCING TABLE = SCHEMA1.F1 [3]
[5] [6]
[4] - NO. FOREIGN KEY COLUMN NAME
| ---- ------------------------------
| 1 COL1
- 2 COL2
execution-results [7]
NO ERROR FOREIGN KEY [1]
[2] [3]
[1] - NO. ERROR FOREIGN KEY
|----- -----------------
| 1 1234567890
| Taylor
| 2 777
- Young
PROCESSING DISCONTINUED [4]
EXIST ERROR FOREIGN KEY [5]
The processing results of integrity checking on check constraints is output when the -t option is specified and check constraints have been defined for the table, or when the name of a check constraint is specified in the -c option.
The following shows an output example of the processing results of integrity checking on a check constraint:
** CHECK CONSTRAINT INFORMATION **
CONSTRAINT = SCHEMA1.CONST2 [1]
TABLE = SCHEMA1.TABLE1 [2]
[4] [5]
[3] - NO. CHECK KEY COLUMN NAME
| ---- ------------------------------
| 1 COL1
- 2 COL2
execution-results [6]
NO ERROR CHECK KEY [1]
[2] [3]
[1] - NO. ERROR CHECK KEY
|----- -----------------
| 1 1234567890
| Taylor
| 2 777
- Young
PROCESSING DISCONTINUED [4]
EXIST ERROR CHECK KEY [5]
Regardless of the -k option's value, the check pending statuses of the table and check constraints are output. An output example of check pending status information is shown below. Note that the check pending status of each RDAREA is not output. For the check pending status of each RDAREA, check pddbst's status analysis by RDAREA (logical analysis) or status analysis by table.
** CHECK PENDING STATUS INFORMATION **
[2] [3]
TABLE CONSTRAINT TYPE PENDING STATUS
--------------------------------------- --------------- ---------------
SCHEMA1.T5 [1]
REFERENCE PENDING
CHECK RELEASE
[2] [3]
CONSTRAINT CONSTRAINT TYPE PENDING STATUS
--------------------------------------- --------------- ---------------
SCHEMA1.CONST1 [4] REFERENCE PENDING
SCHEMA2.CONST2 [4] CHECK RELEASE
All Rights Reserved. Copyright (C) 2007, Hitachi, Ltd.