Re: replicating many to one - Mailing list pgsql-general

From John R Pierce
Subject Re: replicating many to one
Date
Msg-id 55709CD3.1030906@hogranch.com
Whole thread Raw
In response to replicating many to one  ("Doiron, Daniel" <DoironD@advisory.com>)
Responses Re: replicating many to one
List pgsql-general
On 6/4/2015 10:07 AM, Doiron, Daniel wrote:
> I have a situation where I need to replicate the databases in 4
> clusters on 4 individual servers to a single cluster on 1 server. So
> far, the best option looks like pgpool statement-based replication,
> the major down side being sequences. Does anyone know a better way to
> achieve this type of replication?

do all of your applications have inherent protection against
collisions?   to use an overly simple example,  if you have an inventory
table, what happens if two nodes concurrently sell the same last units
of a given SKU  ?   Or a banking example, whats to prevent concurrent
transactions on distributed servers handing out the same money ?





--
john r pierce, recycling bits in santa cruz



pgsql-general by date:

Previous
From: "Wayne E. Seguin"
Date:
Subject: Re: replicating many to one
Next
From: "Doiron, Daniel"
Date:
Subject: Re: replicating many to one