Re: Synchronous replication - Mailing list pgsql-general

From Joshua D. Drake
Subject Re: Synchronous replication
Date
Msg-id 5696B4D6.70809@commandprompt.com
Whole thread Raw
In response to Synchronous replication  (jwiencek3@comcast.net)
Responses Re: Synchronous replication  (Thomas Munro <thomas.munro@enterprisedb.com>)
List pgsql-general
On 01/13/2016 12:28 PM, jwiencek3@comcast.net wrote:
> Is it possible to set up synchronous replication to more that one node
> in a cluster?  Or, am I limited to one synchronous node and one
> asynchronous node?

Yes you can have N number of synchronous slaves. However, be careful. It
can be a huge performance hit.

>
> Assuming my replicated databases are on nodes:   testqa1, testqa2.  What
> would my synchronous_standby_names entry in my postgresql.conf on my
> master database?

The IP address that each is binding to.

JD
--
Command Prompt, Inc.                  http://the.postgres.company/
                      +1-503-667-4564
PostgreSQL Centered full stack support, consulting and development.


pgsql-general by date:

Previous
From: "drum.lucas@gmail.com"
Date:
Subject: Re: New Slave - timeline ERROR
Next
From: Andreas Joseph Krogh
Date:
Subject: Re: Moving a large DB (> 500GB) to another DB with different locale