Re: Sync replication - Mailing list pgsql-admin

From Michael Paquier
Subject Re: Sync replication
Date
Msg-id 20180126013738.GG17847@paquier.xyz
Whole thread Raw
In response to Re: Sync replication  (Stephen Frost <sfrost@snowman.net>)
Responses Re: Sync replication
Re: Sync replication
List pgsql-admin
On Thu, Jan 25, 2018 at 08:21:43PM -0500, Stephen Frost wrote:
> That's correct, which is why it's encouraged to have multiple replicas
> configured when using synchronous replication.  In v10, it's possible to
> specify how many synchronous replicas are required to have acknowledged
> a given transaction before a COMMIT is returned to the applicaiton.
> Please review the documentation here:
>
> https://www.postgresql.org/docs/current/static/warm-standby.html#SYNCHRONOUS-REPLICATION

Be careful about the performance impact if there is network latency
between a primary and its standbys. One small correction to what Stephen
says here. It is possible to define multiple synchronous standbys in
v9.6. v10 has added the possibility to define quorum groups. Note that
the grammar as been kept backward-compatible across versions.
--
Michael

Attachment

pgsql-admin by date:

Previous
From: Stephen Frost
Date:
Subject: Re: Sync replication
Next
From: Stephen Frost
Date:
Subject: Re: Sync replication