config
ini
CouchDB ships with an automated, event-driven daemon internally known as "smoosh" that continuously re-prioritizes the database and secondary index files on each node and automatically compacts the files that will recover the most free space according to the following parameters.
The following settings control the resource allocation for a given compaction channel.
There are also several settings that collectively control whether a channel will enqueue a file for compaction and how it prioritizes files within its queue: