Return-Path: Delivered-To: apmail-couchdb-user-archive@www.apache.org Received: (qmail 24087 invoked from network); 30 Oct 2010 16:50:18 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 30 Oct 2010 16:50:18 -0000 Received: (qmail 53389 invoked by uid 500); 30 Oct 2010 16:50:16 -0000 Delivered-To: apmail-couchdb-user-archive@couchdb.apache.org Received: (qmail 53354 invoked by uid 500); 30 Oct 2010 16:50: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 53346 invoked by uid 99); 30 Oct 2010 16:50:15 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 30 Oct 2010 16:50:15 +0000 X-ASF-Spam-Status: No, hits=2.9 required=10.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_NONE,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [98.139.91.202] (HELO nm1-vm0.bullet.mail.sp2.yahoo.com) (98.139.91.202) by apache.org (qpsmtpd/0.29) with SMTP; Sat, 30 Oct 2010 16:50:07 +0000 Received: from [98.139.91.64] by nm1.bullet.mail.sp2.yahoo.com with NNFMP; 30 Oct 2010 16:49:44 -0000 Received: from [98.139.91.46] by tm4.bullet.mail.sp2.yahoo.com with NNFMP; 30 Oct 2010 16:47:48 -0000 Received: from [127.0.0.1] by omp1046.mail.sp2.yahoo.com with NNFMP; 30 Oct 2010 16:47:40 -0000 X-Yahoo-Newman-Id: 908979.55759.bm@omp1046.mail.sp2.yahoo.com Received: (qmail 91291 invoked from network); 30 Oct 2010 16:47:40 -0000 Received: from [192.168.1.5] (dhimes@108.7.60.168 with plain) by smtp114.biz.mail.sp1.yahoo.com with SMTP; 30 Oct 2010 09:47:40 -0700 PDT X-Yahoo-SMTP: zyW4CVyswBBC3qNxjciP8LPF0LlT4Q-- X-YMail-OSG: rbN3xJYVM1lVX6.YFP9MvyqBtdJfnEzFM6W3VCvOcnUVPv1 2w93mKpTBwXkTJGgknWKBDXIYl5T1uu0J82tFgyEwG8zSqgA89gu4CbVHNjP wWZQNvfNSP5c2.L7G0RObzxtXezT6q13psEyMvyZLBdLGetpzo8My.bymPQm Ih2pQHeYzNPMDpKaqw8kwOLMFkAzJJw6tU.QzSDORLTjoBVs_SkbZE91tOJJ A9bPThteCxpkTXksZhqLlUxcwuWIy0LZkPdI595v5DZSUERPTTtW2xn3hDcz 1IGCh4kglM_6bKOABqLRUMff7a2PlwY.Y X-Yahoo-Newman-Property: ymail-3 Subject: Re: planning out a database From: Dan Himes To: user@couchdb.apache.org In-Reply-To: <0FAA378F-C9F1-4520-BFCD-0ED440FF6F9A@vpro.nl> References: <0FAA378F-C9F1-4520-BFCD-0ED440FF6F9A@vpro.nl> Content-Type: multipart/alternative; boundary="=-3N9lMNdcK0vxJvlAD7ls" Organization: Virtual Learning Environment Solutions, Inc. Date: Sat, 30 Oct 2010 12:47:39 -0400 Message-ID: <1288457259.24561.0.camel@dirac.home> Mime-Version: 1.0 X-Mailer: Evolution 2.28.1 X-Virus-Checked: Checked by ClamAV on apache.org --=-3N9lMNdcK0vxJvlAD7ls Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit On Thu, 2010-10-28 at 10:29 +0200, Nils Breunese wrote: > Jeffrey M. Barber wrote: > > > Is it a good idea to have a single application work inside of a single > > CouchDB database? > > > > Right now, I'm making sure each document I put into the CouchDB has a 'ns' > > field (for namespace) so I can pull it out for indexing, but I'm thinking > > that as this grows this may be a bad idea. Is it worth pulling out each ns > > into a database? or is this just going to be a pre-optimization in the long > > term. > > Using an ns-like property is a commonly used pattern in CouchDB databases. I don't think it's worth it to start splitting up your database. You lose some flexibility as functions exist on a database-level and cannot work across different databases and I don't see any real advantage in doing it. > > Nils. > ------------------------------------------------------------------------ > VPRO > phone: +31(0)356712911 > e-mail: info@vpro.nl > web: www.vpro.nl > ------------------------------------------------------------------------ I'm very glad to hear this, as it is the pattern I opted for also. Dan --=-3N9lMNdcK0vxJvlAD7ls--