<?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 Debug API call - sql statement in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/debug-api-call-sql-statement/m-p/119988#M32976</link>
    <description>&lt;P&gt;We have ACS 7.1 version and while running some API calls, we see the runtimes going over 2-3 minutes. We do have a huge database (over 1TB) and suspect sql queries take long time to return. Is there a way , we can debug the sql that gets run during an API call and get the time it takes to return results?&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there a package where we can add logger and expose all sqls running and time they require to complete?&lt;/P&gt;</description>
    <pubDate>Mon, 26 Jun 2023 13:43:21 GMT</pubDate>
    <dc:creator>VS</dc:creator>
    <dc:date>2023-06-26T13:43:21Z</dc:date>
    <item>
      <title>Debug API call - sql statement</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/debug-api-call-sql-statement/m-p/119988#M32976</link>
      <description>&lt;P&gt;We have ACS 7.1 version and while running some API calls, we see the runtimes going over 2-3 minutes. We do have a huge database (over 1TB) and suspect sql queries take long time to return. Is there a way , we can debug the sql that gets run during an API call and get the time it takes to return results?&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there a package where we can add logger and expose all sqls running and time they require to complete?&lt;/P&gt;</description>
      <pubDate>Mon, 26 Jun 2023 13:43:21 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/debug-api-call-sql-statement/m-p/119988#M32976</guid>
      <dc:creator>VS</dc:creator>
      <dc:date>2023-06-26T13:43:21Z</dc:date>
    </item>
    <item>
      <title>Re: Debug API call - sql statement</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/debug-api-call-sql-statement/m-p/119989#M32977</link>
      <description>&lt;P&gt;It's a better approach to use DB Tools for that purpose. What DB Engine are you using?&lt;/P&gt;</description>
      <pubDate>Tue, 11 Jul 2023 10:17:20 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/debug-api-call-sql-statement/m-p/119989#M32977</guid>
      <dc:creator>angelborroy</dc:creator>
      <dc:date>2023-07-11T10:17:20Z</dc:date>
    </item>
    <item>
      <title>Re: Debug API call - sql statement</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/debug-api-call-sql-statement/m-p/119990#M32978</link>
      <description>&lt;P&gt;We are using mysql 8.x version on AWS. We have tried to check on the slow queries but not getting any definite answers from DBAs. If somehow we can expose sqls being fired from ACS, that would help to trace which requests take longer time.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 08 Aug 2023 13:39:44 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/debug-api-call-sql-statement/m-p/119990#M32978</guid>
      <dc:creator>VS</dc:creator>
      <dc:date>2023-08-08T13:39:44Z</dc:date>
    </item>
    <item>
      <title>Re: Debug API call - sql statement</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/debug-api-call-sql-statement/m-p/119991#M32979</link>
      <description>&lt;P&gt;Not sure if this is related but wanted to share an experience, we have seen similar issue with mysql in the past with a large repository (based out of 5.2) where queries were often slow and ends in deadlocks. Nothing helped even after several config changes and db side changes And we decided to move from MySql to postgresql after discussion with Alfresco support. . And that move fixed these issues.&amp;nbsp;&lt;SPAN&gt;Alfresco recommends to prefer Postgresql compared to mysql.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 09 Aug 2023 12:04:10 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/debug-api-call-sql-statement/m-p/119991#M32979</guid>
      <dc:creator>abhinavmishra14</dc:creator>
      <dc:date>2023-08-09T12:04:10Z</dc:date>
    </item>
  </channel>
</rss>

