March 11, 2010 at 8:53 am
I would like to be alerted when a specific stored procedure in my database is blocked for more than, say, 60 seconds.
I can create a job that fires once a minute and runs a script to look for this blocking event; if the condition is found, it will send me an email.
I know how to do this, but my question is: is there a better way to do this in SQL 2008?
SQL Agent Alerts? Extended events? Any other feature I am unaware off?
Thanks for any feedback.
__________________________________________________________________________________
SQL Server 2016 Columnstore Index Enhancements - System Views for Disk-Based Tables[/url]
Persisting SQL Server Index-Usage Statistics with MERGE[/url]
Turbocharge Your Database Maintenance With Service Broker: Part 2[/url]
March 22, 2010 at 2:46 am
See if these help:
March 22, 2010 at 3:48 am
dmoldovan (3/22/2010)
http://www.sqlservercentral.com/articles/Blocking/64474/%5B/quote%5D
Thanks! I'll have a look at these links.
__________________________________________________________________________________
SQL Server 2016 Columnstore Index Enhancements - System Views for Disk-Based Tables[/url]
Persisting SQL Server Index-Usage Statistics with MERGE[/url]
Turbocharge Your Database Maintenance With Service Broker: Part 2[/url]
March 22, 2010 at 5:11 am
You're welcome.
Please share your solution with us, if you have time...
March 22, 2010 at 5:36 am
dmoldovan (3/22/2010)
You're welcome.Please share your solution with us, if you have time...
Will do, thanks again!
__________________________________________________________________________________
SQL Server 2016 Columnstore Index Enhancements - System Views for Disk-Based Tables[/url]
Persisting SQL Server Index-Usage Statistics with MERGE[/url]
Turbocharge Your Database Maintenance With Service Broker: Part 2[/url]
Viewing 5 posts - 1 through 4 (of 4 total)
You must be logged in to reply to this topic. Login to reply