Db2 Activity Test
This test measures the level of SQL activity on the DB2 database server, and reveals how well the server processes SQL queries.
Target of the test : A DB2 database server
Agent deploying the test : An internal agent
Outputs of the test : One set of results for every database on the DB2 database server that is currently active
| Parameter | Description |
|---|---|
|
Test period |
How often should the test be executed |
|
Host |
The IP address of the DB2 server |
|
Port |
|
|
User |
Specify the name of the user who is authorized to access the target database server and collect the required metrics in this text box. You can create a separate user on the OS hosting the DB2 server for this purpose. The steps for the same are detailed in the Creating a Special User for Monitoring DB2 Server |
|
Password |
Enter the password of the specified USER in the PASSWORD text box. |
|
Confirm Password |
Confirm the Password by retyping it in the Confirm Password text box. |
|
Database |
Specify the name of the database on the monitored DB2 server to be used by this test. |
|
Include DB |
Specify a comma-separated list of databases that you wish to monitor in the Include DB text box. |
|
Exclude DB |
Specify a comma-separated list of databases that need to be excluded from monitoring in the Exclude DB text box. |
|
SSL |
If the target database server is SSL-enabled, then set the SSL flag to Yes. If not, then set the SSL flag to No. |
|
Trust Store File Name |
This parameter is applicable only if the target DB2 UDB database is SSL-enabled, if not, set this parameter to none. Specify the file name of the client-side SSL truststore that contains the server certificate required for establishing an SSL connection. The truststore is used to verify the identity of the server and enable a secure communication channel. By default, the truststore file should be placed in:<EG_INSTALL_DIR>/jre/lib/security/mytruststore.jks Here, mytruststore.jks is the Truststore file name. You may change this to any valid file name. By default, none is specified against this text box. |
|
Trust Store Password |
This parameter is applicable only if the target DB2 UDB database is SSL-enabled, if not, set this parameter to none. If a Truststore File name is provided, then, in this text box, provide the password that is used to obtain the associated certificate details from the Truststore File. By default, this parameter is set to none. |
|
Confirm Password |
Confirm the Password by retyping it in the Confirm Password text box. |
| Measurement | Description | Measurement Unit | Interpretation |
|---|---|---|---|
|
Dynamic SQL Rate: |
Indicates the rate of dynamic SQL statements that were attempted. |
Stmts/Sec |
This is an indication of throughput of the system during the monitoring period. A high value of dynamic SQLs and low value of failed SQLs indicate good throughput. |
|
Select SQL Rate: |
Indicates the rate at which SELECT SQL statements were executed during the last measurement period. |
Stmts/Sec |
This measure can be used to determine the level of database activity. |
|
UID SQL Rate: |
Indicates the rate at which update/delete/insert statements were issued during the last measurement period. |
Stmts/Sec |
This measure can be used to determine the level of database activity. |
|
Failed SQL Rate: |
Indicates the rate at which SQL statements failed. |
Stmts/Sec |
A relatively high value indicates a problem. Failed SQL statements waste system resources. Hence, the value of this measure should be very low. |
|
Percent Failed SQL: |
Indicates the percentage of SQL statements that failed during the interval. This value includes all SQL statements that received a negative SQLCODE |
Percent |
|
|
Percent DDL SQL: |
Denotes the percentage of SQL statements that were DDL(Data Definition Language) during the last measurement period. |
Percent |
This value should normally be low. |
|
Percent UID SQL: |
Indicates the percentage of update/insert/delete statements executed during the last measurement period. |
Percent |
This measure can be used to determine the level of database activity. |