couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Андрей Няхайчык <>
Subject Re: Documentation issue
Date Fri, 02 Mar 2012 13:06:57 GMT

My username is *AndreyNiakhaichyk*.

I understand that _purge is not recommended operation because it may break
replication integrity.

Let me explain why I think we need add such article:
I'm using CouchDB for session storage (I have to, I don't have choice).
Finally I've found if you create 1 million documents then delete them and
them compact DB, you will see that size of DB file will be around 100 Mib.
And the worst thing that a map function will take a care such deleted
records when it recalculates indexes. And even if you don't use indexes,
PUT and DELETE operations will be much slower than usual.

And I've found that only _purge can solve that problem, which is not
described in Apache CouchDB wiki.


2012/3/2 Robert Newson <>

> I'm ok with that as long as you're clear that _purge is for removing
> data you shouldn't have stored (like a plaintext password) in the
> first place and not as a typical (or recommended) operation. What's
> your username on the wiki?
> B.
> On 2 March 2012 12:22, Andrey N <> wrote:
> > Hello guys,
> >
> > I've found that the current wiki doesn't describe such important topic as
> > Purging information. There is only a mention about this functionality in
> > Complete HTTP API Reference
> > <>. Please
> add me
> > in ContributorsGroup and I'll add article that describes how to purge
> > deleted documents and in what case.
> >
> > P.S. In couchbase there is documentation about it
> > <
> >.
> >
> > Thanks.

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