SQL Query Wait Activity Test
This test monitors the wait types on the Microsoft SQL server, and reports the number and duration of waits of each type.
This test has been disabled by default for this layer. To enable this test, go to the enable / disable tests page using the menu sequence : Agents -> Tests -> Enable/Disable, pick Microsoft SQL as the Component type, Performance as the Test type, choose this test from the disabled tests list, and click on the << button to move the test to the ENABLED TESTS list. Finally, click the Update button.
Note:
This test is applicable only to Microsoft SQL Server 2005 (and above).
Target of the test : A Microsoft SQL server
Agent deploying the test : An internal agent
Outputs of the test : One set of results for each wait type on the Microsoft SQL server instance being monitored
|
Measurement | Description | Measurement Unit | Interpretation |
---|---|---|---|
Number of waits: |
Indicates the total number of waits for this wait type. |
Number |
The detailed diagnosis of this measure provides the query that caused the waits; you may want to fine-tune the queries to reduce the number of waits. |
Avg wait time: |
Indicates the average wait time for this wait type. |
Seconds |
Ideally, the value for this measure should be low. If the value for this measure is high, use the detailed diagnosis of the Num of waits measure to identify the queries that are causing the waits to remain for a long time. You may want to fine-tune the queries to reduce wait time. |
Max wait time: |
Indicates the maximum wait time for this wait type. |
Seconds |
Comparing the value of this measure across wait types will enable you to accurately isolate the wait type that is responsible for the longest waits. |