couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chris Stockton <>
Subject Re: Database size seems off even after compaction runs.
Date Fri, 23 Dec 2011 20:56:15 GMT

On Fri, Dec 23, 2011 at 5:48 AM, CGS <> wrote:
> Hi,
> Sorry to interfere with such a question, but why don't you work with a
> buffer database? I mean, make a replica to another database which filters
> out the deleted documents. In such way you can clean all your databases and
> you use temporary some extra-space (only during the "cleaning" process).
> Another idea would be to use two databases: one active and one inactive at
> the given time. That means, you move the data from one to the other,
> filtering out the deleted documents, and when it's over, you switch to the
> newly constructed database, while the other gets emptied (deleted and
> re-created). Just my 2c opinions.

Thanks everyone for the various feedback. Now the information I have
gathered is the disk utilization we are seeing is simply from the
deleted documents.

The question I have yet to see answered (perhaps because it simply
isn't possible) is how to reclaim this space?


View raw message