Please start any new threads on our new site at We've got lots of great SQL Server experts to answer whatever question you can come up with.

Our new SQL Server Forums are live! Come on over! We've restricted the ability to create new threads on these forums.

SQL Server Forums
Profile | Active Topics | Members | Search | Forum FAQ
Save Password
Forgot your Password?

 All Forums
 General SQL Server Forums
 New to SQL Server Programming
 sql stored procedures performance too slow
 Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

Posting Yak Master

230 Posts

Posted - 06/29/2013 :  03:59:00  Show Profile  Reply with Quote
Some of the stored procedures which were working fine and used to execute in few minutes now taking ages to open sometimes even half an hour.

How can I find the cause of the issues and sort them out?

Patron Saint of Lost Yaks

30421 Posts

Posted - 06/29/2013 :  04:54:32  Show Profile  Visit SwePeso's Homepage  Reply with Quote
Run "exec sp_who2" to see what other processes are running.
Run "exec sp_locks" to see if there are any blocking.

N 56°04'39.26"
E 12°55'05.63"
Go to Top of Page

Posting Yak Master

212 Posts

Posted - 06/30/2013 :  23:18:49  Show Profile  Visit prett's Homepage  Reply with Quote
Please check this post on the same topic:

Hope it will help you to fix your issue!!
Go to Top of Page
  Previous Topic Topic Next Topic  
 Reply to Topic
 Printer Friendly
Jump To:
SQL Server Forums © 2000-2009 SQLTeam Publishing, LLC Go To Top Of Page
This page was generated in 0.02 seconds. Powered By: Snitz Forums 2000