How to reduce DataStore size in Adobe Experience Manager (AEM) On-Premise
This article outlines the recommended sequence of maintenance tasks and important considerations for effectively reducing the DataStore size in Adobe Experience Manager (AEM) On-Premise environments.
Description description
Environment
Adobe Experience Manager (AEM) (on-premise)
Symptoms
- Administrators see that the DataStore directory in AEM On-Premise doesn’t decrease in size after performing tasks such as Lucene index reindexing or index repair.
- High disk usage persists in the DataStore, even after these operations.
- To successfully reclaim disk space, it’s important to follow the correct sequence of maintenance tasks.
- The procedure may differ depending on whether you’re using a single or shared DataStore, and there are special considerations for TarMK Cold Standby configurations.
Resolution resolution
Follow the steps below to reduce the DataStore size:
-
Delete unnecessary nodes (online):
-
Remove unneeded pages and assets from the repository.
-
Perform Version Purge and Workflow Purge using the Operations Dashboard.
-
-
Perform Revision Cleanup (offline):
-
Stop AEM, and take a full backup of the repository.
-
Ensure there’s sufficient free disk space (2–3 times the repository size).
-
Run the offline Revision Cleanup process.
-
-
Run Lucene Binaries Cleanup (online):
- Execute the Lucene Binaries Cleanup task from the Operations Dashboard during a maintenance window.
-
Run Datastore Garbage Collection (GC) (online):
- Run Datastore GC from the Operations Dashboard.
-
For TarMK Cold Standby environments:
-
Don’t run offline Revision Cleanup on the standby environment.
-
If not using a shared DataStore, run Datastore GC first on the primary, then on the standby.
-
-
Verify that the DataStore directory size has decreased after completing all steps.