[Postgres-xl-developers] Postgres-XC/XL cluster level redundancy

Koichi Suzuki koichi.dbms at gmail.com
Mon Dec 14 21:06:17 PST 2015

In this case, if Cluster B is the backup, you may not need any salves in
ClusterA, including gtm.   Also, you may not need masters in ClusterB.
Instead, you can configure all the salves including gtm at ClusterB.
Pgxc_ctl supports this configuration.

You can configure separate slaves at cluster A.   You can do it only
manually.  pgxc_ctl supports only one slave for a given master.   Also, at
present, you can configure only one GTM slave.   It is not pgxc_ctl

In addition, because all the coordinators are almost identical if it does
not have any local table, you can use one coordinator master to add more
coordinator.   This may save some resources.


Koichi Suzuki

2015-12-14 21:25 GMT+09:00 Ricky Jiang <rickyjiang911 at gmail.com>:

> Hello,
> We're planning to build a database cluster using Postgres-XC or XL.
> Besides the cluster, we're also going to build a backup  cluster for
> disaster recovery.
> Is it possible for Postgres XC or XL to do this? If yes, how to
> synchronize data between the corresponding DataNodes and Coordinators?
> Suppose we have a Cluster A and the backup Cluster B as following.
> Cluster A:
> GTM Master: gtm1
> GTM Slave: gtm2
> Coordinator Master:  coord1, coord2
> Coordinator Slave:  coord3, coord4
> DataNode Master:  dn1, dn2
> DataNode Slave:   dn3, dn4
> Cluster B:
> GTM Master: gtm3
> GTM Slave: gtm4
> Coordinator Master:  coord5, coord6
> Coordinator Slave:  coord7, coord8
> DataNode Master:  dn5, dn6
> DataNode Slave:   dn7, dn8
> They are located in the same city but in different areas and the
> connection between them are fast, for example, 1000M.
> I think data synchronization should work in this way,
> Coordinator Master: coord1-->coord5, coord2-->coord6
> DataNode Master: dn1-->dn5, dn2-->dn6
> GTM: I don't know how.
> Do you think Postgres-XC or XL can work this way? What else should be
> considered?
> Thanks you,
> Ricky
> ------------------------------------------------------------------------------
> _______________________________________________
> Postgres-xl-developers mailing list
> Postgres-xl-developers at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/postgres-xl-developers
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.postgres-xl.org/private.cgi/postgres-xl-developers-postgres-xl.org/attachments/20151215/2f3736c3/attachment.htm>

More information about the Postgres-xl-developers mailing list