solving sql server problems for millions of dbas and developers since 2006



SQL Server DBA Tips SQL Server Developer Tips SQL Server Business Intelligence Tips SQL Server Career Tips SQL Server Tip Categories SQL Server Tutorials SQL Server Webcasts SQL Server Whitepapers SQL Server Tools SQL Server Questions and Answers MSSQLTips Authors About MSSQLTips SQL Server User Groups MSSLQTips Giveaways MSSQLTips Advertising Options

MSSQLTips Facebook Page MSSQLTips LinkedIn Page MSSQLTips RSS Feed MSSQLTips Twitter Page MSSQLTips Google+ Page





Built in Performance Reports in SQL Server 2005

By: | Read Comments | Print

Edgewood Solutions is a technology company focused on Microsoft SQL Server and founder of MSSQLTips.com.

Related Tips: More

Problem
Finding a good reporting mechanism for your SQL Server environment can be tedious and time-consuming-you can either write your own reporting application or choose a third-party solution. You may also have to install an instance of Reporting Services in your environment, depending on the needs of the application. SQL Server 2005 includes a number of built-in reports to assist you in troubleshooting and measuring performance.

Solution
As part of the installation of SQL Server 2005 a number of performance-related reports are installed. To get to these reports open the SQL Server Management Studio (SSMS) and connect to a SQL Server 2005 instance. If you don't have an instance of Reporting Services installed then the icon will be disabled. Once connected, click on the server name and the Reports button in the Summary section on the right will enable:

Location of Reports for SQL Server 2005 in SSMS

When you click on the actual Reports button, the server generates a dashboard report, consisting of CPU Usage and Logical I/O Performed. These results are shown as pie charts:

Pie Charts on the Dashboard

In addition, there is other information, like product version and configuration settings:

Other information available on the dashbpard report

If you click on the arrow to the right of the Reports button, a number of other reports are displayed:

Other reports available

Report name Description
Configuration Changes History Shows all sp_configure and Trace Flag changes made
Schema Changes History Shows all DDL statements executed on the server
Scheduler Health Shows detailed information on each scheduler instance
Memory Consumption Shows memory usage by various components (i.e., Memory Clerk, Cache Store, User Store)
Activity - All Blocking Transactions Shows all transactions that are blocking others
Activity - All Cursors Provides information on cursors by Sessions ID
Activity - Top Cursors Provides information on the Top 10 cursors that utilize the most CPU time and IO
Activity - All Sessions Provides information on all open sessions
Activity - Top Sessions Provides information on sessions that are oldest, use the most CPU time, number of reads or writes
Activity - Dormant Sessions Shows users with sessions older than one hour
Top Transactions By Age Shows the longest running transactions
Top Transactions By Blocked Transaction Count Shows transactions that are blocking the most transactions
Top Transactions By Locks Count Shows the transactions holding the most significant locks
Performance - Batch Execution Statistics Shows information on batch statements currently in cache
Performance - Object Execution Statistics Shows information on object execution plans in cache
Performance - Top Queries By Average CPU Time Shows information on queries in cache that have the highest average CPU time
Performance - Top Queries By Average IO Shows information on queries in cache that have utilized the highest average IO
Performance - Top Queries By Total CPU Time Shows information on queries in cache that have the highest total CPU time
Performance - Top Queries By Total IO Shows information on queries in cache that have the highest total IO
Service Broker Statistics Provides basic information on Transport, Network Connections, and Forwarded Messages by the Service Broker instance
Transaction Log Shipping Status Provides the status of log shipping on the instance (for primary, secondary, and monitoring servers)

Next Steps



Related Tips: More | Become a paid author


Last Update: 2/14/2007

Share: Share 






Comments and Feedback:


Post a Comment or Question

Keep it clean and stay on the subject or we may delete your comment.
Your email address is not published. Required fields are marked with an asterisk (*)

*Name   *Email   Notify for updates
Comments
*Enter Code refresh code


 

Sponsor Information
"Amazing, Amazing, Amazing! SQL doctor is truly one of the most powerful tools I have seen."

It takes just 5 minutes to connect your SQL Databases to source control. Got 5 minutes? Get started now.

Need SQL Server help and not sure where to turn? Reach out to the Edgewood consultants for a Health Check.

Get SQL Server Tips Straight from Kevin Kline.

Solving SQL Server problems for millions of DBAs and Devs since 2006. Join now.

Are you waiting on SQL Server? Learn about these DMV's.


Copyright (c) 2006-2012 Edgewood Solutions, LLC All rights reserved
privacy | disclaimer | copyright | advertise | about
authors | contribute | feedback | giveaways | user groups
Some names and products listed are the registered trademarks of their respective owners.


Edgewood Solutions LLC | MSSharePointTips.com | MSSQLTips.com