![]() |
|
|
|
By: Norman Chan | Read Comments (9) | Related Tips: More > SQL Server Management Studio |
I’ve downloaded and installed Performance Dashboard reports for SQL Server 2005 from Microsoft’s download site, but I can’t find Performance Dashboard for SQL Server 2008? How can I use this for SQL Server 2008 and 2008R2?
Unfortunately Microsoft does not provide Performance Dashboard for SQL Server 2008 for download, but there is a work-around by installing Performance Dashboard for SQL Server 2005 and modifying the provided Performance Dashboard T-SQL setup script from Microsoft. We will walk through the steps below.
Performance Dashboard is a set of (SQL Server Reporting Services) SSRS reports that are loaded into our SQL Server Management Studio (SSMS) built using Dynamic Management Views (DMVs) intended to help quickly identify potential performance problems within SQL Server. This allows the DBA to view reports for CPU and IO bottlenecks through several pre-written reports in areas such as top CPU, duration, logical reads, physical reads, logical writes, CLR time, waits, missing indexes and IO information. This tool is convenient for DBAs to quickly see information about key SQL Server performance statistics in one “dashboard” (place). DMVs are not obsolete with this tool, if more research is required we can dig deeper querying specific DMVs, but by using the Performance Dashboard it provides an excellent starting point. Although it is a great tool, keep in mind these reports come from DMVs, which are not static and only show the current status of SQL Server, therefore once SQL Server is restarted the historical statistics from DMVs are lost.
This package is provided for download by Microsoft. It’s comprised of two key components Performance Dashboard custom reports that will be installed on the client machine for use with SSMS and a T-SQL setup script with custom stored procedures utilized by the Performance Dashboard reports. The reports are stored locally on our SSMS client after installation. In order for reports to work it requires executing the T-SQL setup script on each SQL Server we wish to use with Performance Dashboard reports to install the custom stored procedures.
First download Performance Dashboard reports for SQL Server 2005 from Microsoft. http://www.microsoft.com/en-us/download/details.aspx?id=22602
Install Performance Dashboard on our workstation accepting the default locations, or you can choose a different installation location:

By default it is installed in: C:\Program Files (x86)\Microsoft SQL Server\90\Tools\PerformanceDashboard
Note: If the default directory changes, you will need to remember to change the path appropriately for the following steps outlined in this tip.
A successful installation message will be displayed when complete:

Post-Installation has two parts:
The first part requires executing Microsoft’s “setup.sql” script on the SQL Server we wish to use the Performance Dashboard. This can be found in C:\Program Files (x86)\Microsoft SQL Server\90\Tools\PerformanceDashboard where it was installed.
If we try to run the original setup.sql on a SQL Server 2008 or 2008 R2 server before making the changes above, we get this error:
Msg 207, Level 16, State 1, Procedure usp_Main_GetCPUHistory, Line 6 Invalid column name 'cpu_ticks_in_ms'.
This is due to a change in the sys.dm_os_sys_info view, which removes “cpu_ticks_in_ms” in versions of SQL Server 2008 and newer. (note: If we have a SQL Server 2012 instance and attempt to install the available SQL 2012 Performance Dashboard download, that particular stored procedure has also been fixed in the same manner using “ms_ticks” instead of calculating with “cpu_ticks_in_ms”)
The second part of post-installation requires setting up SQL Server Performance Dashboard for the first time by providing SSMS the location of our Performance Dashboard reports.

If you have chosen a different file path during installation, you will need to use that file path to find your Performance Dashboard folder.
Select “performance_dashboard_main” and click open.


Sample Performance Dashboard

Viewing the Dashboard
Next time we would like to view the Performance Dashboard, we navigate to server level reports and open “performance_dashboard_main” for our SQL Server.

By configuring the Performance Dashboard for SQL Server 2005 to be used for SQL Server 2008 we can utilize this free tool from Microsoft to aid in trouble-shooting database performance issues. Although it may become unsupported, so far due to its popularity it has been available directly from Microsoft or via work-arounds for all versions of SQL Server beginning with SQL Server 2005 and newer. The most recent version available is for SQL Server 2012.
| Thursday, February 28, 2013 - 12:28:21 AM - Yadav | Read The Tip |
|
Nice Information..! Thanks |
|
| Thursday, February 28, 2013 - 9:06:58 AM - John Waclawski | Read The Tip |
|
Norman,
Thanks for the info on this report. Although I am getting the following error when I follow your steps to the letter: ERROR: The datediff function resulted in an overflow. The number of dateparts seperating two date/time instances is too large. Try to use datediff with a less precise datepart.
Any suggestions? I'm digging around but thought I'd throw this out there in case some one else is experiencing the same issue.
|
|
| Thursday, February 28, 2013 - 10:09:02 AM - Woody | Read The Tip |
|
John, I too have had a similar problem with the datetime data type when transforming Oracle tables into SS2008. It turned out that by default SS2008 was converting the Oracle datetime data type into the SS2008 smalldatetime data type. I was able to fix it by changing the data type in that field to either datetime or datetime2. Afterwards, I received no more overflow errors when doing the translations. I would be interested to know if this tip helps. Best regards. Woody |
|
| Thursday, February 28, 2013 - 10:28:45 AM - Adam | Read The Tip |
|
Additionally you can just download the 2012 Dashboard Reports and not worry about altering the 2005 reports. http://www.microsoft.com/en-ca/download/details.aspx?id=29063 |
|
| Friday, March 01, 2013 - 10:26:12 AM - Seth Delconte | Read The Tip |
|
Thanks! |
|
| Tuesday, March 05, 2013 - 2:46:35 AM - NormC | Read The Tip |
|
|
|
| Tuesday, March 12, 2013 - 10:59:10 AM - Chuck | Read The Tip |
|
Norm, Thanks for the update. I had seen several hacks to the SessionInfo but this is one of the more elegant ones. I have changed over to it and wanted to drop you a note saying thanks for the lovely work. Your Friendly Neighborhood DBA, Chuck |
|
| Tuesday, March 12, 2013 - 12:53:59 PM - Woody | Read The Tip |
|
Very good, Norm. Thank you. |
|
| Tuesday, March 12, 2013 - 1:12:38 PM - Avinesh | Read The Tip |
|
This is awesome tool. Thanks |
|
|
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 |