22.6.2 Status of audit trail files

HiRDB manages audit trail files in several statuses, as shown and explained in Table 22-12 and Figure 22-6. The status of audit trail files can be checked with the pdls -d aud command.

Table 22-12 Audit trail file statuses

File statusExplanation
CurrentThis is the file to which the audit trail can be output currently. There is always one file in this status. Files other than the current file are considered to be on standby.
Data load completedThis is a file from which data loading to the audit trail table has been completed. Such a file can be used as the swap target when audit trail file swapping occurs.
Data load waitingThis is a file from which data loading to the audit trail table has not been completed. Such a file cannot be used as the swap target when for audit trail file swapping. However, depending on the value of the pd_aud_no_standby_file_opr operand, it may be possible to use a file in this status as the swap target.
ShutdownThis is an audit trail file that cannot be used due to an error during audit trail I/O or with the audit trail file header. Files in this status cannot be used as an audit trail file swap target. Files that are not shut down are called normal files.

Figure 22-6 Audit trail file statuses

[Figure]