pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Rory Campbell-Lange <rory@campbell-lange.net>
To: pgsql-general@lists.postgresql.org
Subject: Logical replication versus pglogical on PostgreSQL 14
Date: Sat, 23 Jul 2022 10:09:40 +0100
Message-ID: <Ytu61DD4deIh+bud@campbell-lange.net> (raw)

I'm keen to learn of the differences between logical replication in
PostgreSQL 14 and how this is different from the pglogical extension.

Our intended use case is to have 200-300 publishers off many small
databases aggregating to 20-30 central databases on another PostgreSQL
instance on the same machine.

My questions are:

Is native logical replication and pglogical replication fundamentally
the same?

Is pglogical likely to be continue to be supported?

Is there a roadmap for including more pglogical functionality in native
logical replication?

The following pglogical management functions seem particularly useful to
our use case:

* pglogical.replicate_ddl_command
  sync publisher ddl changes with subscriber

* pglogical.alter_subscription_synchronize
  pglogical.wait_for_subscription_sync_complete/
  pglogical.wait_slot_confirm_lsn
  sync subscription tables

* pglogical.wait_slot_confirm_lsn
  assess if all subscribers are up-to-date
  (monitoring this in native logical replication seems tricky)

Thanks for any comments
Rory








view thread (2+ messages)  latest in thread

Message-ID: <Ytu61DD4deIh+bud@campbell-lange.net>
Permalink:  ../Ytu61DD4deIh+bud@campbell-lange.net/
Also on:    postgresql.org/message-id/Ytu61DD4deIh+bud@campbell-lange.net

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-general@postgresql.org
  Cc: rory@campbell-lange.net
  Subject: Re: Logical replication versus pglogical on PostgreSQL 14
  In-Reply-To: <Ytu61DD4deIh+bud@campbell-lange.net>
  References: <Ytu61DD4deIh+bud@campbell-lange.net>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox