couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From J Chris Anderson <jch...@gmail.com>
Subject Re: reduce_overflow_error
Date Wed, 21 Jul 2010 23:37:50 GMT

On Jul 21, 2010, at 3:08 PM, Talib Sharif wrote:

> I am getting the following error when requesting a view. My Db has about
> 100000 documents. And i have about 10 views with either having no reduce
> function or a reduce function with 'return sum(values)' as the return value.
> 
> I tried the exact same views on a 2000 documents DB and i don't get this
> error. Am i hitting some wall in terms of size? Whats the best way to debug
> this?
> 
> {"error":"reduce_overflow_error","reason":"Reduce output must shrink
> more rapidly: Current output: '
> 

Are the values scalar numbers before you sum them?

You can run log(foo) to log to the couch.log from the view function.

Chris

> 
> Thanks,
> 
> Talib


Mime
View raw message