|
|
|
SSC Rookie
      
Group: General Forum Members
Last Login: Friday, April 12, 2013 6:04 AM
Points: 47,
Visits: 17
|
|
|
|
|
|
SSCrazy
      
Group: General Forum Members
Last Login: Thursday, May 16, 2013 2:10 PM
Points: 2,668,
Visits: 688
|
|
well I don't wish to appear negative but checking for a lock that has been held for 5 to 10 mins might not be very efficient. I do a similar check periodically on our oltp systems but I check every 5 seconds for blocking locks.
The GrumpyOldDBA www.grumpyolddba.co.uk http://sqlblogcasts.com/blogs/grumpyolddba/
|
|
|
|
|
Forum Newbie
      
Group: General Forum Members
Last Login: Tuesday, July 26, 2005 6:59 AM
Points: 2,
Visits: 1
|
|
| aba_lockinfo does a good job for this. Every 5 seconds is the best way as it was said above
|
|
|
|
|
SSC Veteran
      
Group: General Forum Members
Last Login: Monday, July 30, 2012 1:23 PM
Points: 290,
Visits: 44
|
|
We have servers that check every 30 seconds, and alerts us to blocking chains. However, our worst blockers are 3rd party apps that just block sometimes, nothing can be done, and the rocket scientist who purchased the app is long gone. We definitely don't want to be notified every 30 seconds! Our blocking notification process differs somewhat from what is in this article, but is pretty typical stuff that can be found on the web.
John Scarborough MCDBA, MCSA
|
|
|
|