Sybase Long Running Queries Test
This test tracks the currently executing queries on the Sybase database server and determines the number of queries that have been running for a long time. For execution, this test requires the enable monitoring, statement statistics active, and per object statistics active configuration parameters to be enabled.
Target of the test : A Sybase ASE server on which MDA tables have been installed
Agent deploying the test : An internal agent
Outputs of the test : One set of results for the Sybase ASE server being monitored.
Parameter | Description |
---|---|
Test Period |
How often should the test be executed. |
Host |
Refers to the IP address of the Sybase ASE server. |
Port |
The port number at which the Sybase server listens to. |
User |
To enable this test to connect to the Sybase server and collect the required metrics, it is enough if you configure the test with the name of a Sybase user who has the “mon_role”. However, for best results, it is recommended that you configure all Sybase tests with the credentials of a Sybase user who has the “mon_role”, “sa_role’, and “sybase_ts_role”. |
Password |
The password corresponding to the above user |
Confirm Password |
Confirm the password by retyping it here. |
Elapsed Time |
In this text box, specify the duration (in seconds) for which a query should have executed for it to be regarded as a long running query. The default value is 5. |
DDRowCount |
Specify the number of long running queries for which details will be available in the detailed diagnosis page. By default, this parameter is set to 5. This indicates that even if the total number of long running queries is, say 10, the detailed diagnosis of this test will provide information pertaining to only 5 queries by default. For information related to more number of queries, you should increase the DDRowCount. |
Detailed Diagnosis |
To make diagnosis more efficient and accurate, the eG Enterprise embeds an optional detailed diagnostic capability. With this capability, the eG agents can be configured to run detailed, more elaborate tests as and when specific problems are detected. To enable the detailed diagnosis capability of this test for a particular server, choose the On option. To disable the capability, click on the Off option. The option to selectively enable/disable the detailed diagnosis capability will be available only if the following conditions are fulfilled:
|
Measurement | Description | Measurement Unit | Interpretation |
---|---|---|---|
Number of queries |
Indicates the number of queries currently executing on the database server that have been running for more time than the configured Elapsed Time. |
Number |
The detailed diagnosis for this measure indicates the exact queries and which user is executing the queries. This information can be very useful in identifying queries that may be candidates for optimization. |
Avg elapsed time |
The average time taken by the long running queries to execute. |
Seconds |
|