Re: Limit on number of databases in a Cluster ?

From: "Scott Marlowe" <scott(dot)marlowe(at)gmail(dot)com>
To: "Josh Harrison" <joshques(at)gmail(dot)com>
Cc: "General postgres mailing list" <pgsql-general(at)postgresql(dot)org>
Subject: Re: Limit on number of databases in a Cluster ?
Date: 2008-12-04 04:49:00
Message-ID: dcc563d10812032049i4f881act21c260b277ada11f@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Wed, Dec 3, 2008 at 11:05 AM, Josh Harrison <joshques(at)gmail(dot)com> wrote:
>
>
> On Wed, Dec 3, 2008 at 11:51 AM, Scott Marlowe <scott(dot)marlowe(at)gmail(dot)com>
> wrote:
>>
>> On Wed, Dec 3, 2008 at 8:43 AM, Josh Harrison <joshques(at)gmail(dot)com> wrote:
>> > Hi,
>> >
>> > 1. Is there a limit on the number of databases that can be in a single
>> > postgres cluster?
>>
>> No. I'm sure there's a practical limit into the thousands where
>> things start to get slower.
>>
>> > 2. Is there any performance impacts associated with having too many
>> > databases in a cluster?
>>
>> Define too many. I've run a couple hundred before without it being a
>> problem.
>>
>> > 3. Is there a good magical number for this limit ?
>>
>> Only the one that your testing tells you there is. Got a rough guess
>> of how many you want to run? How busy they'll be? that kind of
>> thing.
>
> About 10-15 ?

That's hardly any really. At that point it's more about whether or
not your server can support all the users / access going on at once.
15 or 1 db in the cluster, if you've got 200 users hitting it hard
you'll need a big server. OTOH, 100 dbs in a cluster with a dozen or
fewer average users is just fine.

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Piotr Foremniak 2008-12-04 08:41:55 unstable SELECT performance under load
Previous Message Fujii Masao 2008-12-04 01:20:10 Re: Switch off PITR