Actions
Feature #15131
ouvertActiver par défaut le compactage de la JCR
Début:
14/01/2026
Echéance:
% réalisé:
100%
Temps estimé:
Livraison en TEST:
Livraison en PROD:
Description
Par défaut, seul le compactage automatique de la JCR au démarrage de Silverpeas est activé.
Or dans le cas d'une forte activité, la taille des fichiers tar dans $SILVERPEAS_HOME/data/jcr/segmentstore/ vont augmenter de manière importante.
Il est donc préférable de compacter la JCR de manière régulière lorsque Silverpeas fonctionne.
Pour cela, il convient donc de valoriser le paramétrage suivant dans $SILVERPEAS_HOME/data/jcr/silverpeas-oak.properties* :
segment.compaction.cron = 30 5 * * * # Along the segment data manipulations, backup files are created in order to give the possibility # of data restoring. But after a while, they can take a lot of space and become useless. # The minimum number of days old a backup file MUST be aged to be deleted during the compaction # process. Ignored if segment.compaction.pause parameter is set at true value. # -1 means that backup file deletion is not performed. # 0 means that all backup files are deleted whatever their age. # Ici: 7 jours segment.compaction.backup.age = 7 # The increase in size of the Node Store (in bytes) since the last successful compaction that will # trigger another execution of the compaction phase. # Exemple ici: 5 Mo segment.compaction.sizeDeltaEstimation = 5242880
Actions
#4
Mis à jour par David Lesimple il y a 2 jours
- Projet changé de Silverpeas Core à Silverpeas Setup
- Catégorie
Serveursupprimé
Actions
#5
Mis à jour par David Lesimple il y a 2 jours
- Projet changé de Silverpeas Setup à Service Installation
- Statut changé de Assigned à In progress...
Actions
#6
Mis à jour par David Lesimple il y a 2 jours
· Edité
- Description mis à jour (diff)
- Statut changé de In progress... à Resolved
- % réalisé changé de 0 à 100
Poussé directement sur Silverpeas-Distribution master.
https://github.com/Silverpeas/Silverpeas-Distribution/commit/8e89657aaa48c2dc94feb8ff2cccf377369fe299
Reporté sur 6.4.x :
https://github.com/Silverpeas/Silverpeas-Distribution/commit/c77a8f4682d539408137ee00de16eb9a275829aa
Actions