You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@couchdb.apache.org by GitBox <gi...@apache.org> on 2021/11/04 14:41:15 UTC

[GitHub] [couchdb] kocolosk commented on issue #909: Compaction daemon should prioritise based on gains

kocolosk commented on issue #909:
URL: https://github.com/apache/couchdb/issues/909#issuecomment-961079350


   CouchDB 3.0 introduced a new compaction daemon in #1904 that implements most of this. It allows for different calculations of "gain". Specifically, you can prioritize based on the ratio of `file size / active data` or the difference `file size - active data`, and you can create different "channels" with different settings so that e.g. you always devote some bandwidth to compacting large database shards, and you also keep compacting small views quickly become sparse. The documentation is pretty thorough:
   
   https://docs.couchdb.org/en/stable/config/compaction.html#compaction-daemon


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@couchdb.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org