SQL Server Forums
Profile | Register | Active Topics | Members | Search | Forum FAQ
Register Now and get your question answered!
Save Password
Forgot your Password?

 All Forums
 General SQL Server Forums
 New to SQL Server Programming
 sql stored procedures performance too slow
 New Topic  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

30407 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

211 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: http://www.sqlservercentral.com/Forums/Topic1120887-146-1.aspx

Hope it will help you to fix your issue!!
Go to Top of Page
  Previous Topic Topic Next Topic  
 New 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.08 seconds. Powered By: Snitz Forums 2000