How to view a deadlock graph using the information from the default SQL Server 2008 system_health session?


Back in 2009 Jonathan Kehayias wrote an article on SQL Server Central with the title “Retrieving Deadlock Graphs with SQL Server 2008 Extended Events”. It is a very handy article, it explains how to obtain deadlock information from a SQL Server 2008 or higher version without enabling a trace flag. The only thing I was dissapointed was that you could not save the deadlock graph information as a XDL file and view the graphical representation of the deadlock. I was very happy to findout through a post by Jonathan Kehayias that it is now possible to save the information as a XDL file and open that file with SQL Server 2012 Management Studio.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s