incubator-couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Robert Newson <>
Subject Re: triggering all (necessary) view update
Date Sat, 30 Apr 2011 14:32:54 GMT

I didn't read your post as offensive, don't worry. The problem is
mostly that compaction is an intensive process so scheduling it
automatically is tricky; the right schedule will vary by use case. I
can see the scheduler becoming very complicated in order to
accommodate as many cases as possible.

I think it would be better done externally, even if that's in the form
of some kind of official couchdb plugin or addon. Once the next couple
of releases are behind us (1.0.3 and 1.1.0), we'll be reorganizing the
source tree to make things more manageable (and separated). That would
be a good time to consider a compaction scheduler add-on.


On 30 April 2011 13:14, Mage <> wrote:
> On 04/29/2011 10:36 PM, Robert Newson wrote:
>> "I suppose that I can write a short script that finds all the views in a
>> database and asks one document from each, however it is not as elegant
>> as having a request which does the same."
>> You only find it more elegant because you won't have to look at the code. :)
> I didn't mean to be offensive.
> I don't know erlang yet so I have no idea how much work would be
> required to implement this in CouchDB. There is a lot of things to
> rethink after the long years spent with sql.
> Anyway, I'will script this.
>    Mage

View raw message