Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

The Statement Mode view includes queries that are presented exactly as they are collected by the Query Monitor Trace.

 Image Added 

Tip

If queries appear on the Query Monitor views that you never want to appear, click Configure Query Monitor > Advanced andenter the applications, databases, or SQL text SQL text you want to exclude from the Query Monitor collection.

The Statement Mode view is where you go to drill - down into a specific execution of a particular query. Whereas the signature mode view provides a filtered look at your queries, the Statement Mode view provides all the detail details you may need to diagnose a specific problem with a query. Once you find the problem query, History mode allows you to track the query over time and view trends.

The primary focus of the Statement Mode view is in the charts. The chart type drop-down allows you to pick a chart type to display, while the chart category drop-down allows you to choose to view the data by SQL Text, Application, Database, User, or Host. Click a query in a chart to open up the query history for that query.displayed as follows:

  • Filter - Use Query filters to narrow the results to only those that most interest you. Do this by selecting the

...

  • Date Range - Being and End, Application, User, Database, Client, and the SQL Text you want to include or exclude from your results.

...

  • Charts - The primary focus of the Statement Mode view is in the charts. The charts type drop-down allows you to pick a chart type to display: Average Duration, Average CPU, Average Reads, Average Writes, Average Waits, Deadlocks, Blocking, CPU Per Second, and I/O Per Second. Also, you can choose to view the type of charts by the following categories: By SQL Text, By Application, By Database, By User, and By Client.
  • Event Occurrences - It lists each occurrence of the query and

...

  • associated statistics, such as the

...

  • Event Type, CPU Time (ms), Reads, Writes, SQL Text, User, Application, Duration (ms), Database, Avg. CPU Time (ms), Avg. Writes, Avg. I/O per sec, Wait Time (ms), Avg. CPU Per Sec, Avg. Reads, Start Time, End Time, Blocking Time (ms), Deadlocks, Client, and Speed.

In the Event Occurrences, each listed query has the option to view the Query Details, clickImage Addedto open the Query Details window (if the iconImage Addedis not colored, it means that there is no plan collected).

Info
title

...

Tip

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: Query, SQL text, Event Type, and Deadlocks.

Info

The Include incomplete queries filter in the Statement Mode view is disabled by default.  If you would like to include data with null values in this view, select this check box in the Filters section of the main query view.

Access the Statement Mode view

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

In the Statement Mode view you can run a query diagnosis and receive a list of performance recommendations.
Tip
titleQuery Diagnosis
Sigma (Σ) character

The Sigma character indicates that the data in this row is at least partially composed of aggregated data. 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. Rows

...

in this view with the Sigma character may include a mix of aggregated and non-aggregated data.

...

Note

In the Signature Mode view, right-click any of the listed queries under the Event Occurrences list and click Show Query Text to open the SQL Text window (In this window run a Query Diagnosis and receive a list of performance recommendations).

Tip
titleUnderstanding cell colors

Red in the column indicates that the data in that row represents

...

20% or more of the total data displayed in the list, while yellow indicates that the data in the row represents

...

5% or more of the total data displayed in the list.



Scroll pdf ignore
Newtabfooter

 

SQL  Diagnostic Manager identifies and resolves SQL Server performance problems before they happen. Learn more > >
aliasIDERA
urlhttp://www.idera.com
Newtabfooter
aliasProducts
urlhttps://www.idera.com/productssolutions/sqlserver
Newtabfooter
aliasPurchase
urlhttps://www.idera.com/buynow/onlinestore
|
Newtabfooter
aliasSupport
urlhttps://idera.secure.force.com/
|
Newtabfooter
aliasCommunity
urlhttp://community.idera.com
|
Newtabfooter
aliasResources
urlhttp://www.idera.com/resourcecentral
|
Newtabfooter
aliasAbout Us
urlhttp://www.idera.com/about/aboutus
|
Newtabfooter
aliasLegal
urlhttps://www.idera.com/legal/termsofuse

...