Nonstop Database, HiRDB Version 9 System Operation Guide

[Contents][Index][Back][Next]

24.16 Notes on version upgrading

This section provides notes about version upgrading when the security audit facility is used. For details about version upgrading, see the HiRDB Version 9 Installation and Design Guide.

Organization of this section
(1) When the audit trail format for audit trail files is changed
(2) When the column structure of the audit trail table is changed
(3) When the number of audit trail events increases
(4) Notes on version-upgrading failure
(5) Backing up the RDAREAs that store an audit trail table

(1) When the audit trail format for audit trail files is changed

If version upgrading changes the audit trail format for audit trail files, take the following action before version upgrading:

(2) When the column structure of the audit trail table is changed

Version upgrading might add columns to the audit trail table. The column structure of the audit trail table can be changed by HiRDB by executing the pdvrup command. If data already exists in the audit trail table, NULL values are set in the added columns.

Furthermore, adding columns might cause the length of the lines in the audit trail table to exceed the RDAREA page size. Because this causes audit trail table search performance to decline, we recommend that you estimate the length of the lines in the audit trail table and increase the page size of the RDAREA that stores the audit trail table. For details about page size design, see 24.4.3(2)(a) Estimating the size of the RDAREA to store the audit trail table in the HiRDB Version 9 Installation and Design Guide.

(3) When the number of audit trail events increases

If version upgrading increases the number of audit trail events, the volume of audit trail output might increase. Therefore, before performing a version upgrade, re-estimate the size required on the disk that stores audit trail files.

This is applicable when audit trails are to be output for all events (CREATE AUDIT FOR ANY is specified). In such a case, if version upgrading increases the number of new events (such as utility manipulation events), audit trails are also collected for the utility manipulation events.

If you do not wish to collect an audit trail for a newly added audited event, do not use CREATE AUDIT FOR ANY when defining audit trail collection. Instead, define individual audit trails (CREATE AUDIT FOR SESSION, CREATE AUDIT FOR PRIVILEGE, ...).

(4) Notes on version-upgrading failure

Execute the pdload command only after version upgrading succeeds. If this command is executed before version upgrading succeeds, the following problems might arise:

(5) Backing up the RDAREAs that store an audit trail table

Before version upgrading, make a backup of the RDAREAs that store an audit trail table. If version upgrading fails and you need to revert to the earlier version, restore the RDAREAs that store the audit trail table from the backup.

If no backup was made, use DROP TABLE to delete the audit trail table, then use the pdmod command to re-create the audit trail table. In this case, the data stored in the audit trail table is deleted.