Stored procedure never finishes
From: Randy D (no_freakin_spam_at_sickofit.com)
Date: 05/09/04
- Next message: Billy Yao [MSFT]: "RE: Schema Locks and heavy volumes"
- Previous message: cpchan: "Re: Does SQL Server 2000 Standard Edition does not support SAN ?"
- Next in thread: Greg Linwood: "Re: Stored procedure never finishes"
- Reply: Greg Linwood: "Re: Stored procedure never finishes"
- Messages sorted by: [ date ] [ thread ]
Date: Sun, 9 May 2004 08:51:35 -0700
Hello everyone,
I have a stored proc that won't finish. I am testing it directly from
query analyzer. If we reboot the server then the stored procedure will
finish, but only for the first day. I can only test the stored proc on
the weekends or in the evening when everyone is not using the system
because it is fairly resource intensive.
When the stored procedure hangs SQL server is not consuming any
processor cycles, but the timer in query analyzer continues to count.
At first I thought it was not enough free space in the tempdb and
database where the stored proc is running. We increased the size
significantly with no effect.
Stopping and restarting sql agent and sql server does not make a
difference either. What is happening during a reboot?
Also if I run the stored proc with a date range in the where clause it
will finish properly.
SQL Server 2K
Win2K sp5
4 processors
4 GB ram
25 GB free disk space
Thanks in advance for any help.
Randy
- Next message: Billy Yao [MSFT]: "RE: Schema Locks and heavy volumes"
- Previous message: cpchan: "Re: Does SQL Server 2000 Standard Edition does not support SAN ?"
- Next in thread: Greg Linwood: "Re: Stored procedure never finishes"
- Reply: Greg Linwood: "Re: Stored procedure never finishes"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|