couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Benoit Chesneau <>
Subject Re: include_atttachments=true & include_docs=true
Date Wed, 01 Aug 2012 08:18:47 GMT
On Wed, Aug 1, 2012 at 10:00 AM, Alexander Shorin <> wrote:
> Hi Benoit,
> If those attachments would be passed to query servers, could they
> causes Out of Memory errors since they could be quite large?

Included docs are processed only on query not on indexation so it
shouldn't be a problem and will never raise an error in the query
servers anyway. It still consumes some RAM when fetching the results
but people should be aware of it before using it imo.

The main purpose of that call is to retrieve all the docs or queried
docs with their attachments in one pass.

- benoƮt

View raw message