Groups | Blog | Home
all groups > sql server (alternate) > july 2006 >

sql server (alternate) : CPU spike with SQL Server 2005 Express Edition


Isam
7/26/2006 10:11:45 AM
Hello,

Any help is greatly appreciated.


I've recently upgraded my MSDE 2000 to SQL Server 2005 Express Edition
on my Windows 2003 server SP1. I've noticted that running a single one

table query against the new sql engine causes the sqlservr.exe process
to consume 98% of CPU on the server. The spike usually lasts for a
20-30 seconds and I can't figure out why. The query is a simple select

query against one table with only 3000 records.


The server is a one proc machine 2.0 GHz celeron, with 1 GB of RAM.


Again, any suggestions are appreciated.


Thank you.
blueghost73 NO[at]SPAM yahoo.com
7/26/2006 2:41:09 PM

[quoted text, click to view]

Oddly, the first rule of computer trouble shooting would seem to apply
here: When in doubt, turn off the Microsoft product. :P

Seriously, does this happen even after restarting SQL and/or the
server?

That's about it for me. I don't know enough to really trouble shoot
this, but I can point out the obvious with the best of them. ;)

--Richard
Erland Sommarskog
7/26/2006 9:52:29 PM
Isam (support@holylandmarket.com) writes:
[quoted text, click to view]

Does the query run for 20-30 seconds, or does it complete long before
the CPU spike is over?

Care to post the query and the definition for the underlying table?

By the way, did you run UPDATE STATISTICS on all tables after the upgrade?


--
Erland Sommarskog, SQL Server MVP, esquel@sommarskog.se

Books Online for SQL Server 2005 at
http://www.microsoft.com/technet/prodtechnol/sql/2005/downloads/books.mspx
Books Online for SQL Server 2000 at
AddThis Social Bookmark Button