Multi-Cluster Replication with Pigsty #603
Replies: 3 comments 1 reply
-
Check the standby cluster in configration docs, you can also use logical replication for that purpose |
Beta Was this translation helpful? Give feedback.
-
I’ve recently created a new PostgreSQL cluster intended to serve as a logical standby for an existing production cluster, using Pigsty. The setup steps were: On Existing: pg-meta: On New Cluster: pg-meta-dev: Issue: On the new standby cluster, I can see the replication status as streaming, but the receive_start_lsn, write_lsn, and flush_lsn all remain at 0/17000000. It seems like replication is not progressing at all. Questions: Is this normal behavior for a newly initialized logical replica? Are there any steps I might be missing to properly register the standby with the primary? Is it expected that the standby cluster node doesn’t appear in pg_stat_replication on the primary in logical replication? Any advice or insight would be greatly appreciated. Thanks in advance! |
Beta Was this translation helpful? Give feedback.
-
the pg_upstream: 10.10.10.56 here is setting up a standby cluster which are physical copies of original cluster. You'll have to create publication and subscription with SQL to build a logical replication. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Is it possible to deploy two Pigsty-based PostgreSQL clusters in a replication setup, such as active-standby or multi-cluster replication, for high availability or cross-region failover?
Beta Was this translation helpful? Give feedback.
All reactions