Nonstop Database, HiRDB Version 9 System Operation Guide

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

22.1.2 Preparing for collecting tuning information

Executor: HiRDB administrator

To collect tuning information, it is necessary to collect the statistical information (statistics log) output by HiRDB. The statistics log is output to a statistics log file. The HiRDB administrator must determine an appropriate size for this file.

Organization of this subsection
(1) Creating the statistics log files
(2) Handling the statistics log file

(1) Creating the statistics log files

There are two statistics log files, named pdstj1 and pdstj2, under the $PDDIR/spool directory. HiRDB creates these statistics log files automatically. The HiRDB administrator must specify the size of the statistics log file in the pd_stj_file_size operand. The following points should be noted about determining this file size:

Y: Statistics log information that is collected

--: Statistics log information that is not collected

Note
  • The CONNECT/DISCONNECT statistical information collected by the pdhibegin operand is output to the system log file, not to the statistics log file; for details, see 22.2 Collecting tuning information from the system log.
  • In the case of a utility special unit, only system activity statistical information can be collected.

#: Information on index page splits is not collected as part of the statistics log. For information on how to collect this information, see 22.2 Collecting tuning information from the system log.

(2) Handling the statistics log file

When a statistics log file becomes full during output of statistics log information, HiRDB switches outputs of the information to the other statistics log file. This is called statistics log file swapping. When statistics log file swapping occurs, new information is written over any existing statistics log information in the swapped-in file. For this reason, as soon as a statistics log file is swapped out, the HiRDB administrator should unload it and create an unload statistics log file. The following figure shows the procedure for swapping the statistics log files.

Figure 22-1 Swapping of statistics log files

[Figure]