Développer ma barre des réalisations de la Communauté.

Submissions are now open for the 2026 Adobe Experience Maker Awards.

Mark Solution

Cette conversation a été verrouillée en raison de son inactivité. Veuillez créer une nouvelle publication.

RÉSOLU

Offline compaction

Avatar

Level 4

Hi,

do you know if performing offline compaction from time to time in production environment can increase performance besides reducing disk occupation? If yes could you also explain why you gain performance?

Thank you,

Stefano

1 solution acceptée

Avatar

Réponse correcte par
Employee Advisor

Hi Stefano,

this depends on the persistence you use. While on TarMK (given enough RAM do use mmap) the performance impact is quite small, it can be pretty huge on MongoMK because there the storage is structured differently. Holding all the (unused) versions impacts performance due to the amount of data transferred over the network or due to inefficient use of Mongo indexes and storage/RAM.

HTH,
Jörg

Voir la solution dans l'envoi d'origine

2 Replies

Avatar

Réponse correcte par
Employee Advisor

Hi Stefano,

this depends on the persistence you use. While on TarMK (given enough RAM do use mmap) the performance impact is quite small, it can be pretty huge on MongoMK because there the storage is structured differently. Holding all the (unused) versions impacts performance due to the amount of data transferred over the network or due to inefficient use of Mongo indexes and storage/RAM.

HTH,
Jörg

Avatar

Level 4

We're using TarMK. So do you recommend to run offline compaction from time to time or daily online compaction is enough?

 

Thank you,

Stefano