Return-Path: Delivered-To: apmail-couchdb-user-archive@www.apache.org Received: (qmail 19594 invoked from network); 10 Jan 2009 19:23:53 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 10 Jan 2009 19:23:53 -0000 Received: (qmail 65370 invoked by uid 500); 10 Jan 2009 19:23:51 -0000 Delivered-To: apmail-couchdb-user-archive@couchdb.apache.org Received: (qmail 65332 invoked by uid 500); 10 Jan 2009 19:23:51 -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 65321 invoked by uid 99); 10 Jan 2009 19:23:51 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 10 Jan 2009 11:23:51 -0800 X-ASF-Spam-Status: No, hits=3.4 required=10.0 tests=HTML_MESSAGE,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [209.85.146.176] (HELO wa-out-1112.google.com) (209.85.146.176) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 10 Jan 2009 19:23:45 +0000 Received: by wa-out-1112.google.com with SMTP id m34so5613133wag.27 for ; Sat, 10 Jan 2009 11:23:24 -0800 (PST) MIME-Version: 1.0 Received: by 10.114.184.7 with SMTP id h7mr17814587waf.151.1231615403721; Sat, 10 Jan 2009 11:23:23 -0800 (PST) In-Reply-To: <8B40C1D1-977C-424F-8CB5-D461E0D05606@apache.org> References: <532C7366-88CA-4213-A0D3-65EBAB6665B3@gmail.com> <8B40C1D1-977C-424F-8CB5-D461E0D05606@apache.org> Date: Sat, 10 Jan 2009 14:23:23 -0500 Message-ID: <64a10fff0901101123g6aef673cuf679190cca75e678@mail.gmail.com> Subject: Re: Considerations for lots and lots of databases? From: Dean Landolt To: user@couchdb.apache.org Content-Type: multipart/alternative; boundary=00163646d90ca38493046025ce50 X-Virus-Checked: Checked by ClamAV on apache.org --00163646d90ca38493046025ce50 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit On Sat, Jan 10, 2009 at 2:03 PM, Jan Lehnardt wrote: > > On 10 Jan 2009, at 19:41, Antony Blakey wrote: > >> In addition, if you name your databases "foo/bar" CouchDB will actually >>> create that as a structure on disk to avoid running into trouble with >>> filesystems that don't like a lot of files in a single directory. >>> >>> Setups with 1 million databases representing users have been tested >>> successfully. >>> >> >> Hmmm. The filesystem layout changes that I've proofed, and had accepted >> for incorporation, changes this. Filenames are munged to allow arbitrary >> characters, and so '/' is escaped. >> > > Would it be possible to keep the current behaviour or deal with the > issue of lots of files in a single directory in another way? > > Cheers > Jan > -- > I understand the need to escape everything, but would it be too difficult to split on '/' and and escape each part? This is the first I'm learning of this feature and I'm already missing it. --00163646d90ca38493046025ce50--