July 17, 2012 at 6:20 am
Hi
I've set trace flag 1222 on, (which is very useful for analysing the causes of deadlocks, reading the data directly from the error log).
However my alerting doesn't fire because message 1205 (deadlock detected, etc) no longer appears in the error log.
Version is 2005. I've got Gail's chapter in MVP Deep Dives in front of me but there's no mention of monitoring - does anyone have an idea how to monitor for this, please?
Thanks
---
Note to developers:Want to get the best help? Click here https://www.sqlservercentral.com/articles/forum-etiquette-how-to-post-datacode-on-a-forum-to-get-the-best-help (Jeff Moden)
My blog: http://uksqldba.blogspot.com
Visit http://www.DerekColley.co.uk to find out more about me.
July 18, 2012 at 3:54 am
You can change the alert to capture 1222. Or you can add 1205 traceflag so you get both, but that makes for very messy error logs.
"The credit belongs to the man who is actually in the arena, whose face is marred by dust and sweat and blood"
- Theodore Roosevelt
Author of:
SQL Server Execution Plans
SQL Server Query Performance Tuning
July 18, 2012 at 4:19 am
Marvellous, thanks Grant.
---
Note to developers:Want to get the best help? Click here https://www.sqlservercentral.com/articles/forum-etiquette-how-to-post-datacode-on-a-forum-to-get-the-best-help (Jeff Moden)
My blog: http://uksqldba.blogspot.com
Visit http://www.DerekColley.co.uk to find out more about me.
Viewing 3 posts - 1 through 2 (of 2 total)
You must be logged in to reply to this topic. Login to reply