Welcome to TechNet Blogs Sign in | Join | Help

Performance Dashboard Reports for SQL Server 2008

During a recent visit to Seattle for a Microsoft conference, I learned from my colleague Michael Thomassy that it's possible to run the SQL Server 2005 Performance Dashboard reports on SQL Server 2008, with a couple of slight modifications. There is a great new feature in SQL Server 2008 called Performance Data Collection, which I have blogged about in the past, and this is excellent for tracking SQL Server performance over time across your 2008 estate. There is also the excellent revamped Activity Monitor in SQL 2008. However, if you want to continue to use the Performance Dashboard reports, which many DBA's have found invaluable, they are not supported in SQL Server 2008. If you try to install the Performance Dashboard reports, you get the following error:

Msg 207, Level 16, State 1, Procedure usp_Main_GetCPUHistory, Line 6
Invalid column name 'cpu_ticks_in_ms'.
Msg 15151, Level 16, State 1, Line 1
Cannot find the object 'usp_Main_GetCPUHistory', because it does not exist or you do not have permission.

The reason for this is due to a change in the sys.dm_os_sys_info DMV from SQL Server 2005 to 2008 (the cpu_ticks_in_ms column has been removed in 2008 http://msdn.microsoft.com/en-us/library/ms175048.aspx). I have attached PerfDashboardReports.zip, which contains modifications to the setup.sql and performance_dashboard_main.rdl files. Download and install the performance dashboard reports as normal (but save the files in the Program Files\Microsoft SQL Server\100\Tools\PerformanceDashboard directory) and then over-write the original files with the modified ones attached, then run the setup.sql file against your SQL Server 2008 instance.

Please note that SQL Server 2008 has introduced new wait types that the Performance Dashboard reports currently don't handle. I would strongly recommend using the new Management Data Warehouse reports in SQL Server 2008 in order to get the best user experience. However, this workaround will help you get the Performance Dashboard Reports up and running on your SQL Server 2008 instances (see the screenshot below).

Click to see larger version

Published Wednesday, February 18, 2009 2:20 PM by robcarrol
Attachment(s): PerfDashboardReports.zip

Comment Notification

If you would like to receive an email when updates are made to this post, please register here

Subscribe to this post's comments using RSS

Comments

# Performance Dashboard Reports for SQL Server 2008

Wednesday, February 18, 2009 12:31 PM by Other SQL Server Blogs around the Web

During a recent visit to Seattle for a Microsoft TechReady conference, I learned from a colleague that

# re: Performance Dashboard Reports for SQL Server 2008

Wednesday, February 18, 2009 1:53 PM by SQLUser

Rob

This is great news to the DBAs, it will help to obtain the required reports.

# re: Performance Dashboard Reports for SQL Server 2008

Tuesday, March 31, 2009 4:22 PM by Joe Markus

Have you tried this with SQL 2008 64bit

I get a datediff function resulted in overflow error?

# re: Performance Dashboard Reports for SQL Server 2008

Tuesday, March 31, 2009 4:41 PM by Joe Markus

Here is the fix required for the case that you get a datediff causes overflow error:

http://theskythelimit.blogspot.com/2008/03/fix-difference-of-two-datetime-columns.html

# re: Performance Dashboard Reports for SQL Server 2008

Tuesday, March 31, 2009 5:05 PM by robcarrol

Hi Joe,

Yes, I've tested this on SQL Server 2008 64-bit. Thanks for posting the fix for your issue.

Cheers,

Rob

# Performance Dashboard Reports for SQL Server 2008

Thursday, April 02, 2009 2:34 AM by The Premiers

Recently, I learned from a colleague that it's possible to run the SQL Server 2005 Performance Dashboard

# Using the SQL Server Performance Dashboard Reports on 2008

Thursday, April 02, 2009 11:55 AM by Driving The Database Engine

One of my colleagues, Rob Carrol, has uncovered a way to use the Performance Dashboard Reports on SQL

# Приборная панель производительности SQL Server 2005

Monday, April 06, 2009 3:57 AM by Alexander Gladchenko

Microsoft SQL Server 2005 Performance Dashboard Reports предназначен для контроля и получения необходимой

# Приборная панель производительности SQL Server 2005

Monday, April 06, 2009 3:57 AM by Alexander Gladchenko

Microsoft SQL Server 2005 Performance Dashboard Reports предназначен для контроля и получения необходимой

# re: Performance Dashboard Reports for SQL Server 2008

Tuesday, September 22, 2009 2:43 AM by Patrick Flynn

Hi

Also need to apply the fix described in

http://blogs.msdn.com/vascov/archive/2008/09/30/using-performance-dashboard-with-sql-server-2008.aspx

The current code for 'usp_Main_GetCPUHistory' is seriously flawed.

Leave a Comment

(required) 
required 
(required) 

  
Enter Code Here: Required
 
Page view tracker