<?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: Reduce PostGreSQL DataBase size. Increase more than 1 GB/day. in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/reduce-postgresql-database-size-increase-more-than-1-gb-day/m-p/97513#M28528</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;Sometimes trashcan is opening without errors and I can delete a couple of documents. But I cannot understand why one time is open another time is not open - return error. May be it is related with database load I don't know.&lt;/P&gt;&lt;P&gt;In next days will do full vacuum, I hope this will help.&lt;/P&gt;&lt;P&gt;In parallel I have increased Read time out for alfresco, I hope increased time out also will help. Will see : ).&lt;/P&gt;&lt;P&gt;I'm an admin not dev person. Can do bash scripts but cannot do JS scripts : ).&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Yordan&lt;/P&gt;</description>
    <pubDate>Thu, 17 Oct 2019 12:07:56 GMT</pubDate>
    <dc:creator>jordanvichev</dc:creator>
    <dc:date>2019-10-17T12:07:56Z</dc:date>
    <item>
      <title>Reduce PostGreSQL DataBase size. Increase more than 1 GB/day.</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/reduce-postgresql-database-size-increase-more-than-1-gb-day/m-p/97509#M28524</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;We are using Alfresco Community with PostGreSQL database.&lt;/P&gt;&lt;P&gt;Community - 5.0.0 (d r99759-b2)&lt;/P&gt;&lt;P&gt;psql (PostgreSQL) 9.4.5&lt;/P&gt;&lt;P&gt;solr-spec4.9.1&lt;/P&gt;&lt;P&gt;Our database is too big - 500 GB. We do Full Vacuum every 3 months and reduce it around with 100 GB.&lt;/P&gt;&lt;P&gt;TrashCan is not working(Alfresco Share -&amp;gt; Administrator -&amp;gt; MyProfile -&amp;gt; Trashcan - Error loading items) and we cannot delete files in trash.&lt;/P&gt;&lt;P&gt;In Solr Index for "alfresco core" you can see how many Docs we have:&lt;/P&gt;&lt;P&gt;lastModified:less than a minute ago.&lt;BR /&gt;version:1697567.&lt;BR /&gt;numDocs:44254550.&lt;BR /&gt;maxDoc:44847057.&lt;BR /&gt;deletedDocs:592507&lt;/P&gt;&lt;P&gt;"archive core":&lt;/P&gt;&lt;P&gt;lastModified:2 minutes ago.&lt;BR /&gt;version:1966437.&lt;BR /&gt;numDocs:30422800.&lt;BR /&gt;maxDoc:30728112.&lt;BR /&gt;deletedDocs:305312&lt;/P&gt;&lt;P&gt;We are using auditing and workflows and uploading pictures in alfresco.&lt;/P&gt;&lt;P&gt;We do "partitioning" of alf_node_properties table because it has too many rows and it is the biggest table in database.&lt;/P&gt;&lt;P&gt;Every parted table alf_node_properties_x has 1 000 000 rows.&lt;/P&gt;&lt;P&gt;Summary of rows:&lt;/P&gt;&lt;P&gt;alfresco=&amp;gt; select count(*) from alf_node_properties;&lt;BR /&gt;count&lt;BR /&gt;-----------&lt;BR /&gt;943517340&lt;BR /&gt;(1 row)&lt;/P&gt;&lt;P&gt;Please give me a hint what we should do to reduce this big table?&lt;/P&gt;&lt;P&gt;There are so many rows and everything works with this table, so we see many locks in database.&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;&lt;P&gt;Yordan Vichev&lt;/P&gt;</description>
      <pubDate>Wed, 09 Oct 2019 07:15:15 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/reduce-postgresql-database-size-increase-more-than-1-gb-day/m-p/97509#M28524</guid>
      <dc:creator>jordanvichev</dc:creator>
      <dc:date>2019-10-09T07:15:15Z</dc:date>
    </item>
    <item>
      <title>Re: Reduce PostGreSQL DataBase size. Increase more than 1 GB/day.</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/reduce-postgresql-database-size-increase-more-than-1-gb-day/m-p/97510#M28525</link>
      <description>&lt;P&gt;You can configure the trashcan cleaner using the following&lt;/P&gt;&lt;P&gt;&lt;A href="https://docs.alfresco.com/6.0/concepts/trashcan-cleaner.html" target="_blank" rel="nofollow noopener noreferrer"&gt;https://docs.alfresco.com/6.0/concepts/trashcan-cleaner.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;it will help you remove deleted files and associated records from the database.&lt;/P&gt;&lt;P&gt;This will reduce some amount of database size.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Kintu&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.contcentric.com" target="_self" rel="nofollow noopener noreferrer"&gt;ContCentric&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 17 Oct 2019 06:33:43 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/reduce-postgresql-database-size-increase-more-than-1-gb-day/m-p/97510#M28525</guid>
      <dc:creator>kintu_barot</dc:creator>
      <dc:date>2019-10-17T06:33:43Z</dc:date>
    </item>
    <item>
      <title>Re: Reduce PostGreSQL DataBase size. Increase more than 1 GB/day.</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/reduce-postgresql-database-size-increase-more-than-1-gb-day/m-p/97511#M28526</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;Thank you for your replay.&lt;/P&gt;&lt;P&gt;U&lt;SPAN&gt;nfortunately&lt;/SPAN&gt; can't do this because my version is Community - 5.0.0 (d r99759-b2). In this version there is not such functionality.&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Yordan&lt;/P&gt;</description>
      <pubDate>Thu, 17 Oct 2019 06:42:55 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/reduce-postgresql-database-size-increase-more-than-1-gb-day/m-p/97511#M28526</guid>
      <dc:creator>jordanvichev</dc:creator>
      <dc:date>2019-10-17T06:42:55Z</dc:date>
    </item>
    <item>
      <title>Re: Reduce PostGreSQL DataBase size. Increase more than 1 GB/day.</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/reduce-postgresql-database-size-increase-more-than-1-gb-day/m-p/97512#M28527</link>
      <description>&lt;P&gt;Hi, probably your database is getting bigger and bigger because of auditing.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Some time ago&amp;nbsp;&lt;A href="https://migration33.stage.lithium.com/t5/user/viewprofilepage/user-id/33307"&gt;@fcorti&lt;/A&gt;&amp;nbsp;writed about data implosion due auditing:&lt;/P&gt;&lt;P&gt;&lt;A href="http://fcorti.com/2015/11/25/audit-data-explosion-in-alfresco/" target="_blank" rel="nofollow noopener noreferrer"&gt;http://fcorti.com/2015/11/25/audit-data-explosion-in-alfresco/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Having many documents in archive does not help. If you do not have thrascan cleaner, you can use some JS scripting for deleting some batches on it. By the way, the problem may be related with an application that intensively deletes documents, leaving them in Thrascan (with sys:temporary aspect you can delete without passing through trashcan).&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;P&gt;--C.&lt;/P&gt;</description>
      <pubDate>Thu, 17 Oct 2019 08:33:12 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/reduce-postgresql-database-size-increase-more-than-1-gb-day/m-p/97512#M28527</guid>
      <dc:creator>cesarista</dc:creator>
      <dc:date>2019-10-17T08:33:12Z</dc:date>
    </item>
    <item>
      <title>Re: Reduce PostGreSQL DataBase size. Increase more than 1 GB/day.</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/reduce-postgresql-database-size-increase-more-than-1-gb-day/m-p/97513#M28528</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;Sometimes trashcan is opening without errors and I can delete a couple of documents. But I cannot understand why one time is open another time is not open - return error. May be it is related with database load I don't know.&lt;/P&gt;&lt;P&gt;In next days will do full vacuum, I hope this will help.&lt;/P&gt;&lt;P&gt;In parallel I have increased Read time out for alfresco, I hope increased time out also will help. Will see : ).&lt;/P&gt;&lt;P&gt;I'm an admin not dev person. Can do bash scripts but cannot do JS scripts : ).&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Yordan&lt;/P&gt;</description>
      <pubDate>Thu, 17 Oct 2019 12:07:56 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/reduce-postgresql-database-size-increase-more-than-1-gb-day/m-p/97513#M28528</guid>
      <dc:creator>jordanvichev</dc:creator>
      <dc:date>2019-10-17T12:07:56Z</dc:date>
    </item>
  </channel>
</rss>

