Using the V2 algorithm - Alfresco Content Services - 23.4 - 23.4 - Ready - Alfresco - external

Alfresco Content Services

Platform
Alfresco
Product
Alfresco Content Services
Release
23.4
License

The V2 algorithm is designed to operate at scale by deleting items in batches of configurable size. Currently, the V2 algorithm is supported only by PostgreSQL.

Change the node cleanup batch default properties in alfresco-global.properties:

  1. Enable the new cleanup algorithm:
    system.node_table_cleaner.algorithm=V2
    
  2. Set the batch size. This property defines the number of items deleted in one prepared delete statement:
    system.node_cleanup.delete_batchSize=1000
    
  3. Set the tracking purge size. This property specifies the size of the chunk (in millisec). Default is a couple of hours. This property is not relevant for the V2 algorithm:
    index.tracking.purgeSize=7200000
    					
  4. Set the minimum age (in days) before nodes and transactions get purged:index.tracking.minRecordPurgeAgeDays=30