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:
- The datastore ins only incremental: any file being deleted in the JCR will not be deleted in the datastore. Until Jahia 126.96.36.199 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)
- 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.