Skip to content

Latest commit

 

History

History
167 lines (112 loc) · 6.13 KB

compaction.rst

File metadata and controls

167 lines (112 loc) · 6.13 KB

config

ini

Compaction

Database Compaction Options

View Compaction Options

Compaction Daemon

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: