couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jan Lehnardt <...@apache.org>
Subject Re: Couch as a mail store?
Date Fri, 13 Feb 2009 10:42:26 GMT
Hi Brian,

On 13 Feb 2009, at 07:01, Brian Candler wrote:

> (4) E-mail systems create and delete millions of documents per day.  
> Is it
> true that couchdb keeps a small amount of data around indefinitely  
> for every
> deleted document, for replication purposes? If so this would keep  
> growing.
> (And whilst I've seen discussion about pruning old _revs, I've not  
> seen
> discussion of pruning deleted documents)

CouchDB has got purge. From couch_tests.js:

     var xhr = CouchDB.request("POST", "/test_suite_db/_purge", {
       body: JSON.stringify({"1":[doc1._rev], "2":[doc2._rev]}),
     });


Cheers
Jan
--
PS: Good discussion, keep it up!

Mime
View raw message