Skip to content

Latest commit

 

History

History
85 lines (67 loc) · 6.7 KB

performance-dashboard.md

File metadata and controls

85 lines (67 loc) · 6.7 KB
title description author ms.author ms.reviewer ms.date ms.service ms.subservice ms.topic helpviewer_keywords
Performance Dashboard
Learn about SQL Server Management Studio Performance Dashboard, which provides fast insight into SQL Server and Azure SQL Managed Instance.
rwestMSFT
randolphwest
wiassaf
11/13/2020
sql
performance
conceptual
performance dashboard [SQL Server]
performance dashboard reports
perf dashboard

Performance Dashboard

[!INCLUDE SQL Server SQL MI]

[!INCLUDEssManStudioFull] version 17.2 and later includes the Performance Dashboard. This dashboard was designed to visually provide fast insight into the performance state of [!INCLUDEssNoVersion] (Starting with [!INCLUDEsql2008-md]) and [!INCLUDE ssazure-sqldb] Managed Instance.

The Performance Dashboard helps to quickly identify whether [!INCLUDEssNoVersion] or [!INCLUDE ssazure-sqldb] is experiencing a performance bottleneck. And if a bottleneck is found, easily capture additional diagnostic data that may be necessary to resolve the problem. Some common performance problems which the Performance Dashboard can help identify include:

  • CPU bottlenecks (and what queries are consuming the most CPU)
  • I/O bottlenecks (and what queries are performing the most I/O)
  • Index recommendations generated by the Query Optimizer (missing indexes)
  • Blocking
  • Resource contention (including latch contention)

The Performance Dashboard also helps to identify expensive queries that may have been executed before, and several metrics are available to define high cost: CPU, Logical Writes, Logical Reads, Duration, Physical Reads, and CLR Time.

The Performance dashboard is divided into the following sections and sub-reports:

  • System CPU Utilization
  • Current Waiting Requests
  • Current Activity
    • User Requests
    • User Sessions
    • Cache Hit Ratio
  • Historical Information
    • Waits
    • Latches
    • I/O Statistics
    • Expensive Queries
  • Miscellaneous Information
    • Active Traces
    • Active XEvent Sessions
    • Databases
    • Missing Indexes

Note

Internally, the Performance Dashboard uses Execution, Index, and I/O related Dynamic Management Views (DMVs) and Functions (DMFs).

To view the Performance Dashboard

To view the Performance Dashboard, right-click on the [!INCLUDEssNoVersion] instance name in Object Explorer, select Reports, Standard Reports, and click on Performance Dashboard.

Performance Dashboard in menu

The Performance Dashboard will appear as a new tab. Below is an example where a CPU bottleneck is clearly present:

Performance Dashboard main screen

Remarks

The Missing Indexes report shows potentially missing indexes that the Query Optimizer identified during query compilation. However, these recommendations should not be taken at face value. Microsoft recommends that indexes with a score greater than 100,000 should be evaluated for creation, as those have the highest anticipated improvement for user queries.

Tip

Always evaluate if a new index suggestion is comparable to an existing index in the same table, where the same practical results can be achieved simply by changing an existing index instead of creating a new index. For example, given a new suggested index on columns C1, C2 and C3, first evaluate if there is an existing index over columns C1 and C2. If so, then it may be preferable to simply add column C3 to the existing index (preserving the order of pre-existing columns) to avoid creating a new index. For more information, see the Index Architecture and Design Guide.

The Waits report filters out all idle and sleep waits. For more information about waits, see sys.dm_os_wait_stats (Transact-SQL) and SQL Server 2005 Performance Tuning Using Waits and Queues.

The Expensive Queries reports are reset when [!INCLUDEssNoVersion] restarts because the data in the underlying DMVs is cleared. Starting with [!INCLUDEsssql16-md], detailed information about expensive queries can be found in the Query Store.

Note

The Performance Dashboard was first released as a standalone download for SQL Server 2005, and later updated for SQL Server 2012. While the SQL Server Management Studio report renderer does not support clipboard access to text contained in the reports, the text can be accessed via the standalone reports. Download the standlone reports if you need to copy query text from the reports.

Permissions

On [!INCLUDEssNoVersion], requires VIEW SERVER STATE and ALTER TRACE permissions. On [!INCLUDE ssazure-sqldb], requires the VIEW DATABASE STATE permission in the database.

See Also

Monitor and Tune for Performance
Performance Monitoring and Tuning Tools
Open Activity Monitor (SQL Server Management Studio)
Activity Monitor
Monitoring Performance By Using the Query Store