Re: Can I make logical replication behave like synchronous streaming? - Mailing list pgsql-admin

From Simon Riggs
Subject Re: Can I make logical replication behave like synchronous streaming?
Date
Msg-id CANbhV-FyRYDntBWzcoOPqxPh5MhK3E-HySQMSMSdEExzb05OXg@mail.gmail.com
Whole thread Raw
In response to Can I make logical replication behave like synchronous streaming?  (sbob <sbob@quadratum-braccas.com>)
List pgsql-admin
On Wed, 20 Oct 2021 at 22:47, sbob <sbob@quadratum-braccas.com> wrote:

> We are going to be replication across platforms (risc ti intel), so we
> will be using logical replication (PostgreSQL v11)
>
> However we need a synchronous solution as opposed to async.
>
>
> Does logical replication perform like synchronous streaming? If not can
> I force it to do so?

Yes, it is designed to use the same connection interfaces.

https://www.postgresql.org/docs/devel/logical-replication-subscription.html

Note that sync rep in this mode is equivalent to synchronous_commit =
remote_apply.

-- 
Simon Riggs                http://www.EnterpriseDB.com/



pgsql-admin by date:

Previous
From: Simon Riggs
Date:
Subject: Re: Replication if single database
Next
From: pramod kg
Date:
Subject: PostgreSQL 14 rpm installation contrib module error.