Bloggin in the UK RSS 2.0
 Monday, March 12, 2007
In SQL 2005 you can still use sysperfinfo but it is now deprecated and you should start reading data from sys.dm_os_performance_counters if you have monitoring in place for SQL2000 and are migrating to 2005 you should probably update your scripts. One other change you might need to make is to the column that stores cntr_value as this is now a BigInt in SQL server 2005.
This article covers how to monitor performance pre SQL 2005 which is still relevant but attached to this post is an updated script for SQL 2005 It is recommended that you create a new "Performance" database on your server and run these scripts in. Then setup a job that executes every minute to record the performance data.

Update:
It turns out there is a bug in the SQL 2005 user connections counter. The counter is not reduced when a Service Broker task is ended. The result is the "User Connections" counter keeps getting bigger and bigger. SP2 has just been released but this is still an issue I guess MS may fix this in SP3

Script to monitor sysperfinfo updated naming conventions SQL 2005.sql (4.84 KB)
Monday, March 12, 2007 12:42:14 PM (GMT Standard Time, UTC+00:00)  #    Comments [2] -

Wednesday, January 30, 2008 2:22:22 AM (GMT Standard Time, UTC+00:00)
I am not able to get the scripts. Is it unavailable now?
thanks
Wednesday, January 30, 2008 10:00:26 AM (GMT Standard Time, UTC+00:00)
Looks like the dasblog upgrade may have caused this, i'll take a look this evening.
Charlie
Name
E-mail
Home page

Comment (HTML not allowed)  

Enter the code shown (prevents robots):

Live Comment Preview
Archive
<November 2008>
SunMonTueWedThuFriSat
2627282930311
2345678
9101112131415
16171819202122
23242526272829
30123456
About the author/Disclaimer

Disclaimer
The opinions expressed herein are my own personal opinions and do not represent my employer's view in anyway.

© Copyright 2008
Charlie Barker
Sign In
Statistics
Total Posts: 144
This Year: 25
This Month: 1
This Week: 0
Comments: 53
Themes
Pick a theme:
All Content © 2008, Charlie Barker
DasBlog theme 'Business' created by Christoph De Baene (delarou)