pdstjswap (Swap statistics log files)

Function

The pdstjswap command swaps statistics log files and restores the management information on the statistics log file that has resulted in an error.

Executor

HiRDB administrator

Format

HiRDB/Single Server

pdstjswap [{-x host-name|-u unit-identifier}]

HiRDB/Parallel Server

pdstjswap {-x host-name|-u unit-identifier}

Options

Specifies the host name of the unit that contains the statistics log files.

Specifies the identifier of the unit that contains the statistics log files.

Rules

  1. You can execute the pdstjswap command only when HiRDB is active.
  2. Execute the pdstjswap command at the server machine containing the single server or the server machine where the system manager is located.

Note

  1. The following are the pdstjswap command's return codes:
    0: Normal termination
    8: Abnormal termination (such as an invalid option or rsh error)
  2. If you execute the pdstjswap command, the immediately preceding generation of the statistics log file is overwritten. If you need this statistics log file, back it up before executing the pdstjswap command.