|
|
|
Valued Member
      
Group: General Forum Members
Last Login: Wednesday, March 03, 2010 6:35 PM
Points: 53,
Visits: 161
|
|
Hi;
I'm rephrasing the question below because I also stumped.
Where can I find white papers or technical documents regarding SQL Server 2005 Activity Monitor CPU and Physical IO.
I would like to learn more about who and how a client may consume CPU utilization running queries etc. and its impact.
src: http://msdn.microsoft.com/en-us/library/ms178520.aspx
Thanks, Jan
|
|
|
|
|
SSC Rookie
      
Group: General Forum Members
Last Login: Tuesday, March 16, 2010 5:19 PM
Points: 43,
Visits: 261
|
|
You need to pick up a book on SQL server performance tuning. Also there are several articles here on sql server central, also check out blogs etc. Books online is a great resource as well.
|
|
|
|
|
SSCrazy Eights
        
Group: General Forum Members
Last Login: 2 days ago @ 2:45 PM
Points: 8,681,
Visits: 4,953
|
|
I'd say the first thing to do is try running a few queries with "set statistics io on" and "set statistics time on". Look at the Messages tab in Management Studio when you do that.
Here are a couple of examples:
set statistics time on set statistics io on
select getdate()
set statistics time on set statistics io on
declare @Date datetime
;with CTE (Number) as (select row_number() over (order by t1.object_id) from sys.all_objects t1 cross join sys.all_objects t2) select @Date = dateadd(minute, number, '1/1/1900') from CTE
You'll see messages about how much CPU time was used, how much total time was used, how many scans and reads were done any tables involved, etc.
Check the statistics on some of the more common queries in the databases you administer (assuming you have some).
Once you've seen those numbers, look up any parts that you don't understand specifically. Or ask about them here.
- GSquared
"Nobody knows the age of the human race, but everyone agrees it's old enough to know better." - Anon
|
|
|
|
|
Valued Member
      
Group: General Forum Members
Last Login: Wednesday, March 03, 2010 6:35 PM
Points: 53,
Visits: 161
|
|
Thanks... However I already used the Activity Monitor in SQL Management Studi 2005. My problem here is that how would I know if a certain application is consuming more CPU, Phsyical I/O, etc.. in connecting SQL basing with Acitivity Monitor. Are there any basis or recommended values?
|
|
|
|
|
SSCrazy Eights
        
Group: General Forum Members
Last Login: 2 days ago @ 2:45 PM
Points: 8,681,
Visits: 4,953
|
|
Since applications are so specific and individual, there really isn't a way to say what "recommended" IO levels are. The best measure is: Is the cost of running the program less than the benefit? That's going to be highly subjective.
- GSquared
"Nobody knows the age of the human race, but everyone agrees it's old enough to know better." - Anon
|
|
|
|