Return-Path: Delivered-To: apmail-couchdb-user-archive@www.apache.org Received: (qmail 47369 invoked from network); 22 Jan 2009 19:59:23 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 22 Jan 2009 19:59:23 -0000 Received: (qmail 40617 invoked by uid 500); 22 Jan 2009 19:59:20 -0000 Delivered-To: apmail-couchdb-user-archive@couchdb.apache.org Received: (qmail 40588 invoked by uid 500); 22 Jan 2009 19:59:20 -0000 Mailing-List: contact user-help@couchdb.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@couchdb.apache.org Delivered-To: mailing list user@couchdb.apache.org Received: (qmail 40577 invoked by uid 99); 22 Jan 2009 19:59:20 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 22 Jan 2009 11:59:20 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of paul.joseph.davis@gmail.com designates 209.85.198.224 as permitted sender) Received: from [209.85.198.224] (HELO rv-out-0506.google.com) (209.85.198.224) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 22 Jan 2009 19:59:12 +0000 Received: by rv-out-0506.google.com with SMTP id f9so42275rvb.3 for ; Thu, 22 Jan 2009 11:58:51 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=zkvLxI6G2VQFhk6SkHMMRH830UqsvJeeLiavgnHqyZk=; b=kie4xBhJTO+/7YFL5Nck+RP/k5hm9qFGwwFXhLhd77q+fvDp7DfE2t7tuFzvCV+AMs pseLmdO56dUr/T1190RjTcgCrfgY/glGONBPxaS2+3yOEpb/pCcv32DQPbV/DVWpMjPO 8ykYvAaqZ4pzVWtM4pKER6k6HEWOZyCBhdECE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=qW9bAcvxbfB5XHFxJ6yx8gwlq7Nbf7ItbW2yKBsdLsEUs33rwsQuVDDlIBgDwcQzgi nUJ8H6vV1SsIdKpYP0oXT+ubayjpvUBGWqmwI+FYzOIcSMAPtUyEsECQ5+kG0IY0HGGS xG/CpPJnFru62UixSKnYAXAusqq/4KJxDFVCI= MIME-Version: 1.0 Received: by 10.141.194.21 with SMTP id w21mr1605730rvp.259.1232654331741; Thu, 22 Jan 2009 11:58:51 -0800 (PST) In-Reply-To: <1232654187.13437.67.camel@chris-laptop> References: <1231947933.543.15.camel@chris-laptop> <13ae4dd50901140858x5e5c450uf14b67698756af3e@mail.gmail.com> <1232651911.13437.64.camel@chris-laptop> <1232654187.13437.67.camel@chris-laptop> Date: Thu, 22 Jan 2009 14:58:51 -0500 Message-ID: Subject: Re: Progress of view generation From: Paul Davis To: user@couchdb.apache.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org On Thu, Jan 22, 2009 at 2:56 PM, Chris Wagner wrote: > On Thu, 2009-01-22 at 11:22 -0800, Chris Anderson wrote: >> On Thu, Jan 22, 2009 at 11:18 AM, Chris Wagner >> wrote: >> > FYI, this ended up taking a matter of days. I believe I was generating >> > two views at once, though. I'm uncertain whether a third view that I >> > have (in the same design document) was also being generated, however. >> > My view file is approximately 1.25 times the size of the database file. >> >> all views in a design doc are generated in a single batch. This makes >> for less IO overhead to the Javascript process, as well as bulk >> operations to couchdb's on disk btrees. > > Does that mean that *all views* must be regenerated upon every change to > a design doc? > > All views in a design doc are bound together as a group. If any of the group are invalidated, all must be rebuilt. That's not to say that all updates to a design doc will invalidate a view. Generally anything that doesn't affect the "views" and "language" members should be fine. HTH, Paul Davis