couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Hans-Dieter Böhlau <>
Subject get size of a document (with attachments) within a view function ...
Date Wed, 03 Aug 2011 11:34:22 GMT
Hi *,
I'd like to calculate the size of a number of documents within a view ... to
estimate the download-volume for the replication to client side.
My idea is to calculate the size of each document within the map function
and to sum up the values within the reduce step.

How can I calculate the size of a document (including attachments!) within
the map function?

Thank you for help,

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