Return-Path: Delivered-To: apmail-couchdb-user-archive@www.apache.org Received: (qmail 7331 invoked from network); 28 Dec 2008 15:07:50 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 28 Dec 2008 15:07:50 -0000 Received: (qmail 16587 invoked by uid 500); 28 Dec 2008 15:07:48 -0000 Delivered-To: apmail-couchdb-user-archive@couchdb.apache.org Received: (qmail 16532 invoked by uid 500); 28 Dec 2008 15:07:48 -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 16521 invoked by uid 99); 28 Dec 2008 15:07:48 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 28 Dec 2008 07:07:48 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of paul.joseph.davis@gmail.com designates 209.85.198.232 as permitted sender) Received: from [209.85.198.232] (HELO rv-out-0506.google.com) (209.85.198.232) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 28 Dec 2008 15:07:42 +0000 Received: by rv-out-0506.google.com with SMTP id g37so4198587rvb.35 for ; Sun, 28 Dec 2008 07:07:21 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=hrU8So1x8UGum2EQtynL6v7fonvRGDbMwEX5FUQFQjk=; b=ojhSPjojSQxrJP6BcTeV91CcF57nXJU4wwSloivcfc46m/ksdJsrslo8qu+GsgO3KL m6EGU86uXpgRNRAIW1m83Rf1Hnd6OAVyiWIdceSWwe4x87C6Nz7JdnhK/OPe9Sza616O zqsA81/igUblycaIEdzjwzobwANNfe84UL+nk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=HRqu9MIVK33xsYeXj82WBxRQjnrR/kfMdz6pdgwl3OY8M1i2NmG8gb0PpGsmUL5WQS vy8a1HOFn5CZYFFIT1DLrvTF9qQkF5vV7YcD3pZw7fTkpYCmC6GtmCCq1qCcbG1089O4 BeN9HK56PSI2KkBc/YII9JnSPL+cYhxpzZgk8= Received: by 10.141.84.5 with SMTP id m5mr6250393rvl.175.1230476841475; Sun, 28 Dec 2008 07:07:21 -0800 (PST) Received: by 10.141.153.2 with HTTP; Sun, 28 Dec 2008 07:07:21 -0800 (PST) Message-ID: Date: Sun, 28 Dec 2008 10:07:21 -0500 From: "Paul Davis" To: user@couchdb.apache.org Subject: Re: newbie question #1 In-Reply-To: <57F0DD6D-45D2-4A27-A32F-D1808C388379@pobox.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <98979283-BB61-4D15-AF05-196979FA42BC@pobox.com> <7127C806-65EA-4C3E-94A4-EE9E1390C38C@pobox.com> <9D00C4A1-189E-4263-8978-DC86FFDB6691@pobox.com> <57F0DD6D-45D2-4A27-A32F-D1808C388379@pobox.com> X-Virus-Checked: Checked by ClamAV on apache.org On Sun, Dec 28, 2008 at 9:54 AM, Geir Magnusson Jr. wrote: > > On Dec 28, 2008, at 9:36 AM, Paul Davis wrote: > >> [snip] >>> >>> I read the view docs (and have other questions there, like if the M/R is >>> distributed across a cluster - I've used M/R w/ Hadoop, so I come w/ a >>> set >>> of assumptions...) and I saw that it doesn't *appear* that the key or id >>> is >>> injected in the view doc, which of course brings up an obvious question >>> :) >> >> The CouchDB implementation of Map/Reduce (specifically reduce) is a >> bit different the the canonical implementation. Mostly this is a >> result of being stored in a btree and Damien's cleverness. >> > > Does the work get distributed across nodes, or does each node do the same > thing? > Oh sorry, I totally meant to answer that question in my earlier reply. No. Not yet. IIRC, the current rough sketch of a design is that CouchDB will be able to do automatic sharding of a single database, and each node would be responsible for building a view of its particular shard. Then at query time you just have a big merge sort type of operation. > geir > >