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 86D486BD8 for ; Mon, 4 Jul 2011 03:27:12 +0000 (UTC) Received: (qmail 47495 invoked by uid 500); 4 Jul 2011 03:27:10 -0000 Delivered-To: apmail-couchdb-user-archive@couchdb.apache.org Received: (qmail 46298 invoked by uid 500); 4 Jul 2011 03:26:50 -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 46228 invoked by uid 99); 4 Jul 2011 03:26:44 -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:26:44 +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.145 as permitted sender) Received: from [208.97.132.145] (HELO homiemail-a32.g.dreamhost.com) (208.97.132.145) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 04 Jul 2011 03:26:35 +0000 Received: from homiemail-a32.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a32.g.dreamhost.com (Postfix) with ESMTP id A3106584058 for ; Sun, 3 Jul 2011 20:26:14 -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=f k7QNCLznajdAGxJ/Ea4SNdYxo0TSucptEm5XNbQKN4VtCvud38jQihJ2ZzD+dAbR zxUy7sn8KQXmTsHHUWiZkjLwFgIztcpWZSwBasgIRSMenZxYlc2ZT1d7WcxrX4lB xyAYP11A23syRg87CbH3qKkmLwq4VmzHqE00r1lRp8= 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=3EpCJmONWEGhj4YU8vLniypiIlM=; b=OSw6tMPK9Tmgqc Cw2el7TppQBPmKBxIKONKI/TzZR/WW2cuYls0BBJgsaU4q9hwCgH4UZay/+tti/n 3Z+169HFxPyasn0U7mzzzQWKq++AundsfxDUqNrDvmA84yQsaNPulnYquGnTVDuv eK8MSkDgo7FGsPoEMWW4FkEK7gXrY= 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-a32.g.dreamhost.com (Postfix) with ESMTPSA id 7C6F7584057 for ; Sun, 3 Jul 2011 20:26:14 -0700 (PDT) References: In-Reply-To: Mime-Version: 1.0 (iPad Mail 8J2) Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii Message-Id: Cc: "user@couchdb.apache.org" X-Mailer: iPad Mail (8J2) From: Jens Alfke Subject: Re: few doubts Date: Sun, 3 Jul 2011 20:26:46 -0700 To: "user@couchdb.apache.org" X-Virus-Checked: Checked by ClamAV on apache.org On Jul 3, 2011, at 8:11 PM, Matthew John wrote:= > 1) I am familiar with MySql systems. In one of the applications I ve made,= > whenever the server gets restarted I used to perform a warm up (similar to= > Select * from *) inorder to populate the cache. And this used to take almo= st > like half an hour. How does it happen in CuuchDB and how long might it tak= e > for the "warm up" That sounds like it would depend totally on the size of the database, and th= e server's disk speed and amount of RAM. (It seems like a strange thing to d= o anyway; shoving every row through the cache is going to leave it in a fair= ly random state that won't reflect how much different rows actually get used= .) > 2) I understand that all the MR queries (views) to be used in the system h= as > to be coded in the Design document. Does that mean a super-set of all > possible queries which we might use in the System has to be coded in the > Design doc? Can this be added on the fly (dynamic) Sure; design docs are just documents [rows] and can be updated at any time. But in practice, most SQL based apps also have a fixed set of hardcoded quer= ies that they plug parameters into at runtime, so this isn't very different.= --Jens=