Re: Multi-Master-Solution (PGCluster)?

From: Scott Marlowe <smarlowe(at)g2switchworks(dot)com>
To: Jens Carl <ml01(at)in-bln(dot)de>
Cc: pgsql general <pgsql-general(at)postgresql(dot)org>
Subject: Re: Multi-Master-Solution (PGCluster)?
Date: 2005-12-08 17:27:58
Message-ID: 1134062878.3587.2.camel@state.g2switchworks.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Thu, 2005-12-08 at 04:16, Jens Carl wrote:
> Hello list,
>
> we need urgently a database cluster with load balancing, high available
> and multi-master support. We would like use as database engine PostgresSQL.
> The only propgramm we found is pgcluster. But it seems to be in beta
> stage und has no support for pgSQl 8.1.
>
> Has anybody experience with PGCluster or has somebody another tip for me?

If a synchronous two machine system would work, you might want to look
into pgpool, which is kind of a country cousin to pgcluster, in that a
fair bit of its code is in pgcluster.

pgpool can handle two machines running synchronously and do failover
automagically. Of course, you've got the standard caveats that things
like random() in an update are a bad idea, and timestamps might not
exactly match, since it is a query shipping solution, not log shipping.

OTOH, a lot of folks use a shared storage array with takeover to ensure
uptime. Those are nice because you don't have to worry about two copies
getting out of sync, since there's really only one copy. A pair of a
pair of machines with one set as the master and one as the slave in a
slony replication farm could give you very high uptimes.

In response to

Browse pgsql-general by date

  From Date Subject
Next Message David Rysdam 2005-12-08 17:44:31 date format
Previous Message Oleg Bartunov 2005-12-08 16:19:08 Re: is it possible to delete the psql log while psql is