Return-Path: X-Original-To: apmail-couchdb-user-archive@www.apache.org Delivered-To: apmail-couchdb-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 4AAFA636B for ; Mon, 4 Jul 2011 03:31:10 +0000 (UTC) Received: (qmail 53621 invoked by uid 500); 4 Jul 2011 03:31:07 -0000 Delivered-To: apmail-couchdb-user-archive@couchdb.apache.org Received: (qmail 53324 invoked by uid 500); 4 Jul 2011 03:30:56 -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 53306 invoked by uid 99); 4 Jul 2011 03:30:50 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 04 Jul 2011 03:30:50 +0000 X-ASF-Spam-Status: No, hits=0.0 required=5.0 tests=MIME_QP_LONG_LINE,RCVD_IN_DNSWL_NONE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of jens@mooseyard.com designates 208.97.132.119 as permitted sender) Received: from [208.97.132.119] (HELO homiemail-a66.g.dreamhost.com) (208.97.132.119) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 04 Jul 2011 03:30:42 +0000 Received: from homiemail-a66.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a66.g.dreamhost.com (Postfix) with ESMTP id 2CD4735005B for ; Sun, 3 Jul 2011 20:30:22 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; c=nofws; d=mooseyard.com; h=references :in-reply-to:mime-version:content-transfer-encoding:content-type :message-id:cc:from:subject:date:to; q=dns; s=mooseyard.com; b=h bxKnPKC3rmGU6g4GK/CfXS3tDyjwjXQK1cDgYVJXuwFV9HH6GqqMBHs8dwmol7NL QdZOkibDGyRot6CLa6GeCfIue2wCbZn3LuQtm1uC1Oq6FCPyX3EJOskcUlgk+k4Y AKMujXq4gtQNbhoFWnzrqn0o1YLpQCNxOnzq8LxUrM= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=mooseyard.com; h= references:in-reply-to:mime-version:content-transfer-encoding :content-type:message-id:cc:from:subject:date:to; s= mooseyard.com; bh=84/Vg9Bp5yKFpj1wX8uJYRkzb4s=; b=IXkEMW8kRl16iO jaBZgNwxV6I/0/oK0fXWFSD/dXwwS5jxb05YrrRauDJhxkuy5n6A7V2/Uqt3VvyT TN4OgB6NaGQ4bUuBd0EUFgCfP13IUEkkp3QwcY5QMgWQAwPb6jY/rcUOjSG8GMzA E0Upr09jS8mRRP9wCZrOFxgvmr9LU= Received: from [10.0.1.116] (c-98-210-115-152.hsd1.ca.comcast.net [98.210.115.152]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: jens@mooseyard.com) by homiemail-a66.g.dreamhost.com (Postfix) with ESMTPSA id 20236350056 for ; Sun, 3 Jul 2011 20:30:22 -0700 (PDT) References: <4E113257.9020004@gmail.com> In-Reply-To: <4E113257.9020004@gmail.com> Mime-Version: 1.0 (iPad Mail 8J2) Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii Message-Id: <40E73115-4617-4AFB-9724-713BFE336A3A@mooseyard.com> Cc: "user@couchdb.apache.org" X-Mailer: iPad Mail (8J2) From: Jens Alfke Subject: Re: few doubts Date: Sun, 3 Jul 2011 20:30:54 -0700 To: "user@couchdb.apache.org" X-Virus-Checked: Checked by ClamAV on apache.org On Jul 3, 2011, at 8:24 PM, Patrick Barnes wrote: > Dynamically added, or 'temporary' views are really only meant for testing,= and on small datasets. Don't use them. You mean the one-shot _temp_view. But there's no reason the app couldn't cre= ate bona fide views in a design doc if it wanted to. These would persist and= be as efficient as any other. > Views are defined in the design document beforehand, yes, but a single cou= chdb view is much more flexible and customisable than an SQL query. Yeah; a view is more like a SQL index, that makes many different queries pos= sible at runtime. --Jens=