David Todd
asked on
SQL using lot of CPU, but not much showing up in sp_who
Hi Experts,
Version is SQL 2000 Standard Edition (SP3).
Client says main application is running slow. Suspicion is that another database is using too much SQL and the main application is suffering.
In task manager SQL is using most of CPU.sp_who2 shows almost no activity.
I'm running a 24/48 hour performance monitor counters to see what is happening. I included transaction/sec on each of two main databases.
Where to look next? Is there something else that can tell me which database is taking all the CPU?
Thanks
David
Version is SQL 2000 Standard Edition (SP3).
Client says main application is running slow. Suspicion is that another database is using too much SQL and the main application is suffering.
In task manager SQL is using most of CPU.sp_who2 shows almost no activity.
I'm running a 24/48 hour performance monitor counters to see what is happening. I included transaction/sec on each of two main databases.
Where to look next? Is there something else that can tell me which database is taking all the CPU?
Thanks
David
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Hi Guys,
Thanks for the input.
The link from EugeneZ looked interesting, but it referred to other threads and those links were broken.
The link to SQL tips looked good, and was following that. But with the server reboot, things have settled back down and minimal to no cpu activity by SQL. Cumulatively, its still second to idle, but was showing 0% when I checked.
I've heard of replacements for sp_who and sp_who2. I may check them out.
I'd like to keep the question open for a few more days and I'll post what I find after the weekend/feedback from business unit owner.
Thanks
David
Thanks for the input.
The link from EugeneZ looked interesting, but it referred to other threads and those links were broken.
The link to SQL tips looked good, and was following that. But with the server reboot, things have settled back down and minimal to no cpu activity by SQL. Cumulatively, its still second to idle, but was showing 0% when I checked.
I've heard of replacements for sp_who and sp_who2. I may check them out.
I'd like to keep the question open for a few more days and I'll post what I find after the weekend/feedback from business unit owner.
Thanks
David
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
check what process is taking cpu in taskmanager ( it could be AV)