Link to home
Start Free TrialLog in
Avatar of David Todd
David ToddFlag for New Zealand

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
Avatar of EugeneZ
EugeneZ
Flag of United States of America image

check http://www.sql-server-performance.com/forum/threads/database-server-100-cpu-usage.5862/
check what process is taking cpu in taskmanager ( it could be AV)
ASKER CERTIFIED SOLUTION
Avatar of RRobinho
RRobinho

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of David Todd

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
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial