Return-Path: Delivered-To: apmail-couchdb-user-archive@www.apache.org Received: (qmail 65553 invoked from network); 17 Mar 2011 07:23:26 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 17 Mar 2011 07:23:26 -0000 Received: (qmail 88404 invoked by uid 500); 17 Mar 2011 07:23:25 -0000 Delivered-To: apmail-couchdb-user-archive@couchdb.apache.org Received: (qmail 88352 invoked by uid 500); 17 Mar 2011 07:23:23 -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 88344 invoked by uid 99); 17 Mar 2011 07:23:21 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 17 Mar 2011 07:23:21 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of djc.ochtman@gmail.com designates 209.85.216.180 as permitted sender) Received: from [209.85.216.180] (HELO mail-qy0-f180.google.com) (209.85.216.180) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 17 Mar 2011 07:23:14 +0000 Received: by qyk10 with SMTP id 10so2152534qyk.11 for ; Thu, 17 Mar 2011 00:22:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:in-reply-to:references:from :date:x-google-sender-auth:message-id:subject:to:cc:content-type :content-transfer-encoding; bh=mLfbbRZhtV2nDCMFtZe9qp1PGFCVUEXpCB4rNiAoqlo=; b=AEUwLKeNU3r58EAyxBAIy3AxBf2LJXrTc0pg5Kr0PVt5OpUNUebpEwcQIol+iMUwf4 /+hZRdO1yG1o8pUSZ4ApPg5fL83Ghf3wYBDD2l6Fk7fKGlsmmBiANJjA5Z/ZhPYV/+j2 QnwKdNOeyMJHWp5KBwdkRkhB/s/fn+TGyXLL4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:from:date :x-google-sender-auth:message-id:subject:to:cc:content-type :content-transfer-encoding; b=pceKbXEWcBvEHbkMZwB38JmHsamt1HI7yphMDYTCGPhoFXwlkVe7WzvLhBhHXj6xHA T0xJjIlMK1FDboFMHMBilPQFVpBM8neWRtin7CHhakbAiAN0ooTArH+Mxuics+bxQseI hh57mGBUnlVLlitIAjoub4ynvAPVffytKafvE= Received: by 10.229.78.22 with SMTP id i22mr828299qck.28.1300346573229; Thu, 17 Mar 2011 00:22:53 -0700 (PDT) MIME-Version: 1.0 Sender: djc.ochtman@gmail.com Received: by 10.229.22.74 with HTTP; Thu, 17 Mar 2011 00:22:33 -0700 (PDT) In-Reply-To: References: From: Dirkjan Ochtman Date: Thu, 17 Mar 2011 08:22:33 +0100 X-Google-Sender-Auth: fMthWHxnu-vxYPTEsBfmuV0XBos Message-ID: Subject: Re: multiple database or many doc types in one database? To: user@couchdb.apache.org Cc: Dominic Tarr Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org On Thu, Mar 17, 2011 at 05:51, Dominic Tarr wrote: > is it a good idea to > > =C2=A01. separate documents for different types of thing into different > databases? > > or is it better to > > =C2=A02. just have a type=3D'whatever' and check for that in your views? I always just use 2, having separate types in the same db, distinguishing them by the value of the "type" field. > I'm starting to think that 2 is enough seperation, and 2 is silly. > > are there any reason to use 2, except maybe to stop keys colliding? (whic= h > is easy enough to do in other ways...) These sentences seem a little confused... Cheers, Dirkjan