Re: 2 postgresql processes on the same machine ? - Mailing list pgsql-general

From Christopher Browne
Subject Re: 2 postgresql processes on the same machine ?
Date
Msg-id m31xj2zyd0.fsf@wolfe.cbbrowne.com
Whole thread Raw
In response to 2 postgresql processes on the same machine ?  ("Jean-Guillaume LALANNE" <jeanguillaume.lalanne@capgemini.com>)
List pgsql-general
In an attempt to throw the authorities off his trail, lists@klawitter.de (Holger Klawitter) transmitted:
> Hi Jean
>
>> My question may seem a little bit strange but
>> I'd like to know if it is possible to run 2
>> postgresql processes with 2 separate databases on the
>> same machine (change of the ports, different paths to
>> logs, ...)?
>
> Yes, it easily possible (the necceary options are documented).
> But if the issue is only about more than one database, you
> don't need to, as postgres can serve more than one database.
> (my postmaster serves 18 DBs).

I have seen a number of good reasons to have multiple postmasters on a
single host, notably that cache is shared across all databases in a
single cluster; if different databases have very different access
patterns, one of them might destroy the usefulness of the cache.

That is quite likely to change with ARC in 7.5, but we're not there
quite yet.
--
"cbbrowne","@","cbbrowne.com"
http://cbbrowne.com/info/spiritual.html
Chad has brought us a brilliant new twist: "Nobody has ever been a bad
parent by buying Microsoft."
-- David Steinberg <steinber@interchange.ubc.ca>

pgsql-general by date:

Previous
From: mmd@teledavis.com
Date:
Subject: pgadmin problem
Next
From: Doug McNaught
Date:
Subject: Re: pgadmin problem