Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2000 Forums
 SQL Server Administration (2000)
 CPU really killing me!!!!!!!!!

Author  Topic 

under2811
Constraint Violating Yak Guru

366 Posts

Posted - 2006-02-20 : 11:04:26
hello friends ..i m just scared with cpu utilization..it is near @ 80 to 95 %..when i check for
select * from master..sysprocesses
where status = 'runnable'
order by cpu desc
i got one spid that really killing my cpu..it is near @ cpu column 3055221...i then go for...

dbcc inpubuffer (spid)..
i got this reasult
eventifo column...sp_execute;1
???????????????????????..what that mean exactly i m not clear..pls help me out..

T.I.A

Papillon

tkizer
Almighty SQL Goddess

38200 Posts

Posted - 2006-02-21 : 15:45:46
CPU column in sysprocesses is a cumulative amount. This does not mean that it is the one killing your CPU. Run Performance Monitor to determine what process is using the most CPU. If it is the sqlservr.exe process, then you'll need to run SQL Profiler to determine what the problem is. I like to trace my data to a table. Then:

SELECT TOP 100 Duration, TextData
FROM TraceTableName
WHERE TextData IS NOT NULL
ORDER BY Duration DESC

That query will give you a good idea of what queries are taking the longest.

Tara Kizer
aka tduggan
Go to Top of Page
   

- Advertisement -