Re: Active/Active clustering in postgres

From: Stephen Frost <sfrost(at)snowman(dot)net>
To: Suzuki Hironobu <hironobu(at)interdb(dot)jp>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Active/Active clustering in postgres
Date: 2014-11-26 18:37:17
Message-ID: 20141126183717.GF28859@tamriel.snowman.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin pgsql-general

* Suzuki Hironobu (hironobu(at)interdb(dot)jp) wrote:
> (2014/11/27 2:20), John R Pierce wrote:
> >On 11/26/2014 2:36 AM, Postgres India wrote:
> >>I am looking for PostgreSQL active/active clustering and whether
> >>PostgreSQL support any form of shared-storage clustering . Is there
> >>any methods or tools for implementing active/active clustering on
> >>Postgres supported by community or any third party tools.
> >
> >you might look into PostgreSQL-XC and -XL (-XL is a fork of -XC). both
> >of these are multi-master clusters based on postgres.
>
> In addition, XC and XL are shared-nothing DB clusters.
>
> I think that there is no multi-master shared-storage DB cluster
> based on PostgreSQL.

I'm not aware of any. It would require the equivilant of the
distributed lock management which exists in RAC (and is also what makes
RAC limited in its ability to scale..). Note that applications which
are written to use RAC are likely easier to migrate to shared-nothing
sharded database systems since they would have already had to deal with
the complications associated with determining which node to send writes
to.

If your application isn't doing that then you're very unlikely to be
using RAC in a performant manner (as it relates to write-load
distribution, specifically) and would operate just fine with a single
master and slave replicas, with appropriate systems in place to handle
failover.

Thanks,

Stephen

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Greg Spiegelberg 2014-11-26 19:19:37 Re: Active/Active clustering in postgres
Previous Message Suzuki Hironobu 2014-11-26 18:25:47 Re: Active/Active clustering in postgres

Browse pgsql-general by date

  From Date Subject
Next Message Adrian Klaver 2014-11-26 18:43:58 Range type bounds
Previous Message Suzuki Hironobu 2014-11-26 18:25:47 Re: Active/Active clustering in postgres