couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Adam Kocoloski <kocol...@apache.org>
Subject Re: Discard old version while update document
Date Sat, 28 Mar 2009 14:49:53 GMT
On Mar 27, 2009, at 1:49 PM, Niket Patel wrote:

> In current application we are seeing we are going to update document  
> every few second because of autosave feature in application. So  
> database size will grow too fast.
>
> Is there any easy way to instruct couchdb to discard old version(s)  
> after successful update. Though I don't have problem with  
> compaction, this requirement I'm seeing is document compaction.

Hi, individual document compaction is not possible today.  Off the top  
of my head I think it would be pretty hard to implement that while  
preserving CouchDB's append-on-write semantics.  Best,

Adam

Mime
View raw message