Skip to content
Snippets Groups Projects
Commit a553b7a6 authored by Gari Singh's avatar Gari Singh Committed by Gerrit Code Review
Browse files

Merge "[FAB-5665] Cleanup of old CouchDB document revisions"

parents 2e838a38 89780e35
Branches
Tags
No related merge requests found
......@@ -36,6 +36,21 @@ n = 1
; for 100 million documents, q=10 -- at a minimum
q = 8
;This is a default rule for all databases.
;When database fragmentation (unused versions) reaches 30% of the total
;file size, the database will be compacted.
[compactions]
_default = [{db_fragmentation, "30%"}, {view_fragmentation, "30%"}]
;Optional compaction default that will only allow compactions from 11PM to 4AM
;_default = [{db_fragmentation, "30%"}, {view_fragmentation, "30%"}, {from, "23:00"}, {to, "04:00"}]
;Database compaction settings.
;Databases will be checked every 300s (5min)
;Databases less than 256K in size will not be compacted
[compaction_daemon]
check_interval = 300
min_file_size = 256000
[log]
writer = file
file = /opt/couchdb/logs/couchdb.log
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment