incubator-couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Simon Metson <>
Subject Re: growable arrays in reductions
Date Thu, 06 Dec 2012 21:51:26 GMT
What is it you are trying to do, and why'd you need to cat them? Can you just get all rows
for a given key and skip the reduce completely? 

On Thursday, 6 December 2012 at 21:48, Will Heger wrote:

> Ok, I understand the theory/guideline/commandment is that reductions
> should really only be scalars and structures that grow can have all
> kinds of terrible effects on performance, cause cancer, etc., but I
> don't know how hard this rule is. Here is my use case:
> I'm reducing mapped data of no more than around a dozen or so docs per
> reduction. The dozen docs are transactions and will contain
> transaction IDs that are not longer than a GUID. Can I get away with
> concatting a list of that size within my reduction without dooming us
> all?
> Thanks in advance for any guidance.
> -Will

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message