<?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: Problem with delete big folder in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/problem-with-delete-big-folder/m-p/44752#M18163</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You have to realise that a massive operation like that won't ever be fast. You are also not helping things by specifying permanent=false, which means all the deleted&amp;nbsp;documents will actually be copied into archive / trash can, doubling the amount of operations to be performed (each&amp;nbsp;deleted node will require at least 3 SQL delete,1 insert and 1 update statements - maybe more - , and when you allow archiving to take place you effectively require at least another 4 SQL insert statements). Also, since Alfresco supports event-based processing, for every document that is being deleted it will check if there has been any configured event processing (rule / behaviour) and may execute that defined logic. Of course during the whole operation, Alfresco has to collect / hold a lot of runtime data in-memory, which can lead to memory issues if your server has insufficient resources assigned to it.&lt;/P&gt;&lt;P&gt;It is never a good idea to try and delete (or modify) more than a few hundred elements in a single operation. Your deletion should be implemented as an incremental operation instead of trying to delete the whole folder in one go...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 28 Nov 2018 10:03:00 GMT</pubDate>
    <dc:creator>afaust</dc:creator>
    <dc:date>2018-11-28T10:03:00Z</dc:date>
    <item>
      <title>Problem with delete big folder</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/problem-with-delete-big-folder/m-p/44751#M18162</link>
      <description>Hi,I'm using Alfresco Enterprise 5.2.3, and I want delete folder with 50.000 - 200.000 documents inside.&amp;nbsp;I tried delete by public rest API:alfresco/api/-default-/public/alfresco/versions/1/nodes/30fa7bab-5c3a-46dc-ac32-51eac80008f6?permanent=falseAnd this is endless query. After few hours in server</description>
      <pubDate>Wed, 28 Nov 2018 07:57:50 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/problem-with-delete-big-folder/m-p/44751#M18162</guid>
      <dc:creator>jmal</dc:creator>
      <dc:date>2018-11-28T07:57:50Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with delete big folder</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/problem-with-delete-big-folder/m-p/44752#M18163</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You have to realise that a massive operation like that won't ever be fast. You are also not helping things by specifying permanent=false, which means all the deleted&amp;nbsp;documents will actually be copied into archive / trash can, doubling the amount of operations to be performed (each&amp;nbsp;deleted node will require at least 3 SQL delete,1 insert and 1 update statements - maybe more - , and when you allow archiving to take place you effectively require at least another 4 SQL insert statements). Also, since Alfresco supports event-based processing, for every document that is being deleted it will check if there has been any configured event processing (rule / behaviour) and may execute that defined logic. Of course during the whole operation, Alfresco has to collect / hold a lot of runtime data in-memory, which can lead to memory issues if your server has insufficient resources assigned to it.&lt;/P&gt;&lt;P&gt;It is never a good idea to try and delete (or modify) more than a few hundred elements in a single operation. Your deletion should be implemented as an incremental operation instead of trying to delete the whole folder in one go...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Nov 2018 10:03:00 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/problem-with-delete-big-folder/m-p/44752#M18163</guid>
      <dc:creator>afaust</dc:creator>
      <dc:date>2018-11-28T10:03:00Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with delete big folder</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/problem-with-delete-big-folder/m-p/44753#M18164</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;you can reckon to use the MassiveDelete tool:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jivelink10" href="https://github.com/fsforna/MassiveDelete" title="https://github.com/fsforna/MassiveDelete" rel="nofollow noopener noreferrer"&gt;https://github.com/fsforna/MassiveDelete&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Dec 2018 15:15:11 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/problem-with-delete-big-folder/m-p/44753#M18164</guid>
      <dc:creator>francesco_forna</dc:creator>
      <dc:date>2018-12-05T15:15:11Z</dc:date>
    </item>
  </channel>
</rss>

