<?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 using custom table instead of ACT_RU_VARIABLE in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/using-custom-table-instead-of-act-ru-variable/m-p/237106#M190236</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; We use activiti for our business process. We were using ACT_RU_VARIABLE(in the form of key,value pairs) to store information related to a process instance. And a lot of information is currently being stored in that way which made the dashboard(activiti explorer) very slow. So we decided to create a new table for that data with those keys as columns.We tried quite a few ways to go about that change: &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Approach 1-&amp;gt;Firstly we tried to tweak myBatis xml files(VariableInstance,Task and Execution) to use our new table instead of ACT_RU_VARIABLE. Inserts and updates are working fine(we were inserting into both ACT_RU_VARIABLE and our new table). We couldn't get selects to work.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Approach 2-&amp;gt;We then tried creating a view of ACT_RU_VARIABLE from our new table. But this was also of no use.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;My question is how to get the first approach working?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 29 Mar 2016 12:28:27 GMT</pubDate>
    <dc:creator>vamsidharyeddu</dc:creator>
    <dc:date>2016-03-29T12:28:27Z</dc:date>
    <item>
      <title>using custom table instead of ACT_RU_VARIABLE</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/using-custom-table-instead-of-act-ru-variable/m-p/237106#M190236</link>
      <description>Hello,&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; We use activiti for our business process. We were using ACT_RU_VARIABLE(in the form of key,value pairs) to store information related to a process instance. And a lot of information is currently being stored in that way which made the dashboard(activiti explorer) very slow. So we decid</description>
      <pubDate>Tue, 29 Mar 2016 12:28:27 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/using-custom-table-instead-of-act-ru-variable/m-p/237106#M190236</guid>
      <dc:creator>vamsidharyeddu</dc:creator>
      <dc:date>2016-03-29T12:28:27Z</dc:date>
    </item>
    <item>
      <title>Re: using custom table instead of ACT_RU_VARIABLE</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/using-custom-table-instead-of-act-ru-variable/m-p/237107#M190237</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Vamsidhar, &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I don't think having lot of information in a table will slow down the application since you wont be fetching all the information in the table onto the dashboard. Also it is not recommended to have your own table and tweak the activiti source code since the community or the activiti wont support the implementations. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;To add to it, another issue would be when you have to upgrade to newer version of Activiti you will have to tweak the source code again. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;We have been using activiti with postgres and have close to 30k+ records in that table but still we never faced any issues in terms of application getting slow. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;So all I would say is that the approach you have taken is not recommened or suggested. Try to find the actual reason which is causing an issue for you and evaluate other options for solving it. &lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Mar 2016 05:44:18 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/using-custom-table-instead-of-act-ru-variable/m-p/237107#M190237</guid>
      <dc:creator>hari</dc:creator>
      <dc:date>2016-03-30T05:44:18Z</dc:date>
    </item>
    <item>
      <title>Re: using custom table instead of ACT_RU_VARIABLE</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/using-custom-table-instead-of-act-ru-variable/m-p/237108#M190238</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;@ asriharikiran &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;We have around 300K+ records in ACT_RU_VARIABLE due to which we are facing this issue. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Is there any other way to do this?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 31 Mar 2016 06:34:23 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/using-custom-table-instead-of-act-ru-variable/m-p/237108#M190238</guid>
      <dc:creator>jyotigupta</dc:creator>
      <dc:date>2016-03-31T06:34:23Z</dc:date>
    </item>
    <item>
      <title>Re: using custom table instead of ACT_RU_VARIABLE</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/using-custom-table-instead-of-act-ru-variable/m-p/237109#M190239</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Jyoti, &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;3 Lakh records should not be a big deal for a database. I would recommend to index your tables.Also go through the below link and see if it helps. &lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://www.catswhocode.com/blog/10-sql-tips-to-speed-up-your-database" rel="nofollow noopener noreferrer"&gt;http://www.catswhocode.com/blog/10-sql-tips-to-speed-up-your-database&lt;/A&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Apr 2016 07:17:41 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/using-custom-table-instead-of-act-ru-variable/m-p/237109#M190239</guid>
      <dc:creator>hari</dc:creator>
      <dc:date>2016-04-04T07:17:41Z</dc:date>
    </item>
  </channel>
</rss>

