SQL Long Running Queries Test
This test reports the time taken by each database for executing queries, and also reveals which query is taking too long to execute. This way, resource-intensive queries to a database can be quickly isolated.
One set of results for each database on the Microsoft SQL server monitored
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 database on the Microsoft SQL server monitored
Note:
This test will execute only on Microsoft SQL Server 2005 (or above).
|
Measurement | Description | Measurement Unit | Interpretation |
---|---|---|---|
Avg elapsed time: |
Indicates the average time taken by queries to execute on this database. |
Secs |
If the value of this measure is very high, it could either indicate that the database is unable to process the queries quickly or that one/more queries to the database are taking too long to execute. Improper indexing and fragmented tables in the database are common causes for slowdowns at the database-level. Besides the above, queries that are improperly structured can also take time to execute. The longer a query executes on the database, higher would be the resource consumption of that query. It is therefore imperative that such resource-intensive queries are quickly isolated and fine-tuned, so as to prevent degradations in the performance of the database server. Using the detailed diagnosis of this measure, you can rapidly identify the resource-intensive queries to the database. |
Max elapsed time: |
Indicates the maximum time taken by the queries to this database. |
Secs |
|