pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Joshua D. Drake <jd@commandprompt.com>
To: Nicholson, Brad (Toronto, ON, CA) <bnicholson@hp.com>
To: Max <maxabbr@yahoo.com.br>
To: pgsql-performance@postgresql.org <pgsql-performance@postgresql.org>
Subject: Re: One huge db vs many small dbs
Date: Thu, 05 Dec 2013 13:53:51 -0800
Message-ID: <52A0F5EF.9030305@commandprompt.com> (raw)
In-Reply-To: <EC55DC235432104F8255702A8D7344D941C0C5CB@G4W3211.americas.hpqcorp.net>
References: <1386240130.78000.YahooMailNeo@web163002.mail.bf1.yahoo.com>
	<EC55DC235432104F8255702A8D7344D941C0C5CB@G4W3211.americas.hpqcorp.net>
List-Unsubscribe:  <mailto:majordomo@postgresql.org?body=unsub%20pgsql-performance>



>> One of the many questions we have is about performance of the db if we
>> work with only one (using a ClientID to separete de clients info) or thousands
>> of separate dbs. The management of the dbs is not a huge concert as we
>> have an automated tool.
>
> If you are planning on using persisted connections, the large number of DB approach is going to have a significant disadvantage.  You cannot pool connections between databases.  So if you have 2000 databases, you are going to need a minimum of 2000 connections to service those database (assuming you want to keep at least one active connection open per client at a time).

That isn't exactly true. You could run multiple poolers.

JD

>
> Brad.
>
>
>


-- 
Command Prompt, Inc. - http://www.commandprompt.com/  509-416-6579
PostgreSQL Support, Training, Professional Services and Development
High Availability, Oracle Conversion, Postgres-XC, @cmdpromptinc
For my dreams of your image that blossoms
    a rose in the deeps of my heart. - W.B. Yeats


-- 
Sent via pgsql-performance mailing list (pgsql-performance@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-performance



view thread (9+ messages)  latest in thread

Message-ID: <52A0F5EF.9030305@commandprompt.com>
Permalink:  ../52A0F5EF.9030305@commandprompt.com/
Also on:    postgresql.org/message-id/52A0F5EF.9030305@commandprompt.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-performance@postgresql.org
  Cc: jd@commandprompt.com, bnicholson@hp.com, maxabbr@yahoo.com.br
  Subject: Re: One huge db vs many small dbs
  In-Reply-To: <52A0F5EF.9030305@commandprompt.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox