Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
StreamChain Prototype
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
zistvan-public
StreamChain Prototype
Commits
a553b7a6
Commit
a553b7a6
authored
7 years ago
by
Gari Singh
Committed by
Gerrit Code Review
7 years ago
Browse files
Options
Downloads
Plain Diff
Merge "[FAB-5665] Cleanup of old CouchDB document revisions"
parents
2e838a38
89780e35
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
images/couchdb/local.ini
+15
-0
15 additions, 0 deletions
images/couchdb/local.ini
with
15 additions
and
0 deletions
images/couchdb/local.ini
+
15
−
0
View file @
a553b7a6
...
...
@@ -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
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment