Query History allows you to track the performance of a query over time. To access the Query History view, select the query you want to see on the query statement mode or signature mode view in the graph. You can also access the Query History view by right-clicking a session on the Session Details view or a Statement on the Query Waits view and selecting Show Query History.  

Access the Query History view

You can open the Query History view of the SQL Diagnostic Manager Queries tab by selecting the appropriate SQL Server instance, and then clicking Queries > Query History

View Query History

  1. Use the drop-down menu on each chart to view the history of each of the metrics associated with the query.
  2. Click View SQL Text to see the associated query text.
  3. Click Keep Detailed History and SQL Diagnostic Manager keeps a detailed history of the query going forward.
  4. Click Aggregate History to keep an aggregated history for the selected query.

Use Query filters to narrow the results to only those that most interest you. Do this by selecting the data and time range, the application, user, database, workstation and even the SQL text you want to include or exclude from your results.

Event Occurrences is a list of each occurrence of the query and the associated statistics, such as the duration, CPU time, reads, writes, and associated SQL text. Click the Maximize window icon to view a larger version of this list.

If Query Monitor is disabled but Activity Monitor is enabled, SQL statements appearing in the Event Occurrences grid come from the Blocking Session collector. The collector only populates the following fields: Occurrence, SQL text, Event Type, and Deadlocks.

Sigma (Σ) character

The Sigma character indicates that the data in this row is aggregated. This means that the data is condensed into a day-length summary and some precision about the individual statements, client computers, and users is suppressed.

Understanding cell colors

Red in the column indicates that the data in that row represents 20 percent or more of the total data displayed in the list, while yellow indicates that the data in the row represents five percent or more of the total data displayed in the list.


SQL Diagnostic Manager identifies and resolves SQL Server performance problems before they happen. Learn more > >
IDERA WebsiteProductsPurchaseSupportCommunityAbout UsResources Legal