<?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 Re: Is it possible to monitor slow queries and discover the code (and line) that originated this query? in Open Q&amp;A</title>
    <link>https://community.dynatrace.com/t5/Open-Q-A/Is-it-possible-to-monitor-slow-queries-and-discover-the-code-and/m-p/215218#M26907</link>
    <description>&lt;P&gt;Nowadays you should also be able to get all the database queries and their response times and other metrics, from the database details under Database. If the information displayed is not specific enough, you can create your own multidimensional analysis views, and save them for the service.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="fstekelenburg_0-1686924513149.png" style="width: 400px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/12294i1F9DDA9B7E29F605/image-size/medium?v=v2&amp;amp;px=400" role="button" title="fstekelenburg_0-1686924513149.png" alt="fstekelenburg_0-1686924513149.png" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;create your own multidimensional analysis views, and save:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="DB mda resp time.PNG" style="width: 400px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/12296i12DD70099CB2F6DD/image-size/medium?v=v2&amp;amp;px=400" role="button" title="DB mda resp time.PNG" alt="DB mda resp time.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 16 Jun 2023 14:11:19 GMT</pubDate>
    <dc:creator>fstekelenburg</dc:creator>
    <dc:date>2023-06-16T14:11:19Z</dc:date>
    <item>
      <title>Is it possible to monitor slow queries and discover the code (and line) that originated this query?</title>
      <link>https://community.dynatrace.com/t5/Open-Q-A/Is-it-possible-to-monitor-slow-queries-and-discover-the-code-and/m-p/118364#M11814</link>
      <description>&lt;P&gt;Is there a way I can monitor slow queries on the database and discover which code originated this slow query?&lt;/P&gt;&lt;P&gt;I can see some queries on the Database section and get some information from PurePath on Transactions and Services, but I can't seem to find a way to know where the query was generated, like a complete stacktrace that shows which files (and which line) generated this query (I'm running a PHP application).&lt;/P&gt;&lt;P&gt;Is it possible to discover that with Dynatrace?&lt;/P&gt;</description>
      <pubDate>Wed, 28 Oct 2020 18:44:12 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Open-Q-A/Is-it-possible-to-monitor-slow-queries-and-discover-the-code-and/m-p/118364#M11814</guid>
      <dc:creator>rafael_pires</dc:creator>
      <dc:date>2020-10-28T18:44:12Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to monitor slow queries and discover the code (and line) that originated this query?</title>
      <link>https://community.dynatrace.com/t5/Open-Q-A/Is-it-possible-to-monitor-slow-queries-and-discover-the-code-and/m-p/118365#M11815</link>
      <description>&lt;P&gt;Hi Rafael,&lt;BR /&gt;&lt;BR /&gt;This should be possible by performing a "Service Backtrace" within Dynatrace. See more on that here: &lt;A rel="noopener noreferrer" href="https://www.dynatrace.com/support/help/shortlink/service-backtrace" target="_blank"&gt;https://www.dynatrace.com/support/help/shortlink/service-backtrace&lt;/A&gt; and here: &lt;A rel="noopener noreferrer" href="https://www.dynatrace.com/support/help/shortlink/database-services#database-service-backtrace" target="_blank"&gt;https://www.dynatrace.com/support/help/shortlink/database-services#database-service-backtrace&lt;/A&gt;&lt;/P&gt;&lt;P&gt;More on how Dynatrace detects the database activity here: &lt;A rel="noopener noreferrer" href="https://www.dynatrace.com/support/help/shortlink/database-detection" target="_blank"&gt;https://www.dynatrace.com/support/help/shortlink/database-detection&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;As your question relates to our Dynatrace SaaS and Managed offerings, I'll move this question to &lt;A rel="noopener noreferrer" href="https://answers.dynatrace.com/spaces/482/dynatrace-open-qa.html" target="_blank"&gt;the appropriate forum.&lt;/A&gt; (Because "AppMon &amp;amp; UEM Q&amp;amp;A" relates to one of our classic products.)&lt;/P&gt;&lt;P&gt;Regards,&lt;BR /&gt;Andrew M.&lt;/P&gt;</description>
      <pubDate>Wed, 28 Oct 2020 22:52:23 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Open-Q-A/Is-it-possible-to-monitor-slow-queries-and-discover-the-code-and/m-p/118365#M11815</guid>
      <dc:creator>The_AM</dc:creator>
      <dc:date>2020-10-28T22:52:23Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to monitor slow queries and discover the code (and line) that originated this query?</title>
      <link>https://community.dynatrace.com/t5/Open-Q-A/Is-it-possible-to-monitor-slow-queries-and-discover-the-code-and/m-p/118366#M11816</link>
      <description>&lt;P&gt;In Dynatrace you don't get it at the Purepath level, even when seen in "Code level". But given that PHP is (normally) interpreted, it might be possible. So probably this might be better considered an RFE.&lt;/P&gt;&lt;P&gt;It's a different case in errors, where that information is available:&lt;/P&gt;&lt;P&gt;&lt;IMG src="https://community.dynatrace.com/legacyfs/online/27059-1603982893870.png" /&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 29 Oct 2020 14:48:41 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Open-Q-A/Is-it-possible-to-monitor-slow-queries-and-discover-the-code-and/m-p/118366#M11816</guid>
      <dc:creator>AntonioSousa</dc:creator>
      <dc:date>2020-10-29T14:48:41Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to monitor slow queries and discover the code (and line) that originated this query?</title>
      <link>https://community.dynatrace.com/t5/Open-Q-A/Is-it-possible-to-monitor-slow-queries-and-discover-the-code-and/m-p/118367#M11817</link>
      <description>&lt;P&gt;Actually, you can do something similar, wont give you the exact line of code, but you can see purepath:&lt;/P&gt;&lt;P&gt;&lt;IMG src="https://community.dynatrace.com/legacyfs/online/27037-1603986671851.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;or an overall of all the calls and add a filter for calls to an specific DB and specific response time:&lt;/P&gt;&lt;P&gt;&lt;IMG src="https://community.dynatrace.com/legacyfs/online/27020-1603986813764.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;From there you can see the callstack or even download the source. The only thing that wont showup is the code line i think.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 29 Oct 2020 15:54:59 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Open-Q-A/Is-it-possible-to-monitor-slow-queries-and-discover-the-code-and/m-p/118367#M11817</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-10-29T15:54:59Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to monitor slow queries and discover the code (and line) that originated this query?</title>
      <link>https://community.dynatrace.com/t5/Open-Q-A/Is-it-possible-to-monitor-slow-queries-and-discover-the-code-and/m-p/215218#M26907</link>
      <description>&lt;P&gt;Nowadays you should also be able to get all the database queries and their response times and other metrics, from the database details under Database. If the information displayed is not specific enough, you can create your own multidimensional analysis views, and save them for the service.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="fstekelenburg_0-1686924513149.png" style="width: 400px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/12294i1F9DDA9B7E29F605/image-size/medium?v=v2&amp;amp;px=400" role="button" title="fstekelenburg_0-1686924513149.png" alt="fstekelenburg_0-1686924513149.png" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;create your own multidimensional analysis views, and save:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="DB mda resp time.PNG" style="width: 400px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/12296i12DD70099CB2F6DD/image-size/medium?v=v2&amp;amp;px=400" role="button" title="DB mda resp time.PNG" alt="DB mda resp time.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 16 Jun 2023 14:11:19 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Open-Q-A/Is-it-possible-to-monitor-slow-queries-and-discover-the-code-and/m-p/215218#M26907</guid>
      <dc:creator>fstekelenburg</dc:creator>
      <dc:date>2023-06-16T14:11:19Z</dc:date>
    </item>
  </channel>
</rss>

