The pdcspool command deletes the following files created by HiRDB:
HiRDB administrator
pdcspool [-i] [-d days] [-k type] |
Specifies that when a file storing troubleshooting information is to be deleted, a prompt is to be returned to the standard output device requesting confirmation that the file is to be deleted (in the case of temporary work files, the option does not return a prompt). Responding with a y to the prompt causes the file to be deleted. The default is to delete the file without generating a prompt, in which case the name of the deleted file is output to the standard output device.
This option makes files that were created 24 hours specified number of days from the time the pdcspool command was executed subject to deletion. If 10 is specified, all files created 240 or more hours before are subject to deletion.
If 0 is specified, all troubleshooting information in the spool and all temporary work files in the temporary work file storage directory are subject to deletion. Note that even when 0 is specified, the files listed below are not deleted if their last update time is within 3,600 seconds of the command's start time. If any files remain, re-execute the command after 3,600 seconds.
If all parameters are omitted, the troubleshooting information in the spool and the temporary work files in the temporary work file storage directory that were created 24 or more hours before are subject to deletion.
If you execute periodically commands that take a long time to execute, such as pdcopy and pdrstr, specify a value that provides sufficient time for the commands to be completed.
This option specifies the range of troubleshooting information to be deleted.
If this option is omitted, the command deletes all troubleshooting information except for the access path information.
Directory | Description of output file | -k option | Remarks | |||
---|---|---|---|---|---|---|
High-order directory | Low-order directory | all | dump | Omitted | ||
$PDDIR/tmp (temporary work files storage directory) | -- | Temporary work file | Y | Y | Y | If 0 is specified in the -d option, this command deletes the files whose last update time was at least 3,600 seconds before the command started. |
Directory specified in the pd_tmp_directory operand in the unit control information definition | -- | Temporary work file | Y | Y | Y | |
$PDDIR/spool (troubleshooting information) | pdsqldump | Access path information | Y | N | N | This is output when 1 or a greater value is specified in the PDVWOPTMODE client environment definition and then an SQL statement is executed. |
pdlckinf | Deadlock/timeout information | Y | N | Y | This is output when an error occurs during lock control. | |
save | Save core file | Y | Y | Y | This is output upon abnormal termination of a process. | |
pdshmdump | Shared memory dump file | Y | Y | Y | This is output upon abnormal termination of a process or a unit. | |
pdsysdump(1,2) | Quick dump file | Y | Y | Y | None. | |
pdsdsdump(1,2) | Y | Y | Y | This is output in a HiRDB single server configuration. | ||
pdfesdump(1,2) pddicdump(1,2) pdbesdump(1,2) | Y | Y | Y | This is output in a HiRDB parallel server configuration. | ||
pdjnlinf | System log file status information file | Y | N | Y | Only files beginning with pdsnap. are deleted. | |
pdtrninf | Recovered transaction information file | Y | N | Y | This is output only when Real Time SAN Replication is used. |
High-order directory | Name of directory or file that is not deleted | Description of output file |
---|---|---|
$PDDIR/spool (troubleshooting information) | Pipe file | All pipe files (any file name) |
$PDDIR/tmp (temporary work files storage directory) | Pipe file | All pipe files (any file name) |
home | Current working directory of a process where HiRDB runs | |
pdommenv | Shared memory information file | |
File whose name begins with CMb | Differential information file for the pdbufls command | |
Directory specified in the pd_tmp_directory operand in the unit control information definition# | Pipe file | All pipe files (any file name) |
home | Current working directory of a process where HiRDB runs | |
pdommenv | Shared memory information file | |
File whose name begins with CMb | Differential information file for the pdbufls command |