question

ramesh 1 avatar image
ramesh 1 asked

sql server 2005 cpu bottle necks

hi team, can you guide me with correct perfmon counter to analyse the CPU and event Queue bottle necks.
sqlserverperformance-tuning
10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

sp_lock avatar image
sp_lock answered
@Ramesh There are a number of counters I look @ when tried to troubleshoot performance... Processor- % Processor Time: Anthing over 80-85% on a constant basis would need investigation. Include all cores if it is a multi-core socket and the overal. System- Processor Queue Length: If this is exceeds 2-5 again over a given period along with high %CPU then you could have a processor bottle neck. Also check your wait stats via the "sys.dm_os_wait_stats" dmv - SOS_SCHEDULER_YIELD and possible CXPACKET could indicate cpu pressure and parallel query issues
10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

K. Brian Kelley avatar image
K. Brian Kelley answered
Start here, with Brent Ozar's series on [how to do performance tuning][1]. The advice Jonlee gave was good, but Brent's write-ups will help you find where exactly the bottleneck is if it's not the CPU and you can collect the data all at the same time. [1]: http://www.brentozar.com/sql/sql-server-performance-tuning/
10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.