<?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 control the poling interval on the ACT_RU_JOB table in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/how-to-control-the-poling-interval-on-the-act-ru-job-table/m-p/209480#M162610</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I have a work flow with an expiration timer set on it. I see that the activiti polls on the ACT_RU_JOB. I see that the below two queries are being executed every time it polls.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;select *&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;from ACT_RU_JOB&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;where (RETRIES_ &amp;gt; 0) and (DUEDATE_ is null or DUEDATE_ &amp;lt; :1) and (LOCK_OWNER_ is null or LOCK_EXP_TIME_ &amp;lt; :2) and (RETRIES_ &amp;gt; 0)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;SQL Details: 3mwmj7bu8yw9w&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;select *&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;from ACT_RU_JOB&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;where (TYPE_ = 'timer') and (DUEDATE_ is not null) and (DUEDATE_ &amp;lt; :1) and (LOCK_OWNER_ is null or LOCK_EXP_TIME_ &amp;lt; :2) and (RETRIES_ &amp;gt; 0) order by DUEDATE_&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;However I have large number of records in those tables and because activiti is polling I see that the above two queries are executing thousand of times in a soan of 15 mins. This is causing about 80% of my CPU time. Is there a way to manage the time interval at which activiti will poll for these tabels? what do you suggest so that these queries are not executed that frequently ?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Your advise is highly appreciated .&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks in advance !!!&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Rajesh&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 25 Feb 2015 15:55:46 GMT</pubDate>
    <dc:creator>rajeshiv</dc:creator>
    <dc:date>2015-02-25T15:55:46Z</dc:date>
    <item>
      <title>How to control the poling interval on the ACT_RU_JOB table</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-control-the-poling-interval-on-the-act-ru-job-table/m-p/209480#M162610</link>
      <description>Hi,I have a work flow with an expiration timer set on it. I see that the activiti polls on the ACT_RU_JOB. I see that the below two queries are being executed every time it polls.select *from ACT_RU_JOBwhere (RETRIES_ &amp;gt; 0) and (DUEDATE_ is null or DUEDATE_ &amp;lt; :1) and (LOCK_OWNER_ is null or LOC</description>
      <pubDate>Wed, 25 Feb 2015 15:55:46 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-control-the-poling-interval-on-the-act-ru-job-table/m-p/209480#M162610</guid>
      <dc:creator>rajeshiv</dc:creator>
      <dc:date>2015-02-25T15:55:46Z</dc:date>
    </item>
    <item>
      <title>Re: How to control the poling interval on the ACT_RU_JOB table</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-control-the-poling-interval-on-the-act-ru-job-table/m-p/209481#M162611</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;See my answer in your other, exactly the same, post.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 28 Feb 2015 09:34:28 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-control-the-poling-interval-on-the-act-ru-job-table/m-p/209481#M162611</guid>
      <dc:creator>jbarrez</dc:creator>
      <dc:date>2015-02-28T09:34:28Z</dc:date>
    </item>
  </channel>
</rss>

