Solved

SQL server usage

Posted on 2008-10-02
2
210 Views
Last Modified: 2012-05-05
At certain times of the day our server with sql server 2000 on it will jump up to 50% usage on the cpu.  When I look at the taskmanager it says that SQL server is usage 50%.  Can I get a more detailed look to see what in sql server is making it leap up so high?
0
Comment
Question by:ThomasBallardIT
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 5

Accepted Solution

by:
CAGdorf earned 200 total points
ID: 22625380
One of the best monitors for SQL I have ever used is Spotlight on SQL from Quest Software. It is expensive but they do offer a 30 day trial. You might check that out.

A free alternative is checking the sysprocesses table.

http://msdn.microsoft.com/en-us/library/aa260456(SQL.80).aspx

0
 
LVL 18

Assisted Solution

by:mdougan
mdougan earned 50 total points
ID: 22625581
Sometimes, SQL Server will churn when it is doing a rollback.  Also, occassionally, if there have been a lot of deletes to a database table, SQL Server will kick off a process to clean out the data and index spaces and reorganize them.  That can use up a lot of CPU.

I use a slightly modified version of sp_who2 to display all running process id's and you can see if any of these things are active at the time you're having problems.
0

Featured Post

Free eBook: Backup on AWS

Everything you need to know about backup and disaster recovery with AWS, for FREE!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
SELECT INTO from XML 6 48
Complex SQL Server WHERE CLause 9 37
get count of orders by customer Sql Server table. 3 45
Access PS SQLSERVER from powershell 1 27
International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
Recently we ran in to an issue while running some SQL jobs where we were trying to process the cubes.  We got an error saying failure stating 'NT SERVICE\SQLSERVERAGENT does not have access to Analysis Services. So this is a way to automate that wit…
Via a live example, show how to backup a database, simulate a failure backup the tail of the database transaction log and perform the restore.
Viewers will learn how to use the INSERT statement to insert data into their tables. It will also introduce the NULL statement, to show them what happens when no value is giving for any given column.

737 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question