SQL Server Performance Forum – Threads Archive
Cpu usage 100 % in sqlserver 2005,windows 2000 ser
hi, I am new to this issue, and i am not sure how to track down , which is occupying and making the use of CPu 100%. Can any of you tell be the basic things i have to go thru’ to resolve this issue..USe the command sp_who2 active and identify the spids sucking up cpu. Or you can also query top 10 sysprocesses and order by cpu desc. once you have the spid, use DBCC INPUBUFFER(spid) to identify what the spid is doing. After that you need to look into the T-SQl or the proc and tune it. ***********************
Dinakar Nethi
***********************
http://weblogs.sqlteam.com/dinakar/
Use sql profiler to see what procedures using high cpu and recompilations…
High recompiles also cause high CPU…
MohammedU.
Microsoft SQL Server MVP
Moderator
SQL-Server-Performance.com All postings are provided “AS IS†with no warranties for accuracy.
<blockquote id="quote"><font size="1" face="Verdana, Arial, Helvetica" id="quote">quote:<hr height="1" noshade id="quote"><i>Originally posted by MohammedU</i><br /><br />Use sql profiler to see what procedures using high cpu and recompilations…<br />High recompiles also cause high CPU…<br /><br /><br />MohammedU.<br />Microsoft SQL Server MVP<br />Moderator<br />SQL-Server-Performance.com<br /><br />All postings are provided “AS IS†with no warranties for accuracy.<br /><br /><hr height="1" noshade id="quote"></font id="quote"></blockquote id="quote"><br /><br />Mr M. If CPU is already chugging along 100%, using profiler on production server will kill the server.. [<img src=’/community/emoticons/emotion-5.gif’ alt=’

I know [<img src=’/community/emoticons/emotion-1.gif’ alt=’

I agree with DInaker in this case and do not and never allow running PROFILER when the server is really stressed out on resources [<img src=’/community/emoticons/emotion-1.gif’ alt=’

]]>