Re: PG replication across DataCenters - Mailing list pgsql-general

From Ben Chobot
Subject Re: PG replication across DataCenters
Date
Msg-id 9F208972-32D3-4295-A30D-BCDAEF139E9F@silentmedia.com
Whole thread Raw
In response to Re: PG replication across DataCenters  (Thomas Harold <thomas-lists@nybeta.com>)
Responses Re: PG replication across DataCenters (section 25 in the manual)  (Thomas Harold <thomas-lists@nybeta.com>)
postgresql.org inconsistent (Re: PG replication across DataCenters)  (Wolfgang Keller <feliphil@gmx.net>)
List pgsql-general
On Dec 9, 2013, at 8:09 AM, Thomas Harold wrote:

On 11/22/2013 5:57 AM, Albe Laurenz wrote:
Kaushal Shriyan wrote:
I have read on the web that Postgresql DB supports replication
across data centers. Any real life usecase examples if it has been
implemented by anyone.

Well, we replicate a 1 TB database between two locations. It is a
fairly active OLTP application, but certainly not pushing the limits
of what PostgreSQL can do in transactions per second.


Something that section 25 in the pgsql documentation is not clear about for hot-standby with WAL log shipping using the built-in streaming:

Can you choose which databases / tables on the master server get streamed to the hot-standby read-only server at the remote site?  If not, I suspect we'll have to go with either Slony or Bucardo.

No, with the built-in binary replication, it's all or nothing, and the slaves have to have the exact same schema as the master (no adding or removing indices, for example.)

pgsql-general by date:

Previous
From: Stephan Fabel
Date:
Subject: Q: regarding backends
Next
From: Andreas Kretschmer
Date:
Subject: Re: PG replication across DataCenters