Welcome to the { mindfrost82.com } forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact contact us.

Go Back   { mindfrost82.com } > Gadget Corner > Tech Newsgroups > Programming > Databases > General SQL Server Support

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 07-20-2008, 08:21 PM
Query Builder
 
Posts: n/a
SQL Server 2000 SP4 Becomes clogged!!!

I have a SQL Server 2000 SP4 Enterprise Edition with Build 8.00.2039.
OS: Microsoft Windows Server 2003 Ent. SP2. 6GB Ram and AWE is enabled
for SQL Server to use more than 4 GB.

The server hosts some reporting databases where Business Objects
execute stored procedures to pull data for these reports.

All of a sudden the server is acting up. I have noticed some queries
running and not completing. Non of them are locking any other. But the
server is very slow in response. It takes awhile to return SP_WHO2.
The procedures which takes normally 2-3 minutes are hanging. The only
way to get the machine back to normal is to kill these reports or
restart SQL Server. During this time the CPU is maxed out and 100%
utilized. SQL Server 2000 Process Counters: Processor Time 100 %. Not
a lot of I/O activity reported. Task manager shows SQL is the only
thing eating up the memory.

So far I have tried the followings: I have dropped and recreated all
indexes. updated statistics. Ran DBCC diagnosis like DBCC CHECKDB and
DBCC CHECKTable. I have dropped and created the views. I have flushed
the procedure cache and forced procedures to recompile. I have
compacted the database. I have checked the SQL and the Windows Event
logs. Nothing is out of ordinary. No Network latency issues noticed. I
have ran PerfMon traces on SQL Counters and noticed nothing unusual.
No patches have been applied recently.

Has anyone have any clue on what may be the issue? Is there a patch or
a hot fix by MS to resolve any of the issues?

Please let me know if any additional information can help and I'd be
glad to provide them.

Any thoughts/suggestions will be greatly appreciated.

Thanks in Advance,
Aravin Rajendra.
Reply With Quote
  #2 (permalink)  
Old 07-20-2008, 08:41 PM
Dan Guzman
 
Posts: n/a
Re: SQL Server 2000 SP4 Becomes clogged!!!

> During this time the CPU is maxed out and 100%
> utilized. SQL Server 2000 Process Counters: Processor Time 100 %. Not
> a lot of I/O activity reported. Task manager shows SQL is the only
> thing eating up the memory.


Perhaps you simply have a bad query that consumes a lot of CPU. In the case
of an intensive parallel plan, sp_who2 will report multiple rows with the
same spid. You can then identify the problem query with DBCC INPUTBUFFER.

You can also identify CPU-intensive queries by calculating the delta CPU
usage if individual sessions between sp_who2 invocations. Another method to
identify high CPU queries is with a SQL trace of batch and rpc completed
events with a filter on CPU.

Once you identify the CPU bound query, you can examine the execution plan
and perform index/query tuning.

--
Hope this helps.

Dan Guzman
SQL Server MVP
http://weblogs.sqlteam.com/dang/

"Query Builder" <querybuilder@gmail.com> wrote in message
news:9157f7ff-0909-43dc-b2c1-d1291751ad2a@w7g2000hsa.googlegroups.com...
>I have a SQL Server 2000 SP4 Enterprise Edition with Build 8.00.2039.
> OS: Microsoft Windows Server 2003 Ent. SP2. 6GB Ram and AWE is enabled
> for SQL Server to use more than 4 GB.
>
> The server hosts some reporting databases where Business Objects
> execute stored procedures to pull data for these reports.
>
> All of a sudden the server is acting up. I have noticed some queries
> running and not completing. Non of them are locking any other. But the
> server is very slow in response. It takes awhile to return SP_WHO2.
> The procedures which takes normally 2-3 minutes are hanging. The only
> way to get the machine back to normal is to kill these reports or
> restart SQL Server. During this time the CPU is maxed out and 100%
> utilized. SQL Server 2000 Process Counters: Processor Time 100 %. Not
> a lot of I/O activity reported. Task manager shows SQL is the only
> thing eating up the memory.
>
> So far I have tried the followings: I have dropped and recreated all
> indexes. updated statistics. Ran DBCC diagnosis like DBCC CHECKDB and
> DBCC CHECKTable. I have dropped and created the views. I have flushed
> the procedure cache and forced procedures to recompile. I have
> compacted the database. I have checked the SQL and the Windows Event
> logs. Nothing is out of ordinary. No Network latency issues noticed. I
> have ran PerfMon traces on SQL Counters and noticed nothing unusual.
> No patches have been applied recently.
>
> Has anyone have any clue on what may be the issue? Is there a patch or
> a hot fix by MS to resolve any of the issues?
>
> Please let me know if any additional information can help and I'd be
> glad to provide them.
>
> Any thoughts/suggestions will be greatly appreciated.
>
> Thanks in Advance,
> Aravin Rajendra.


Reply With Quote
  #3 (permalink)  
Old 07-20-2008, 10:37 PM
Erland Sommarskog
 
Posts: n/a
Re: SQL Server 2000 SP4 Becomes clogged!!!

Query Builder (querybuilder@gmail.com) writes:
> All of a sudden the server is acting up. I have noticed some queries
> running and not completing. Non of them are locking any other. But the
> server is very slow in response. It takes awhile to return SP_WHO2.
> The procedures which takes normally 2-3 minutes are hanging. The only
> way to get the machine back to normal is to kill these reports or
> restart SQL Server. During this time the CPU is maxed out and 100%
> utilized. SQL Server 2000 Process Counters: Processor Time 100 %. Not
> a lot of I/O activity reported. Task manager shows SQL is the only
> thing eating up the memory.


Have you looked in the SQL Server Errorlog to see if there are any
messages?

I have a feeling what it could be, but I like to have it confirmed.


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

Books Online for SQL Server 2005 at
http://www.microsoft.com/technet/pro...ads/books.mspx
Books Online for SQL Server 2000 at
http://www.microsoft.com/sql/prodinf...ons/books.mspx
Reply With Quote
  #4 (permalink)  
Old 07-21-2008, 01:41 AM
TheSQLGuru
 
Posts: n/a
Re: SQL Server 2000 SP4 Becomes clogged!!!

Are you sure you didn't have auto-updates on and the recent microsoft
security patch for sql server 2000 didn't install itself?


--
Kevin G. Boles
Indicium Resources, Inc.
SQL Server MVP
kgboles a earthlink dt net


"Query Builder" <querybuilder@gmail.com> wrote in message
news:9157f7ff-0909-43dc-b2c1-d1291751ad2a@w7g2000hsa.googlegroups.com...
>I have a SQL Server 2000 SP4 Enterprise Edition with Build 8.00.2039.
> OS: Microsoft Windows Server 2003 Ent. SP2. 6GB Ram and AWE is enabled
> for SQL Server to use more than 4 GB.
>
> The server hosts some reporting databases where Business Objects
> execute stored procedures to pull data for these reports.
>
> All of a sudden the server is acting up. I have noticed some queries
> running and not completing. Non of them are locking any other. But the
> server is very slow in response. It takes awhile to return SP_WHO2.
> The procedures which takes normally 2-3 minutes are hanging. The only
> way to get the machine back to normal is to kill these reports or
> restart SQL Server. During this time the CPU is maxed out and 100%
> utilized. SQL Server 2000 Process Counters: Processor Time 100 %. Not
> a lot of I/O activity reported. Task manager shows SQL is the only
> thing eating up the memory.
>
> So far I have tried the followings: I have dropped and recreated all
> indexes. updated statistics. Ran DBCC diagnosis like DBCC CHECKDB and
> DBCC CHECKTable. I have dropped and created the views. I have flushed
> the procedure cache and forced procedures to recompile. I have
> compacted the database. I have checked the SQL and the Windows Event
> logs. Nothing is out of ordinary. No Network latency issues noticed. I
> have ran PerfMon traces on SQL Counters and noticed nothing unusual.
> No patches have been applied recently.
>
> Has anyone have any clue on what may be the issue? Is there a patch or
> a hot fix by MS to resolve any of the issues?
>
> Please let me know if any additional information can help and I'd be
> glad to provide them.
>
> Any thoughts/suggestions will be greatly appreciated.
>
> Thanks in Advance,
> Aravin Rajendra.



Reply With Quote
Reply

  { mindfrost82.com } > Gadget Corner > Tech Newsgroups > Programming > Databases > General SQL Server Support


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are Off
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT. The time now is 11:16 AM.


Powered by vBulletin, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0 ©2007, Crawlability, Inc.
© 1999-2008 mindfrost82.com v11.0


Sponsors:
Buy PSP | Company Reports | Web Directory | Electricity Suppliers | Mortgage Loans



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114