The performance diagnostics feature isn't available for servers running Microsoft SQL Server 2000.

Performance diagnostics help you investigate low-level problems with your instances and databases that may be affecting performance: 

The performance diagnostics feature is available on the Instance overview and Database overview pages. You can use it to:

Changing the time period

By default, the Top 10 waits and Top 10 queries tables show data for the previous 15 minutes. To change the time period, select an option from the drop-down menu: 

You can also display data from a previous time period of your choice using the Back in Time control. For more details, see Rewinding time with Back in Time mode.

The time period selected for performance diagnostics data will also apply to the Back in Time setting. For example, if you 'rewind time' by one week and then select 3 days from the drop-down, you'll be looking at data collected between seven and ten days ago. 

If data isn't available for the selected time period, it may have already been purged from the Data Repository. See Why is data missing?

Analyzing waits

The Top 10 waits table shows the waits that had the most significant impact on SQL Server for the selected time period. The data is read from the SQL Server DMV sys.dm_os_wait_stats and is updated automatically every 60 seconds.


The table shows:

To update the table manually, click on a column header containing numeric data. This generates a new table of queries based on that column; it doesn't just change the sort order of the waits you can see currently.

When you select a wait type:

Viewing affected queries

Click on a wait type to show a list of the 10 queries most affected by the selected wait:

The table contents is almost identical to the Top 10 queries table; the only thing missing is the Database column. For more details, see Understanding the queries table.

Click on a query to show the query statement, the latest query plan handle, and a list of other waits that had the greatest impact on the query during execution. See Viewing query details.

Viewing wait documentation

Click on a wait type to show a detailed description of the selected wait below the Top 10 waits table:

For the most common waits, you can see:

For the remaining SQL Server waits, a link to MSDN documentation is provided. 

Pausing data updates

Once you've selected a wait from the Top 10 waits table or a query from the Top 10 queries table, automatic data updates to the overview page are paused so the data won't change while you're analyzing it. The Back in Time control displays a message to confirm this:

Data will remain frozen until you click the  Return to present button. For more details about the Back in Time control, see Rewinding time with Back in Time mode.

Analyzing queries

The Top 10 queries tables shows the queries that used the most resource during the selected time period. The data is updated automatically every 60 seconds. 

 

Understanding the queries table

By default, Avg. per execution is selected; this lists queries based on average values over the time period selected. Click Totals to display queries based on total values:


The table shows:

To update the table manually, click on a column header containing numeric data. This generates a new table of queries based on that column; it doesn't just change the sort order of the queries you can see currently.

Selecting one of these options does not simply change the sort order of the existing list of queries. A new table is generated according to the selected option, so different queries are likely to be displayed.

Click on a query to show the query statement, the latest query plan handle, and a list of waits that had the greatest impact during query execution. See Viewing query details.

Viewing query details

Click on a query to show the Query details page:

The page shows:

Expanding query details

Click on the  arrow below the query statement. The top half of the page expands and the content changes:

You can now see:

Why is data missing?

Queries or waits may not be available for the selected time period for any of these reasons: