Search Postgresql Archives

Re: Partitioning Vs. Split Databases - performance?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




On Thu, 21 Dec 2006, Vlad wrote:

On 12/21/06, Ron Johnson <ron.l.johnson@xxxxxxx> wrote:


>> Given the same physical hardware, which one is likely to perform
better? Does
>> it make any difference? Does using separate databases use more RAM than
a
>> single database with a bunch of different tables?

Config files are global, so I doubt it.


if it's a web app with persistent connections, then splitting onto several
databases may consume more RAM. Example: 100 apache clients connected to 3
databases creates 300 forked postmaster processes ; vs 100 apache clients
connected to the same DB using three schemas only takes 100 postmasters

--  Vlad

Using something like pgpool between the web servers and the DB should help with that scaling problem...

- Marc


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux