Return-Path: Delivered-To: apmail-couchdb-user-archive@www.apache.org Received: (qmail 28790 invoked from network); 3 Nov 2009 08:17:18 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 3 Nov 2009 08:17:18 -0000 Received: (qmail 91260 invoked by uid 500); 3 Nov 2009 08:17:17 -0000 Delivered-To: apmail-couchdb-user-archive@couchdb.apache.org Received: (qmail 91172 invoked by uid 500); 3 Nov 2009 08:17:16 -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 91162 invoked by uid 99); 3 Nov 2009 08:17:16 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 03 Nov 2009 08:17:16 +0000 X-ASF-Spam-Status: No, hits=-2.6 required=5.0 tests=AWL,BAYES_00 X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of shaolinh@gmx.de designates 213.165.64.20 as permitted sender) Received: from [213.165.64.20] (HELO mail.gmx.net) (213.165.64.20) by apache.org (qpsmtpd/0.29) with SMTP; Tue, 03 Nov 2009 08:17:12 +0000 Received: (qmail 12174 invoked by uid 0); 3 Nov 2009 08:16:49 -0000 Received: from 87.193.172.154 by www178.gmx.net with HTTP; Tue, 03 Nov 2009 09:16:47 +0100 (CET) Content-Type: text/plain; charset="us-ascii" Date: Tue, 03 Nov 2009 09:16:47 +0100 From: "Hong-Linh Ly" In-Reply-To: Message-ID: <20091103081647.151380@gmx.net> MIME-Version: 1.0 References: <20091102135456.202040@gmx.net> Subject: Re: Question to view generation and concurrent queries To: user@couchdb.apache.org X-Authenticated: #21419485 X-Flags: 0001 X-Mailer: WWW-Mail 6100 (Global Message Exchange) X-Priority: 3 X-Provags-ID: V01U2FsdGVkX1/srslF2vLsEhEWlt2TVi/0s11/LuYg/Fzw5eXRQM xCU8v60OJieZKxqjZn4zdNDdOYFQT19uW37g== Content-Transfer-Encoding: 7bit X-GMX-UID: 3d/cchcPMmA6Rra5LWBnyyA5MjQ1N10A X-FuHaFi: 0.64 Thanks a lot! -------- Original-Nachricht -------- > Datum: Mon, 2 Nov 2009 09:02:14 -0500 > Von: Paul Davis > An: user@couchdb.apache.org > Betreff: Re: Question to view generation and concurrent queries > 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 > during the view generation, does he process the query on the old view? I > suppose the queries of this user are much delayed? So after the view generation > is 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