Hitachi

Hitachi Advanced Database Setup and Operation Guide


6.3.21 Determining the memory requirement for executing the adbaudittrail command

When the adbaudittrail command is executed, the HADB server uses the types of memory described in this subsection. Determine the requirement for each type of memory.

▪ Shared memory
  • Process common memory (PROC_AUDTRAILSZ)

  • Real thread private memory (RTHD_AUDTRAILSZ)

The following subsections describe the formulas for determining the required amounts of these types of memory.

Organization of this subsection

(1) Determining the process common memory requirement (for executing the adbaudittrail command)

Use the following formula to determine the process common memory (PROC_AUDTRAILSZ) required for executing the adbaudittrail command.

Formula (kilobytes)

PROC_AUDTRAILSZ = AUDINF + AUDTBLDEFSZ 

Explanation of variables

AUDINF

Audit trail management information

Determine the value according to (r) Determining the variable AUDINF in (3) Determining the process common memory requirement (for starting the HADB server) under 6.3.3 Determining the memory requirement for starting the HADB server.

The memory determined for the AUDINF variable is reserved when the audit trail facility is enabled, and released when the facility is disabled.

AUDTBLDEFSZ

Management information for audit target definitions

Add this value only when executing the adbaudittrail command with the --start option specified. When specifying an option other than --start, you do not need to add the AUDTBLDEFSZ value.

Substitute the following value.

Value (kilobytes)

AUDTBLDEFSZ = 4

(2) Determining the real thread private memory requirement (for executing the adbaudittrail command)

Use the following formula to determine the real thread private memory (RTHD_AUDTRAILSZ) required for executing the adbaudittrail command.

Formula (kilobytes)

RTHD_AUDTRAILSZ = AUDTHDINF  + AUDTBLACCSZ

Explanation of variables

AUDTHDINF

Determine the value according to the description of the variable AUDTHDINF in (4) Determining the real thread private memory requirement (for starting the HADB server) under 6.3.3 Determining the memory requirement for starting the HADB server.

The memory determined for the AUDTHDINF variable is reserved when the audit trail facility is enabled, and released when the facility is disabled.

AUDTBLACCSZ

Operation information for audit target definitions

Add this value only when executing the adbaudittrail command with the --start option specified. When specifying an option other than --start, you do not need to add the AUDTBLACCSZ value.

Substitute the following value.

Value (kilobytes)

AUDTBLACCSZ = 1