<?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 Why does dynatrace shows 2x SQL Commit in Extensions</title>
    <link>https://community.dynatrace.com/t5/Extensions/Why-does-dynatrace-shows-2x-SQL-Commit/m-p/294255#M7034</link>
    <description>&lt;DIV&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I am investigating a database issue where commit operations seem to take too much time.&lt;/P&gt;&lt;P&gt;My application creates two transactions. First, it starts the main transaction. Then it starts a second transaction, which commits after performing the first insert.&lt;/P&gt;&lt;P&gt;I am trying to understand why, in the distributed traces, I can see a double commit after the first insert, and why there is no commit shown after the second insert—where the main transaction should normally end and commit.&lt;/P&gt;&lt;/DIV&gt;</description>
    <pubDate>Thu, 05 Feb 2026 15:05:07 GMT</pubDate>
    <dc:creator>danielkl</dc:creator>
    <dc:date>2026-02-05T15:05:07Z</dc:date>
    <item>
      <title>Why does dynatrace shows 2x SQL Commit</title>
      <link>https://community.dynatrace.com/t5/Extensions/Why-does-dynatrace-shows-2x-SQL-Commit/m-p/294255#M7034</link>
      <description>&lt;DIV&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I am investigating a database issue where commit operations seem to take too much time.&lt;/P&gt;&lt;P&gt;My application creates two transactions. First, it starts the main transaction. Then it starts a second transaction, which commits after performing the first insert.&lt;/P&gt;&lt;P&gt;I am trying to understand why, in the distributed traces, I can see a double commit after the first insert, and why there is no commit shown after the second insert—where the main transaction should normally end and commit.&lt;/P&gt;&lt;/DIV&gt;</description>
      <pubDate>Thu, 05 Feb 2026 15:05:07 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Extensions/Why-does-dynatrace-shows-2x-SQL-Commit/m-p/294255#M7034</guid>
      <dc:creator>danielkl</dc:creator>
      <dc:date>2026-02-05T15:05:07Z</dc:date>
    </item>
    <item>
      <title>Re: Why does dynatrace shows 2x SQL Commit</title>
      <link>https://community.dynatrace.com/t5/Extensions/Why-does-dynatrace-shows-2x-SQL-Commit/m-p/295335#M7097</link>
      <description>&lt;P&gt;hi&amp;nbsp;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/100626"&gt;@danielkl&lt;/a&gt;,&amp;nbsp;&lt;/P&gt;&lt;P&gt;Trying to summarize the understanding for the same.&lt;/P&gt;&lt;P&gt;1. &lt;STRONG&gt;Application Opens Two Transactions&lt;/STRONG&gt;&lt;BR /&gt;If the application starts a main transaction and then a nested/secondary transaction, each performs its own COMMIT. Dynatrace detects both and aggregates them as 2× COMMIT when they occur consecutively.&lt;BR /&gt;2. &lt;STRONG&gt;Autocommit Enabled (DB Driver Behavior)&lt;/STRONG&gt;&lt;BR /&gt;When &lt;STRONG&gt;autocommit&lt;/STRONG&gt; is ON, the database driver may automatically commit after a statement, and the application framework may issue an explicit commit afterwards. This results in two commit operations showing as 2× in Dynatrace.&lt;BR /&gt;3. &lt;STRONG&gt;Connection Pool / Framework Commit-on-Close&lt;/STRONG&gt;&lt;BR /&gt;Some frameworks perform a commit when commit() is called and again when the connection is closed or returned to the pool. Dynatrace identifies both operations and aggregates them.&lt;BR /&gt;4. &lt;STRONG&gt;Dynatrace Aggregation Logic&lt;/STRONG&gt;&lt;BR /&gt;Dynatrace groups identical, consecutive SQL operations (such as repeated commits) for cleaner visualization, which is similar to how it aggregates repeated or identical queries in PurePaths.&lt;/P&gt;&lt;DIV&gt;The application may issue multiple COMMIT operations, and Dynatrace aggregates them into a single ‘2× COMMIT’ entry for clearer visualization.&lt;/DIV&gt;&lt;DIV&gt;&lt;BR /&gt;Hope this helps you to understand.&lt;/DIV&gt;&lt;DIV&gt;Thanks&lt;/DIV&gt;</description>
      <pubDate>Thu, 26 Feb 2026 13:17:59 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Extensions/Why-does-dynatrace-shows-2x-SQL-Commit/m-p/295335#M7097</guid>
      <dc:creator>AravindhanV</dc:creator>
      <dc:date>2026-02-26T13:17:59Z</dc:date>
    </item>
  </channel>
</rss>

