Re: Performance issues with stored procedure
From: Wayne Snyder (wayne.nospam.snyder_at_mariner-usa.com)
Date: 06/28/04
- Next message: Wayne Snyder: "Re: Authentication Problem"
- Previous message: Tibor Karaszi: "Re: Performance issues with stored procedure"
- In reply to: Kalle Dahlberg: "Performance issues with stored procedure"
- Next in thread: Gert-Jan Strik: "Re: Performance issues with stored procedure"
- Messages sorted by: [ date ] [ thread ]
Date: Mon, 28 Jun 2004 08:00:22 -0400
On thing you might try is determining how much time that 32m row lookup is
taking... Measure both in and out of the proc.
-- Wayne Snyder, MCDBA, SQL Server MVP Mariner, Charlotte, NC www.mariner-usa.com (Please respond only to the newsgroups.) I support the Professional Association of SQL Server (PASS) and it's community of SQL Server professionals. www.sqlpass.org "Kalle Dahlberg" <kalle@newsgroups.nospam> wrote in message news:E314ABBD-E310-4205-8EBD-7F19733ADDE8@microsoft.com... > Hello! > > We are running SQL Server 2000 (8.00.878) on Windows 2000. > > I am having a bit of trouble with a stored procedure. It runs fine for a while, then slows down a lot over time. If recreated, it runs fine again for a while, after which it slows down again. > > I have tried a lot to find out where the problem lies such as: > - Checking the query plan > - Creating the proc with recompile > - Running DBCC FREEPROCCACHE etc. > > Restarting the server also seems to do the trick. > > The proc is not very advanced, it involves creating a temp table, filling it with data, a little manipulation and then returning the entire temp table. A couple of UDF's are used when filling the temp table. > > Any ideas as to what can cause thie behaviour? > > Regards, > Kalle Dahlberg
- Next message: Wayne Snyder: "Re: Authentication Problem"
- Previous message: Tibor Karaszi: "Re: Performance issues with stored procedure"
- In reply to: Kalle Dahlberg: "Performance issues with stored procedure"
- Next in thread: Gert-Jan Strik: "Re: Performance issues with stored procedure"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|