couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Cesar Pinera <c.pin...@icooper.com>
Subject Individual document size
Date Mon, 22 Mar 2010 22:24:09 GMT
Hi

I'm trying to find a way to sum the size (disk space) used by documents which meet certain
conditions (e.g. a certain value for a given attribute). So far I've though about a map function
that will sort out the documents I'm interested in, and then a reduce function that will accumulate
the size of those documents.

Is there a way for the map/reduce pair to have access to the individual document sizes? 

Has anyone created a similar solution using a different alternative?

--
Cesar
Mime
View raw message