couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sebastian Cohnen <sebastiancoh...@googlemail.com>
Subject Re: view generation speed
Date Tue, 11 May 2010 09:40:17 GMT
Great!

Currently there are only three built-in funs (which I documented here: http://wiki.apache.org/couchdb/Built-In_Reduce_Functions
).

If raw performance is important for you, you could also consider using native erlang views
(instead of using javascript).


On 11.05.2010, at 11:16, Manokaran K wrote:

> On Tue, May 11, 2010 at 1:40 PM, Sebastian Cohnen <
> sebastiancohnen@googlemail.com> wrote:
> 
>> _sum
>> 
>> instead of
>> 
>>> function(keys, values, rereduce){
>>>     return sum(values);
>>> }
>> 
>> I think the wiki is missing some information on build-in reduce functions.
>> I'll add this today.
>> 
>> 
> Thanks a ton :-)
> 
> The improvement was dramatic. What took close to 3 hours took just 20 mins
> using _sum!!
> 
> Waiting to see what other tricks are  available.
> 
> regds
> mano


Mime
View raw message