incubator-couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dean Landolt" <d...@deanlandolt.com>
Subject Re: Selectively keeping revisions around
Date Tue, 22 Jul 2008 19:07:31 GMT
If you spin these datatypes off into their own database it's easy -- just
don't compact it...ever.

On Tue, Jul 22, 2008 at 2:30 PM, Nick Gerakines <nick@gerakines.net> wrote:

> I'm also very interested in this approach. I've got a document
> structure that has 10 or 12 keys that change somewhat often but I'd
> like to be able to find all versions of that document and provide a
> sort of history based on those keys.
>
> # Nick Gerakines
>
> On Tue, Jul 22, 2008 at 11:22 AM, Kurt Mackey <kurt@mubble.net> wrote:
> > I'm admittedly pretty new to CouchDB, but I'm having a tough time
> figuring
> > out how to use the document revisions it keeps around.  As I understand
> it,
> > PUTs replace what's there, leaving what's there in a deleted state until
> you
> > compact the database, at which point it goes away forever.
> >
> > So given that (and correct me if I got it wrong), what's the best way of
> > keeping revisions around forever?  I have a number of documents that will
> be
> > changed quite frequently, and I'd like to get at their history, provide
> > diffs against it, etc.  Is anyone doing this?
> >
> > -Kurt
> >
>

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