Hitachi

Hitachi Advanced Database Setup and Operation Guide


2.18.8 Preparing the disks used by the audit trail facility

Depending on the number of audit target events that occur, an extremely large number of audit trails might be output. This can result in a large number of I/O operations with respect to the disk to which the audit trails are output, potentially affecting the processing performance of the HADB server. For this reason, we recommend that you prepare a disk (audit trail output disk) to serve as a dedicated output destination for audit trail information. We also recommend that you prepare additional disks for storing audit trail files (an audit trail storage disk and an audit trail long-term storage disk). We recommend that you have these three disks in place when using the audit trail facility. The purpose of each disk is as follows.

The following figure shows a recommended approach to operating the audit trail facility.

Figure 2‒66: Flow of recommended audit trail facility operation

[Figure]

In the preceding figure, because the audit trail files stored on the audit trail long-term storage disk are accessed infrequently, we recommend that you compress them using the gzip command provided by the OS. Consider the size of the disk when deciding whether to compress the files. Because the audit trail files stored on the audit trail storage disk are referenced during auditing, we recommend that these files are stored uncompressed.

Important

A SELECT statement with the ADB_AUDITREAD function specified can reference audit trail information even if the audit trail file that contains the information is compressed.