incubator-couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jens Alfke <j...@couchbase.com>
Subject Re: Reseting DB Sequence Number
Date Sat, 15 Mar 2014 17:57:01 GMT

On Mar 15, 2014, at 5:28 AM, Behrad <behradz@gmail.com> wrote:

> I see my view generation gets over 50,000,000 changes but I have only
> 1,000,000 docs (most changes are archiving doc deletions)

Resetting the sequence number wouldn’t do anything about that. What you want to do, I think,
is purge all the deleted docs. You can create a view that finds all deleted docs, then query
the view and pass all the doc IDs to _purge.

—Jens
Mime
View raw message