couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dan Reverri" <>
Subject Re: Slooooow views
Date Wed, 07 Jan 2009 23:29:02 GMT
Would it be possible to query the view with update=false from the web
app and run a background job to update the view?

I am not sure if update=false applies to reduced views or if the old
view is available if the view is updating from another request.

On Wed, Jan 7, 2009 at 3:12 PM, Chris Anderson <> wrote:
> On Wed, Jan 7, 2009 at 3:07 PM, Jeremy Wall <> wrote:
>> Maybe someone else could chime in on when you get the hit for reduction?
> Based on my use of log() in the reduce function, it looks like for
> each reduce query, the reduce function is run once, to obtain the
> final reduce value.
> When you run a group=true, or group_level reduce query, which returns
> values for many keys, you'll end up running the final reduction once
> per returned value. I think this could be optimized to avoid running
> final reduces if they've already been run for those key-ranges. I'm
> not sure how much work that would be.
> --
> Chris Anderson

View raw message