May 13, 2010 at 6:31 am
The dataset would also need the server name you are reporting on. That's an interesting modification. I'm not sure you'll be able to make both the report and the data source dynamic.
May 13, 2010 at 10:47 am
The interesting part is it works for all the other sub reports - this is the only one that is having a problem.
June 17, 2010 at 6:26 am
sibir1us (7/28/2009)
If you would like to use the Performance Dashboard 2005 on SQL Server 2008 you will have to make the following change in the usp_Main_GetSessionInfo stored procedure.Change the line:
sum(convert(bigint, datediff(ms, login_time, getdate()))) - sum(convert(bigint, s.total_elapsed_time)) as idle_connection_time,
to
sum(convert(bigint, CAST ( DATEDIFF ( minute, login_time, getdate()) AS BIGINT)*60000 + DATEDIFF ( millisecond, DATEADD ( minute, DATEDIFF ( minute, login_time, getdate() ), login_time ),getdate() ))) - sum(convert(bigint, s.total_elapsed_time)) as idle_connection_time,
I ran into to this problem, "Difference of two datetime columns caused overflow at runtime" on sql2005 today for the first time. Your code above worked....Thanks! I just wonder what changed to cause it to start happening....????
June 17, 2010 at 5:47 pm
What changed is the number of days the system was up and that is what caused the issue.
October 15, 2010 at 5:14 am
Nice read Robert. But I still find SSRS incometent to exploit the benefits of enterprise dashboarding.
Raunak J
December 3, 2010 at 12:51 am
Hi,
Nice article.
You can discover a lot more about DMVs in this forthcoming book http://www.manning.com/stirk. Chapter 1 can be downloaded for free and includes scripts for:
A simple monitor
Finding your slowest queries
Find your missing indexes
Identifying what SQL is running now
Quickly find a cached plan
Thanks
Ian
December 3, 2010 at 6:11 am
Good one!!
December 3, 2010 at 11:02 am
Great Article!
I'd love to install the reports on a management server and have it email me the results from each of our servers, haven't quite started looking at how to programatically change the connection for each subscription. This way I coould have 1 set of RDL's that hit a different connection for each subscription.
Anyone have any thoughts?
December 3, 2010 at 12:49 pm
Anyone know if there are performance dashboard reports available for SQL 2008 and SQL 2008R2?
December 3, 2010 at 12:55 pm
After running the SETUP.SQL script, I'm getting the following errors:
Msg 195, Level 15, State 10, Procedure usp_GetPageDetails, Line 27
'object_schema_name' is not a recognized built-in function name.
Msg 156, Level 15, State 1, Procedure usp_GetPageDetails, Line 42
Incorrect syntax near the keyword 'as'.
Msg 15151, Level 16, State 1, Line 1
Cannot find the object 'usp_GetPageDetails', because it does not exist or you do not have permission.
Any help would be spiffy.
December 3, 2010 at 1:17 pm
Are you running the script on the MSDB in a SQL 2005 instance that is SP2 or higher?
December 3, 2010 at 2:46 pm
Matt,
I had the same error too, after spending few mins in Google I found this article which solved the issue. Hope this helps.
Let me know if this solved your problem
Best,
Bala.
December 3, 2010 at 4:20 pm
I did run it against the MSDB just to be sure and it gave the same error.
Bala, I looked at the link you posted and it did not help.
December 3, 2010 at 4:44 pm
OK, I am not sure about your error, but assuming that this might be error you are getting..
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.
So, try this post which asks us to change the directory for the "Performance Dashboard "
[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 modify the setup.sql file as shown below before running it against your SQL Server 2008 instance.]
Once you are done with this, then come back check this post.
Then also again go back to this post where you have to change a SP "MS_PerfDashboard.usp_Main_GetCPUHistory" If you are using SQL Server 2008.
This is how i made it work, Hope this will work for you too. Let me know.
BEST,
Bala
December 3, 2010 at 4:50 pm
Bala, I'm sorry, I forgot to mention that I'm running 2005 SP2.
Viewing 15 posts - 31 through 45 (of 51 total)
You must be logged in to reply to this topic. Login to reply