Hitachi

Hitachi Advanced Database Setup and Operation Guide


10.10.2 Using the connection operation information

In the connection operation information, you can check the operational status of each connection made to the HADB server.

For example, if you want to change the value of an operand specified in the server definition, or if you want to change the execution method of an application, command, or SQL statement, you can use the connection operation information.

Organization of this subsection

(1) Outputting the connection operation information and acquiring related information

When you execute the adbstat command, the connection operation information is output. The output information displays differences from previously output information. Therefore, if you want to check the operational status of each connection made to the HADB server in a given time period, we recommend that you output the connection operation information on a regular basis while you are executing applications, commands, or SQL statements.

■ Outputting the connection operation information

See Checking the operational status of a specific application program in Examples under adbstat (Perform Statistical Analysis of the HADB Server) in the manual HADB Command Reference.

We also recommend that you acquire the following types of related information when you output the connection operation information:

(2) Using the connection operation information and related information

By acquiring the connection operation information and related information on a regular basis, you can check the operational status of each connection made to the HADB server. You can also use the acquired connection operation information and related information to perform tuning.

■ Using the connection operation information and related information

  1. Check the connection operation information.

    In the connection operation information that is output, check the following information:

    • Timestamp (the output date and time of the connection operation information)

    • AP_name (application identifier)

  2. Compare the Timestamp date and time with the server message log file.

    Compare the Timestamp date and time that you checked in step 1 with the output dates and times of the messages in the server message log file. By comparing the Timestamp date and time with the output dates and times of the messages, you can determine what type of processing the target connection was performing.

    Also, compare the AP_name information, which you checked in step 1, with the application identifier in message KFAA81000-I in the server message log file. By comparing the AP_name information with the application identifier, you can check the target application and command.

The following figure shows the concept of using the connection operation information and related information.

Figure 10‒9: Using the connection operation information and related information

[Figure]

You can also use the connection operation information and related information when you perform the following types of tuning: