Offline compaction | Community
Skip to main content
Level 4
December 16, 2015
Solved

Offline compaction

  • December 16, 2015
  • 2 replies
  • 1161 views

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

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by joerghoh

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

2 replies

joerghoh
Adobe Employee
joerghohAdobe EmployeeAccepted solution
Adobe Employee
December 16, 2015

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

boser87Author
Level 4
December 17, 2015

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