<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic How to get Deadlock Chain in SQL Server in Open Q&amp;A</title>
    <link>https://community.dynatrace.com/t5/Open-Q-A/How-to-get-Deadlock-Chain-in-SQL-Server/m-p/301927#M39262</link>
    <description>&lt;P&gt;In the database Explorer table, it shows the occurrence of Deadlocks but how to narrow down to the source and victim queries. There is no option to drill down from the graph.&lt;/P&gt;</description>
    <pubDate>Wed, 15 Jul 2026 07:23:24 GMT</pubDate>
    <dc:creator>deepufrancis</dc:creator>
    <dc:date>2026-07-15T07:23:24Z</dc:date>
    <item>
      <title>How to get Deadlock Chain in SQL Server</title>
      <link>https://community.dynatrace.com/t5/Open-Q-A/How-to-get-Deadlock-Chain-in-SQL-Server/m-p/301927#M39262</link>
      <description>&lt;P&gt;In the database Explorer table, it shows the occurrence of Deadlocks but how to narrow down to the source and victim queries. There is no option to drill down from the graph.&lt;/P&gt;</description>
      <pubDate>Wed, 15 Jul 2026 07:23:24 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Open-Q-A/How-to-get-Deadlock-Chain-in-SQL-Server/m-p/301927#M39262</guid>
      <dc:creator>deepufrancis</dc:creator>
      <dc:date>2026-07-15T07:23:24Z</dc:date>
    </item>
    <item>
      <title>Re: How to get Deadlock Chain in SQL Server</title>
      <link>https://community.dynatrace.com/t5/Open-Q-A/How-to-get-Deadlock-Chain-in-SQL-Server/m-p/301967#M39264</link>
      <description>&lt;P&gt;Based on the currently documented capabilities, the standard Dynatrace Microsoft SQL Server extension does not provide a native drill-down from the Deadlocks graph to identify the victim and other participating SQL queries.&lt;/P&gt;&lt;P&gt;The available sql-server.locks.deadlocks.count metric shows the occurrence and trend of deadlocks at the SQL Server instance level. The current extension does not indicate that the extension collects or exposes the deadlock XML, participating SQL statements, session IDs, or the transaction selected as the victim.&lt;/P&gt;&lt;P&gt;For Dynatrace SaaS, a possible workaround is to use Custom Extensions Creator to create a custom SQL Server query that reads the xml_deadlock_report events from SQL Server’s built-in system_health Extended Events session. The query and output mapping should first be tested and validated in the target environment.&lt;/P&gt;&lt;P&gt;Microsoft documents that the deadlock XML contains:&lt;/P&gt;&lt;P&gt;victim-list: the process selected as the deadlock victim&lt;BR /&gt;process-list: all processes involved, including their SQL details&lt;BR /&gt;resource-list: the database resources involved in the deadlock&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;SQL Server deadlock guidance and sample query:&lt;/P&gt;&lt;P&gt;&lt;A href="https://learn.microsoft.com/en-us/sql/relational-databases/sql-server-deadlocks-guide?view=sql-server-ver17" target="_blank" rel="noopener"&gt;https://learn.microsoft.com/en-us/sql/relational-databases/sql-server-deadlocks-guide?view=sql-server-ver17&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Dynatrace Custom Extensions Creator:&lt;/P&gt;&lt;P&gt;&lt;A href="https://docs.dynatrace.com/docs/ingest-from/extensions/develop-your-extensions/custom-extensions-creator" target="_blank" rel="noopener"&gt;https://docs.dynatrace.com/docs/ingest-from/extensions/develop-your-extensions/custom-extensions-creator&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 15 Jul 2026 14:29:07 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Open-Q-A/How-to-get-Deadlock-Chain-in-SQL-Server/m-p/301967#M39264</guid>
      <dc:creator>Mohamed_Hamdy</dc:creator>
      <dc:date>2026-07-15T14:29:07Z</dc:date>
    </item>
  </channel>
</rss>

