couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Boaz Citrin <>
Subject Cleanup of an online database
Date Mon, 30 Sep 2013 09:22:48 GMT

Having a database with massive writes and updates, its file (and views) get
huge and fragmented.
Even a daily compaction takes few hours, and we cannot allow pausing these
updates as users count on latest information.

So we need some kind of online cleanup...

I wonder it we could somehow copy files to a side database, run compaction,
replicate latest changes and swap databases.

Can anyone recommend a procedure?


  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message