<?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 Activiti DB queries causing some max spikes of CPU in production environment in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/activiti-db-queries-causing-some-max-spikes-of-cpu-in-production/m-p/24007#M10447</link>
    <description>&lt;P&gt;Please take a look at the below findings. In summary, the problem is in the query itself due to the datatypes that are defined in the ACTIVITI V6.0 tables.&lt;/P&gt;&lt;P&gt;The following tests were conducted on ACTIVITI V6.0 DB&lt;BR /&gt;Existing query took&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;9 minutes 53 seconds&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;with (50 eDTUs)!&lt;BR /&gt;select *&lt;BR /&gt;from ACT_RU_VARIABLE&lt;BR /&gt;where EXECUTION_ID_ = 10000074&lt;BR /&gt;and NAME_= 'abccd'&lt;BR /&gt;and TASK_ID_ is null;&lt;/P&gt;&lt;P&gt;New query took&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;3 milliseconds&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;with (50 eDTUs)! No index was created.&lt;BR /&gt;select *&lt;BR /&gt;from ACT_RU_VARIABLE&lt;BR /&gt;where EXECUTION_ID_ = '10000074'&lt;BR /&gt;and NAME_= 'abccd'&lt;BR /&gt;and TASK_ID_ is null;&lt;/P&gt;&lt;P&gt;Since the DB tables and queries are managed by Activiti itself, Can you guys please suggest how should be address this?&lt;/P&gt;&lt;P&gt;We thought of changing the datatype but we are not sure how this is going to impact on functional Activiti workflows, so wanted to have your insights as well on it.&lt;/P&gt;</description>
    <pubDate>Tue, 08 Jun 2021 07:29:05 GMT</pubDate>
    <dc:creator>gopal_patil</dc:creator>
    <dc:date>2021-06-08T07:29:05Z</dc:date>
    <item>
      <title>Activiti DB queries causing some max spikes of CPU in production environment</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/activiti-db-queries-causing-some-max-spikes-of-cpu-in-production/m-p/24007#M10447</link>
      <description>&lt;P&gt;Please take a look at the below findings. In summary, the problem is in the query itself due to the datatypes that are defined in the ACTIVITI V6.0 tables.&lt;/P&gt;&lt;P&gt;The following tests were conducted on ACTIVITI V6.0 DB&lt;BR /&gt;Existing query took&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;9 minutes 53 seconds&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;with (50 eDTUs)!&lt;BR /&gt;select *&lt;BR /&gt;from ACT_RU_VARIABLE&lt;BR /&gt;where EXECUTION_ID_ = 10000074&lt;BR /&gt;and NAME_= 'abccd'&lt;BR /&gt;and TASK_ID_ is null;&lt;/P&gt;&lt;P&gt;New query took&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;3 milliseconds&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;with (50 eDTUs)! No index was created.&lt;BR /&gt;select *&lt;BR /&gt;from ACT_RU_VARIABLE&lt;BR /&gt;where EXECUTION_ID_ = '10000074'&lt;BR /&gt;and NAME_= 'abccd'&lt;BR /&gt;and TASK_ID_ is null;&lt;/P&gt;&lt;P&gt;Since the DB tables and queries are managed by Activiti itself, Can you guys please suggest how should be address this?&lt;/P&gt;&lt;P&gt;We thought of changing the datatype but we are not sure how this is going to impact on functional Activiti workflows, so wanted to have your insights as well on it.&lt;/P&gt;</description>
      <pubDate>Tue, 08 Jun 2021 07:29:05 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/activiti-db-queries-causing-some-max-spikes-of-cpu-in-production/m-p/24007#M10447</guid>
      <dc:creator>gopal_patil</dc:creator>
      <dc:date>2021-06-08T07:29:05Z</dc:date>
    </item>
  </channel>
</rss>

