incubator-couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chris Anderson" <>
Subject Re: Slooooow views
Date Wed, 07 Jan 2009 23:12:20 GMT
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