Re: Sync replication - Mailing list pgsql-admin

From Stephen Frost
Subject Re: Sync replication
Date
Msg-id 20180126012143.GB2416@tamriel.snowman.net
Whole thread Raw
In response to Re: Sync replication  (Azimuddin Mohammed <azimeiu@gmail.com>)
Responses Re: Sync replication  (Michael Paquier <michael.paquier@gmail.com>)
Re: Sync replication  (Michael Paquier <michael.paquier@gmail.com>)
List pgsql-admin
Greetings,

On our mailing lists, we prefer that replies be in-line and ask that
users not top-post.  Please see my response, in-line, below.

* Azimuddin Mohammed (azimeiu@gmail.com) wrote:
> So untill my slave comes up master does not commit any transaction which
> means technically my db is non operative?

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

Thanks!

Stephen

Attachment

pgsql-admin by date:

Previous
From: Rakesh Kumar
Date:
Subject: Re: Sync replication
Next
From: Michael Paquier
Date:
Subject: Re: Sync replication