incubator-couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Robert Samuel Newson <rnew...@apache.org>
Subject Re: Bulk deletes and disk size
Date Fri, 07 Mar 2014 16:05:29 GMT
The user says he just added _deleted:true to his documents, which marks the document as deleted
but will forever preserve all values in the document, including attachments. You’re right
that compaction will remove bodies and attachments from non-leaf revisions, however.

B.

On 7 Mar 2014, at 15:56, Jens Alfke <jens@couchbase.com> wrote:

> 
> On Mar 7, 2014, at 1:47 AM, Robert Samuel Newson <rnewson@apache.org> wrote:
> 
>> Adding _deleted:true marks the document as deleted only, it does not remove the body
or the attachments. This is why your disk usage has not reduced; you haven’t reduced the
size of your documents.
> 
> Gabriel did say the database is “compacted periodically”. So that should be getting
rid of the old bodies and attachments.
> 
> —Jens


Mime
View raw message