Return-Path: Delivered-To: apmail-couchdb-user-archive@www.apache.org Received: (qmail 24609 invoked from network); 2 Nov 2009 14:03:05 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 2 Nov 2009 14:03:05 -0000 Received: (qmail 9728 invoked by uid 500); 2 Nov 2009 14:03:04 -0000 Delivered-To: apmail-couchdb-user-archive@couchdb.apache.org Received: (qmail 9659 invoked by uid 500); 2 Nov 2009 14:03:03 -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 9649 invoked by uid 99); 2 Nov 2009 14:03:03 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 02 Nov 2009 14:03:03 +0000 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.210.176 as permitted sender) Received: from [209.85.210.176] (HELO mail-yx0-f176.google.com) (209.85.210.176) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 02 Nov 2009 14:02:55 +0000 Received: by yxe6 with SMTP id 6so4869546yxe.13 for ; Mon, 02 Nov 2009 06:02:34 -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 :from:date:message-id:subject:to:content-type :content-transfer-encoding; bh=wC/yGPwl500BbZ3CwL9+PJjPllMLhllhKPTjhBPxltY=; b=i2V2UG4isejIQ762m3QRgCfvynTivGwUHNdSLVFEokM5XC6mV6u8FtYWx3vbm6zCjA XB/5iVl1kjTVz8qpKNmTVNy5py7YXa9w/w43uzE52p6O5HbJev75QECpky+CUBd+3Sr9 j10YHMxOTiAKAkleNH8clQBD1pDsvaiRX7s58= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type:content-transfer-encoding; b=qXV14fBRplmgKYKuUxU0zM2LzSBwAc96eBhixRJ2Dd9VXtdkyEsYmklnUd5fE8d8Sn 9f4GdoHUwQc+3xLsB2T9YhLzwL2Hw3CERx6V1z3QXkEvmDhTEp/tNhVBm+WCbyqbbNqe Tb3Jd2EFr2hExlgJvc7J3YjR0/Z9rLYsBd4ec= MIME-Version: 1.0 Received: by 10.101.79.8 with SMTP id g8mr202948anl.147.1257170554131; Mon, 02 Nov 2009 06:02:34 -0800 (PST) In-Reply-To: <20091102135456.202040@gmx.net> References: <20091102135456.202040@gmx.net> From: Paul Davis Date: Mon, 2 Nov 2009 09:02:14 -0500 Message-ID: Subject: Re: Question to view generation and concurrent queries To: user@couchdb.apache.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org On Mon, Nov 2, 2009 at 8:54 AM, wrote: > Hi! > > I have a question concerning the view generation. Assume I want to insert= a bulk of documents. > > Now I have two users who query the view. The first user triggers the view= generation, that takes some time. If the second user queries the view duri= ng the view generation, does he process the query on the old view? I suppos= e the queries of this user are much delayed? So after the view generation i= s completed, there is a switch to the new view? > > Thanks for your help! > Views are built once regardless of how many users attempt to access it. When the second request comes in to build the view, it will wait for the same view building process that the first request triggered. Paul Davis