Amit Banerjee Support Escalation Engineer Microsoft Corporation SQL Server FAQ: TroubleshootingSQL:...

9
Understanding Performance Bottlenecks using Performance Dashboard Amit Banerjee Support Escalation Engineer Microsoft Corporation SQL Server FAQ: http://blogs.msdn.com/sqlserverfaq TroubleshootingSQL: http://troubleshootingsql.com Twitter: @ banerjeeamit | @ MicrosoftSQLCSS

Transcript of Amit Banerjee Support Escalation Engineer Microsoft Corporation SQL Server FAQ: TroubleshootingSQL:...

Page 1: Amit Banerjee Support Escalation Engineer Microsoft Corporation SQL Server FAQ:  TroubleshootingSQL: ://blogs.msdn.com/sqlserverfaq.

Understanding Performance

Bottlenecks using Performance DashboardAmit BanerjeeSupport Escalation EngineerMicrosoft Corporation

SQL Server FAQ: http://blogs.msdn.com/sqlserverfaq TroubleshootingSQL: http://troubleshootingsql.com Twitter: @banerjeeamit | @MicrosoftSQLCSS

Page 2: Amit Banerjee Support Escalation Engineer Microsoft Corporation SQL Server FAQ:  TroubleshootingSQL: ://blogs.msdn.com/sqlserverfaq.

Agenda

What is Performance DashboardInstallation and usageWhat can it be used for?Demo

Page 3: Amit Banerjee Support Escalation Engineer Microsoft Corporation SQL Server FAQ:  TroubleshootingSQL: ://blogs.msdn.com/sqlserverfaq.

What is Performance DashboardA set of RDLs deployed using custom reports

feature in Management Studio which help resolve the most common performance issues,

such as blocking, high CPU usage, latch contention and disk I/O bottleneck, without

having to execute T-SQL queries.

Page 4: Amit Banerjee Support Escalation Engineer Microsoft Corporation SQL Server FAQ:  TroubleshootingSQL: ://blogs.msdn.com/sqlserverfaq.

Installation and UsageInstall the Performance Dashboard Reports from Microsoft Downloads siteOnce you install the above, go to \Program Files\Microsoft SQL Server\90\Tools\PerformanceDashboard and run the setup.sql script against the SQL instance that you want to monitor the performance for.

Right click on the Server Name in Object Explorer -> Reports -> Custom Reports and select performance_dashboard_main.rdl

Page 5: Amit Banerjee Support Escalation Engineer Microsoft Corporation SQL Server FAQ:  TroubleshootingSQL: ://blogs.msdn.com/sqlserverfaq.

What can it be used for?

CPU bottlenecks (which queries are consuming the most CPU and Plan for this query)IO bottlenecks (which queries are performing the most IO and Plan for this query).Index recommendations generated by the query optimizer (using Missing Indexes DMV feature)BlockingLatch contention and other Wait Types

Page 6: Amit Banerjee Support Escalation Engineer Microsoft Corporation SQL Server FAQ:  TroubleshootingSQL: ://blogs.msdn.com/sqlserverfaq.

What can I find?

CPU usage based on Ring Buffer output

Blocking information based on sys.dm_exec_requests output

All hyperlinks allow various levels of drill-downs to get query-text and the query plan along with

connection properties

Page 7: Amit Banerjee Support Escalation Engineer Microsoft Corporation SQL Server FAQ:  TroubleshootingSQL: ://blogs.msdn.com/sqlserverfaq.

What can I find?

Dashboard Main report -> Click on the waits showing up with the highest count to get to this report

Further drill-down is available using Session ID or Query-text columns

Page 9: Amit Banerjee Support Escalation Engineer Microsoft Corporation SQL Server FAQ:  TroubleshootingSQL: ://blogs.msdn.com/sqlserverfaq.

© 2009 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries.

The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after

the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.