Hey everyone!

We at Neighbourhoodie just released the tool CouchContinuum to help with
migrating databases to new settings, so that an admin can modify CouchDB
database settings that can only be set during database creation. The tool
helps by replicating and recreating the database with the desired settings.
This tool can be run from any machine and requires no special access to the
server(s). Here's a link to the source:

https://github.com/neighbourhoodie/couch-continuum

Some database settings can only be set when the database is created, like
"q" and "placement". "q" reflects the number of shards to maintain per
replica of a database, and "placement" indicates where those shards will be
stored. In order to modify these values, it is necessary to create a new
database and migrate the data from the old database to the new one.
Additionally, databases can accumulate tombstones of deleted documents that
can slow down certain activities. CouchContinuum optionally filters out
these tombstones when it migrates a database.

I hope you find it useful! If you have any questions about it, let me know.

Best regards,

Diana

Reply via email to