<?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: Adding index on ACT_HI_PROCINST table in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/adding-index-on-act-hi-procinst-table/m-p/41726#M17495</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Agree with what Greg mentioned above. If historical information is required for other applications/processes,&amp;nbsp;it is best to be stored externally in a business data store&amp;nbsp;OR internally in the same database but custom tables (See &lt;A class="link-titled" href="https://www.activiti.org/userguide/#advanced.custom.sql.queries" title="https://www.activiti.org/userguide/#advanced.custom.sql.queries" rel="nofollow noopener noreferrer"&gt;Activiti User Guide&lt;/A&gt;&amp;nbsp;for more details on this option) which are optimized for your queries.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Though this post is a bit old, it is still very relevant when building/designing business processes -&amp;nbsp;&lt;SPAN style="font-size: 11pt; color: #1155cc; background-color: transparent; font-weight: 400; text-decoration: underline;"&gt;&lt;A href="http://airquill.io/2014/06/29/Storing-data-in-processes.html" rel="nofollow noopener noreferrer"&gt;http://airquill.io/2014/06/29/Storing-data-in-processes.html&lt;/A&gt;&lt;A href="http://airquill.io/2014/06/29/Storing-data-in-processes.html" rel="nofollow noopener noreferrer"&gt;http://airquill.io/2014/06/29/Storing-data-in-processes.html&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: transparent; color: #3d3d3d; font-weight: 400; font-size: 11pt;"&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: transparent; color: #3d3d3d; font-weight: 400; font-size: 11pt;"&gt;Ciju&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 11 Apr 2017 13:26:52 GMT</pubDate>
    <dc:creator>cjose</dc:creator>
    <dc:date>2017-04-11T13:26:52Z</dc:date>
    <item>
      <title>Adding index on ACT_HI_PROCINST table</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/adding-index-on-act-hi-procinst-table/m-p/41724#M17493</link>
      <description>We are currently experiencing a major issue regarding the ACT_HI_PROCINST&amp;nbsp;historization table from Activiti.The table has ~15 mio rows. We are querying the table in one of our activiti processes and since the table is huge, the time to query is really long.We will be cleaning up the table to get rid</description>
      <pubDate>Mon, 10 Apr 2017 10:18:56 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/adding-index-on-act-hi-procinst-table/m-p/41724#M17493</guid>
      <dc:creator>andreea_bogdan</dc:creator>
      <dc:date>2017-04-10T10:18:56Z</dc:date>
    </item>
    <item>
      <title>Re: Adding index on ACT_HI_PROCINST table</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/adding-index-on-act-hi-procinst-table/m-p/41725#M17494</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Andreaa,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Go ahead and add the index, it will cause no problems at all.&lt;/P&gt;&lt;P&gt;In fact, for environments that retain a large history (such as yours), it is typical that you would add this index.&lt;/P&gt;&lt;P&gt;As to why it isn't there by default, generally you would not want to maintain millions of rows of history data. More often than not you would move it into an archive store.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Greg&lt;/P&gt;&lt;P&gt;&lt;A href="https://migration33.stage.lithium.com/t5/tag/bp3/tg-p"&gt;&lt;/A&gt;‌&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Apr 2017 19:47:31 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/adding-index-on-act-hi-procinst-table/m-p/41725#M17494</guid>
      <dc:creator>gdharley</dc:creator>
      <dc:date>2017-04-10T19:47:31Z</dc:date>
    </item>
    <item>
      <title>Re: Adding index on ACT_HI_PROCINST table</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/adding-index-on-act-hi-procinst-table/m-p/41726#M17495</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Agree with what Greg mentioned above. If historical information is required for other applications/processes,&amp;nbsp;it is best to be stored externally in a business data store&amp;nbsp;OR internally in the same database but custom tables (See &lt;A class="link-titled" href="https://www.activiti.org/userguide/#advanced.custom.sql.queries" title="https://www.activiti.org/userguide/#advanced.custom.sql.queries" rel="nofollow noopener noreferrer"&gt;Activiti User Guide&lt;/A&gt;&amp;nbsp;for more details on this option) which are optimized for your queries.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Though this post is a bit old, it is still very relevant when building/designing business processes -&amp;nbsp;&lt;SPAN style="font-size: 11pt; color: #1155cc; background-color: transparent; font-weight: 400; text-decoration: underline;"&gt;&lt;A href="http://airquill.io/2014/06/29/Storing-data-in-processes.html" rel="nofollow noopener noreferrer"&gt;http://airquill.io/2014/06/29/Storing-data-in-processes.html&lt;/A&gt;&lt;A href="http://airquill.io/2014/06/29/Storing-data-in-processes.html" rel="nofollow noopener noreferrer"&gt;http://airquill.io/2014/06/29/Storing-data-in-processes.html&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: transparent; color: #3d3d3d; font-weight: 400; font-size: 11pt;"&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: transparent; color: #3d3d3d; font-weight: 400; font-size: 11pt;"&gt;Ciju&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Apr 2017 13:26:52 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/adding-index-on-act-hi-procinst-table/m-p/41726#M17495</guid>
      <dc:creator>cjose</dc:creator>
      <dc:date>2017-04-11T13:26:52Z</dc:date>
    </item>
  </channel>
</rss>

