System Administrator Jahia 7.3 Legacy

How to get the size of binaries in the JCR?


Our datastore is getting bigger and bigger and we would like to reduce its size. How can we achieve that?


There are two things to do:

  1. The datastore ins only incremental: any file being deleted in the JCR will not be deleted in the datastore. Until Jahia included, the cleaning of the datastore has to be manually done from the tools page JCR Data Store Garbage Collector (JAHIA_URL/modules/tools/jcrGc.jsp)
  2. Identify what paths are holding most of the data and delete the unnecessary files. To achieve that, use the community module JCR Statistics but please be aware that this module is not supported, so it should be first tested on a non-production environment.