Re: Can I make logical replication behave like synchronous streaming?

From: Simon Riggs <simon(dot)riggs(at)enterprisedb(dot)com>
To: sbob <sbob(at)quadratum-braccas(dot)com>
Cc: pgsql-admin <pgsql-admin(at)postgresql(dot)org>
Subject: Re: Can I make logical replication behave like synchronous streaming?
Date: 2021-10-21 13:18:29
Message-ID: CANbhV-FyRYDntBWzcoOPqxPh5MhK3E-HySQMSMSdEExzb05OXg@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

On Wed, 20 Oct 2021 at 22:47, sbob <sbob(at)quadratum-braccas(dot)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/

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message pramod kg 2021-10-21 15:46:15 PostgreSQL 14 rpm installation contrib module error.
Previous Message Simon Riggs 2021-10-21 13:13:54 Re: Replication if single database