The Top Queries report lets you compile a list of queries based on call frequency, duration of execution, CPU usage, and the number of reads and writes performed on the databases hosted by the specified SQL Server instance. You can define minimum thresholds for each of these performance metrics and then see which queries match or exceed the selected values. This report requires that you enabled Query Monitoring in the SQL Diagnostic Manager Console and have collected sufficient query data for the specified time period.
When viewing results, note that you can click the SQL statement to view the, which provides details on an individual SQL statement or signature as collected by the Query Monitor.
This report displays the Statements by Top Queries By Frequency, Top Query by Avg. Duration, Top Queries By CPU, Top Queries By Reads, and Top Queries By Writes.
When to run this report
You should run the Top Queries report on a routine basis, such as every week, to proactively identify potential performance issues that may be caused by queries. You can also use this report to track historic performance trends and determine the relationship between query usage and your database performance.
How SQL Diagnostic Manager calculates metric values on this report
Most values on the Top Queries report correlate with the related SQL Server metric. However, some metric values represent averages over time. Likewise, a few metric values are based on performance algorithms that use multiple statistics to calculate a more accurate metric.
You can access our Customer Support Portal for more information about the algorithm used to calculate a specific metric.
- How is the Worst Performing and Most Frequent Queries information gathered? - Solution #00000412
- How does SQL Diagnostic Manager gather statistics from monitored SQL Servers? - Solution #00000055
- How does SQL Diagnostic Manager calculate the reorganization percentage for database tables? - Solution #00000301
- What does the 'Memory Usage' metric in the Console and Reports represent? - Solution #00002237