<?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: Activiti h2 db increases over time in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/activiti-h2-db-increases-over-time/m-p/200639#M153769</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Here is what our process engine configuration looks like:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;code&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;bean id="dataSource"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; class="org.springframework.jdbc.datasource.SimpleDriverDataSource"&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; &amp;lt;property name="driverClass" value="org.h2.Driver" /&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; &amp;lt;property name="url" value="jdbc:h2:mem:activiti;DB_CLOSE_DELAY=-1;MVCC=TRUE" /&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; &amp;lt;property name="username" value="sa" /&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; &amp;lt;property name="password" value="" /&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &amp;lt;/bean&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt; &amp;lt;bean id="transactionManager"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; class="org.springframework.jdbc.datasource.DataSourceTransactionManager"&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; &amp;lt;property name="dataSource" ref="dataSource" /&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &amp;lt;/bean&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt; &amp;lt;bean id="processEngineConfiguration" class="org.activiti.spring.SpringProcessEngineConfiguration"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; depends-on="dataSource,transactionManager"&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; &amp;lt;property name="databaseType" value="h2" /&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; &amp;lt;property name="dataSource" ref="dataSource" /&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; &amp;lt;property name="transactionManager" ref="transactionManager" /&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; &amp;lt;property name="databaseSchemaUpdate" value="create-drop" /&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; &amp;lt;property name="jobExecutorActivate" value="false" /&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; &amp;lt;property name="history" value="none" /&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; &amp;lt;property name="deploymentResources" value="classpath*:activiti/*.bpmn" /&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &amp;lt;/bean&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;/code&amp;gt;&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 13 Feb 2015 00:43:55 GMT</pubDate>
    <dc:creator>fnoorie</dc:creator>
    <dc:date>2015-02-13T00:43:55Z</dc:date>
    <item>
      <title>Activiti h2 db increases over time</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/activiti-h2-db-increases-over-time/m-p/200638#M153768</link>
      <description>Hi,We have activiti integrated with our project and we see that if we fire over 2million requests the h2 db increases in size. Note: We have history as none.For our use case once one request is completed we dont want any data in the h2 db. Also we have one processEngine serving all the requests.</description>
      <pubDate>Thu, 12 Feb 2015 00:52:15 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/activiti-h2-db-increases-over-time/m-p/200638#M153768</guid>
      <dc:creator>fnoorie</dc:creator>
      <dc:date>2015-02-12T00:52:15Z</dc:date>
    </item>
    <item>
      <title>Re: Activiti h2 db increases over time</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/activiti-h2-db-increases-over-time/m-p/200639#M153769</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Here is what our process engine configuration looks like:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;code&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;bean id="dataSource"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; class="org.springframework.jdbc.datasource.SimpleDriverDataSource"&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; &amp;lt;property name="driverClass" value="org.h2.Driver" /&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; &amp;lt;property name="url" value="jdbc:h2:mem:activiti;DB_CLOSE_DELAY=-1;MVCC=TRUE" /&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; &amp;lt;property name="username" value="sa" /&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; &amp;lt;property name="password" value="" /&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &amp;lt;/bean&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt; &amp;lt;bean id="transactionManager"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; class="org.springframework.jdbc.datasource.DataSourceTransactionManager"&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; &amp;lt;property name="dataSource" ref="dataSource" /&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &amp;lt;/bean&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt; &amp;lt;bean id="processEngineConfiguration" class="org.activiti.spring.SpringProcessEngineConfiguration"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; depends-on="dataSource,transactionManager"&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; &amp;lt;property name="databaseType" value="h2" /&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; &amp;lt;property name="dataSource" ref="dataSource" /&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; &amp;lt;property name="transactionManager" ref="transactionManager" /&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; &amp;lt;property name="databaseSchemaUpdate" value="create-drop" /&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; &amp;lt;property name="jobExecutorActivate" value="false" /&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; &amp;lt;property name="history" value="none" /&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; &amp;lt;property name="deploymentResources" value="classpath*:activiti/*.bpmn" /&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &amp;lt;/bean&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;/code&amp;gt;&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Feb 2015 00:43:55 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/activiti-h2-db-increases-over-time/m-p/200639#M153769</guid>
      <dc:creator>fnoorie</dc:creator>
      <dc:date>2015-02-13T00:43:55Z</dc:date>
    </item>
    <item>
      <title>Re: Activiti h2 db increases over time</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/activiti-h2-db-increases-over-time/m-p/200640#M153770</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;BR /&gt;&lt;SPAN&gt;Is the issue DB vendor specific?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Martin&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Feb 2015 07:17:34 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/activiti-h2-db-increases-over-time/m-p/200640#M153770</guid>
      <dc:creator>martin_grofcik</dc:creator>
      <dc:date>2015-02-16T07:17:34Z</dc:date>
    </item>
    <item>
      <title>Re: Activiti h2 db increases over time</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/activiti-h2-db-increases-over-time/m-p/200641#M153771</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;&amp;gt;&amp;nbsp; if we fire over 2million requests &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;H2 is not a database to use for these kind of loads. Please switch to another db. If no history is stored, and process instances are completed the database should not be large in size.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Feb 2015 15:27:53 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/activiti-h2-db-increases-over-time/m-p/200641#M153771</guid>
      <dc:creator>jbarrez</dc:creator>
      <dc:date>2015-02-16T15:27:53Z</dc:date>
    </item>
    <item>
      <title>Re: Activiti h2 db increases over time</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/activiti-h2-db-increases-over-time/m-p/200642#M153772</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;For our process we need an in memory DB as we dont want to take the overhead of DB maintenance. We didn't find anything other than h2 available (supported by activiti). &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Here is the breakdown of what is increasing over time (size in bytes):&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ACT_GE_BYTEARRAY 259,185,536&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ACT_RU_VARIABLE&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 259,186,760&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ACT_RU_EXECUTION&amp;nbsp;&amp;nbsp; 259,187,568&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ACT_GE_PROPERTY&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 428,208&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;We are wondering why the db is increasing over time since we are not maintaining any history and the processes complete without user intervention.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Note: We do store process variables but our understanding is that once the process completes the variables are deleted from the db.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Feb 2015 18:42:52 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/activiti-h2-db-increases-over-time/m-p/200642#M153772</guid>
      <dc:creator>fnoorie</dc:creator>
      <dc:date>2015-02-16T18:42:52Z</dc:date>
    </item>
    <item>
      <title>Re: Activiti h2 db increases over time</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/activiti-h2-db-increases-over-time/m-p/200643#M153773</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;The table you mention are runtime tables. What is in them? Is there data in them? If not, it could be H2 is simply bad at removing data, not much we can do about that.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;gt; We do store process variables but our understanding is that once the process completes the variables are deleted from the db.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;correct.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Feb 2015 16:19:20 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/activiti-h2-db-increases-over-time/m-p/200643#M153773</guid>
      <dc:creator>jbarrez</dc:creator>
      <dc:date>2015-02-18T16:19:20Z</dc:date>
    </item>
    <item>
      <title>Re: Activiti h2 db increases over time</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/activiti-h2-db-increases-over-time/m-p/200644#M153774</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;"&amp;gt; We do store process variables but our understanding is that once the process completes the variables are deleted from the db.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;correct."&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Is this true for non primitive variables as well? Most of our process variables are strings&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Feb 2015 16:54:12 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/activiti-h2-db-increases-over-time/m-p/200644#M153774</guid>
      <dc:creator>fnoorie</dc:creator>
      <dc:date>2015-02-18T16:54:12Z</dc:date>
    </item>
    <item>
      <title>Re: Activiti h2 db increases over time</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/activiti-h2-db-increases-over-time/m-p/200645#M153775</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;It doesn't matter which variables types, all variables in Activiti are stored in the db, primitive or not&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 28 Feb 2015 08:13:11 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/activiti-h2-db-increases-over-time/m-p/200645#M153775</guid>
      <dc:creator>jbarrez</dc:creator>
      <dc:date>2015-02-28T08:13:11Z</dc:date>
    </item>
  </channel>
</rss>

