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 A7D56906B for ; Sat, 1 Oct 2011 07:54:58 +0000 (UTC) Received: (qmail 85803 invoked by uid 500); 1 Oct 2011 07:54:57 -0000 Delivered-To: apmail-couchdb-user-archive@couchdb.apache.org Received: (qmail 85526 invoked by uid 500); 1 Oct 2011 07:54:53 -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 85480 invoked by uid 99); 1 Oct 2011 07:54:52 -0000 Received: from minotaur.apache.org (HELO minotaur.apache.org) (140.211.11.9) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 01 Oct 2011 07:54:52 +0000 Received: from localhost (HELO mail-iy0-f180.google.com) (127.0.0.1) (smtp-auth username rnewson, mechanism plain) by minotaur.apache.org (qpsmtpd/0.29) with ESMTP; Sat, 01 Oct 2011 07:54:52 +0000 Received: by iahk25 with SMTP id k25so4251292iah.11 for ; Sat, 01 Oct 2011 00:54:51 -0700 (PDT) MIME-Version: 1.0 Received: by 10.231.25.206 with SMTP id a14mr16451511ibc.15.1317455691346; Sat, 01 Oct 2011 00:54:51 -0700 (PDT) Received: by 10.231.65.79 with HTTP; Sat, 1 Oct 2011 00:54:51 -0700 (PDT) In-Reply-To: References: <786A741666684247B9F8E19746390024264C41EC@ht1-mail-acc2> <786A741666684247B9F8E19746390024264C44B2@ht1-mail-acc2> Date: Sat, 1 Oct 2011 08:54:51 +0100 Message-ID: Subject: Re: Max number of collections From: Robert Newson To: user@couchdb.apache.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable The maximum number of databases is 'however many you can fit on disk' unless you are using a filesystem that performs poorly if you have lots of files in the same directory (though embedded /'s in your db names is a poor man's hack around that). CouchDB keeps an LRU of open dbs and closes one to open a new one, it defaults to 100. Raise this to prevent thrashing if lots of databases are active (and increase the file descriptor limit, most linuxes default to 1024, for example). B. On 1 October 2011 02:24, Mark Hahn wrote: > As I understand the actual limits are in file/net descriptors in the OS, = not > in Couch. =A0Some are using one DB per registered user. > > On Fri, Sep 30, 2011 at 4:57 PM, Kismat Sood wro= te: > >> Sorry about that. What I should have asked was if there is a maximum on = the >> number of databases that can be created. >> >> >> >> >> -----Original Message----- >> From: Robert Newson [mailto:rnewson@apache.org] >> Sent: Friday, September 30, 2011 4:26 PM >> To: user@couchdb.apache.org >> Subject: Re: Max number of collections >> >> what are 'collections'? >> >> On 1 October 2011 00:07, Kismat Sood wrote: >> > Hello all, >> > >> > Can anyone tell me if there is a limit to the maximum number of >> collections a database can hold. >> > >> > >> >