Quantcast
Channel: SQL Service Broker forum
Viewing all articles
Browse latest Browse all 461

Deadlock Graph and Messages

$
0
0

All,

I set up a DeadLock Event notification routine that emails us (DBA) the various objects involved in the deadlock via the DEADLOCK_GRAPH.

I also setup SQLServer Alert for Deadlocks which also emails us parallely.

Is there  a way to include the message in the Alerts as a part of the Event Notification itself? The reason I'm asking is the Alert message summarizes what type of deadlock we have encountered. In the below case it is related to Parallelism. I could then look at the actual code(s) (part of DEADLOCK_GRAPH) and identify what code need to be appended with MAXDOP option (to avoid parallelism).

"Transaction (Process ID 141) was deadlocked on lock | communication buffer resources with another process and has been chosen as the deadlock victim. Rerun the transaction."

Thanks,

rgn


Viewing all articles
Browse latest Browse all 461

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>