Versions Compared

Key

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

...

Info

By default, the Query Monitor option is not enabled.

Image RemovedImage Added

The Query Monitor window allows you to enable or disable query monitoring using the Enable the Query Monitor check box.  You can also select the settings that are used:

Anchor
QueryStore
QueryStore
Query data using Query Store

Collect query data using Query Store for instances running SQL Server 2016 or higher.

Tip

SQL Diagnostic Manager does not change Query Store selections at this time. Try the

Newtab2
aliasIDERA Query Store Optimizer
urlhttps://www.idera.com/productssolutions/freetools/sql-query-store-optimizer
for more on Query Store improvements.

Anchor
querydatacollection
querydatacollection
Query data

...

using extended events

You can select to collect query data using Extended Events (Collect query data using extended events radio button) or SQL Trace (Collect query data using SQL Trace radio button).  For instances running SQL Server 2008 or higher, the Query Monitor feature uses by default Extended Events.   First introduced in SQL Server 2008, Extended Events provide provides a new mechanism to capture information about events inside the Database Engine and diagnose performance problems.  This functionality is highly efficient and lightweight. For more information about using Extended Events, see the Microsoft document,

Newtablink
aliasExtended Events
urlhttp://msdn.microsoft.com/en-us/library/bb630282.aspx
.

Note

To capture query data for monitored pre-SQL Server 2008 instances, enable the SQL Trace collection option. Enabling this option can degrade performance on your SQL Server.

Warning
titleSQL Trace and Query Execution Plans

Query Execution Plan capturing is not available if you choose SQL Trace for the Query Monitor.  Upon selecting the Collect query data using SQL Trace radio button, the Collect query data using extended events (SQL Server 2008 and up only) radio button is disabled.

...

...

Query Execution Plans display how the SQL Server Database Engine navigates tables and uses indexes to access or process the data for a query or other DML Statement. To analyze a slow-running query, you can examine the query execution plan and pinpoint the root of the problem.

To collect query execution plans, clickCollect query data using extended events (SQL Server 2008 and up only) in the Query Monitor window.  By default, this option enables the collection of estimated query plans only.  If you would like to collect actual query plans instead, select the Collect Actual Query Plans (SQL Server 2008 and up only) check box.

Note

For instances running SQL Server 2008 or higher, the Collect query data using extended events (SQL Server 2008 and up only) and the Collect Estimated Query Plans Only check boxes are enabled by default.

Warning

Enabling actual query execution plans collection can have a significant performance overhead, so IDERA recommends using this feature only when troubleshooting or monitoring specific problems for short periods of time. You can also use estimated query plans.

Anchor
captpoorlyperfqueries
captpoorlyperfqueries
Capturing poorly-performing queries

The types of poorly - performing queries to capture include:

...

You can also define specific poorly-performing thresholds such as duration, logical disk reads, CPU usage, and physical disk writes, and select up to 1000 plans defined by these thresholds.

Diagnosing specific performance issues

...

SQL Diagnostic Manager uses tracing to locate and flag worst-performing T-SQL. SQL Diagnostic Manager cannot display binary data in a readable format. If you captured capture DTS packages, you may see unreadable characters in the Command field of the Tree View. Capturing DTS data DTS data may also adversely affect the performance of the SQL Server SQL Server or Data Warehouse you are monitoring.

...

You can access the Query Monitor tab of the Monitored SQL Server Properties window by right-clicking the appropriate SQL Server instance, and then selecting Properties. Click Query Monitor when SQL Diagnostic Manager displays the Monitored SQL Server Properties window.

 


Legal
Scroll pdf ignore
Newtabfooter
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
SQL Diagnostic Manager identifies and resolves SQL Server performance problems before they happen. Learn more > >
IDERA WebsiteProductsPurchaseSupportCommunityAbout UsResources