Nonstop Database, HiRDB Version 9 System Operation Guide

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

13.1.1 Executing the database condition analysis utility on a regular basis

The database condition analysis utility (pddbst command) should be executed periodically in order to check the data storage efficiency.

Organization of this subsection
(1) Checking table storage efficiency
(2) Checking index storage efficiency
(3) Checking cluster key and clustering data page storage efficiency
(4) Checking data storage efficiency in RDAREAs
(5) Using HiRDB Control Manager to analyze database condition

(1) Checking table storage efficiency

To check the table storage efficiency, use one of the following methods:

The obtained information is used to determine whether the following procedures are needed:

Condition analysis by table cannot be applied to a table for which an abstract data type is defined. In such a case, condition analysis by RDAREA (physical analysis) must be used in order to check the table's data storage efficiency.

(2) Checking index storage efficiency

To check the index storage efficiency, use one of the following methods:

The obtained information is used to determine whether the following procedures are needed:

Note, however, that condition analysis by index does not obtain information on plug-in indexes.

(3) Checking cluster key and clustering data page storage efficiency

Cluster key and clustering data page storage efficiency are checked by executing the database condition analysis utility's cluster key and clustering data page storage condition analysis. The obtained information is used to determine whether the following procedures are necessary:

(4) Checking data storage efficiency in RDAREAs

To check the data storage efficiency in RDAREAs, use one of the following methods:

The obtained information is used to determine whether the following procedures are needed:

Other methods for checking RDAREA utilization status
  • The pddbls -a command can be used to check RDAREA utilization status.
  • The RDAREA utilization status that is output during backup processing by the database copy utility (pdcopy command) can also be used to check the RDAREA storage efficiency.

(5) Using HiRDB Control Manager to analyze database condition

HiRDB Control Manager's database condition analysis function enables you to visually check the database storage status. The following explains how to use this function:

  1. Start HiRDB Control Manager - Console.
    For details about how to start HiRDB Control Manager - Console, see F.1 Starting HiRDB Control Manager - Console.
  2. Register the HiRDB server that is to be subject to processing.
    Skip this step if the HiRDB server has already been registered. For details about the registration method, see F.2 Registering Management HiRDB.
  3. From the tab menu, select Data Maintenance and then Database Condition Analysis to display the Database Condition Analysis Utility window.
  4. Select the target to be checked in the Information type drop-down list:
    • To check table storage efficiency
      Select User table.
    • To check index storage efficiency
      Select User indexes.
    • To check RDAREA storage efficiency
      Select RDAREAs.
    When you click the Information type drop-down list, a list of target resources is displayed. From this list, select the resources (tables, indexes, or RDAREAs) that you want to check.
  5. Click the Condition analysis button.
    The results of condition analysis are displayed under Page usage status.
    You can use the buttons displayed in the upper part of the window to perform various operations, such as reorganizing tables and releasing free pages. For details about the page usage status trend and corrective measures, see HiRDB Control Manager Help.