Return-Path: X-Original-To: apmail-couchdb-dev-archive@www.apache.org Delivered-To: apmail-couchdb-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 44A08D0AA for ; Wed, 1 Aug 2012 08:19:17 +0000 (UTC) Received: (qmail 79791 invoked by uid 500); 1 Aug 2012 08:19:16 -0000 Delivered-To: apmail-couchdb-dev-archive@couchdb.apache.org Received: (qmail 79415 invoked by uid 500); 1 Aug 2012 08:19:16 -0000 Mailing-List: contact dev-help@couchdb.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@couchdb.apache.org Delivered-To: mailing list dev@couchdb.apache.org Received: (qmail 79380 invoked by uid 99); 1 Aug 2012 08:19:14 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Aug 2012 08:19:14 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of bchesneau@gmail.com designates 209.85.215.180 as permitted sender) Received: from [209.85.215.180] (HELO mail-ey0-f180.google.com) (209.85.215.180) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Aug 2012 08:19:07 +0000 Received: by eaad13 with SMTP id d13so691488eaa.11 for ; Wed, 01 Aug 2012 01:18:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; bh=ClsB4puH3B8jc+LIL2gqA+7LT28k3Ld5akrFtEUOy2E=; b=gBSjzy9MDCoIlxOQgwbCoa4rdeM1D/yY5fxOIIXZAxrkZmN6w0le7i7fl84cqncfGo MfAQySVgpsKIS3PKDWlt0Cs6cCxN51k5SLbI5k3o+pHfrtlUql6ABEDhMJpiO/EeHeMo DaufjnAoIIz1IKFiEdPlwfjRh6nKDDE2+9oAcvIhO68unccnRq47tGQJFVRBQPUJNtQ2 MXJgZOlGnL8YyeRSomvfXOV8xJlgAoe8z/m7NUw8cpAqrk8fv+HSVTEmxaJJUmIhRveC PoBphXVlsWD6Vdb7gUZjUefJCk/6kPGqC8eJRIXnNXleCsxpxaUDih5lfqRYE/395MD8 QR2A== MIME-Version: 1.0 Received: by 10.14.179.200 with SMTP id h48mr21467882eem.12.1343809127067; Wed, 01 Aug 2012 01:18:47 -0700 (PDT) Received: by 10.14.37.77 with HTTP; Wed, 1 Aug 2012 01:18:47 -0700 (PDT) In-Reply-To: References: Date: Wed, 1 Aug 2012 10:18:47 +0200 Message-ID: Subject: Re: include_atttachments=true & include_docs=true From: Benoit Chesneau To: dev@couchdb.apache.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable 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=EEt