Clarification relation logical replication

Поиск
Список
Период
Сортировка
От Santhosh Kumar
Тема Clarification relation logical replication
Дата
Msg-id CANCPq3iTDZfRpuxiugcUmVHxvRS-zw-WT0L-+8tF-pwR6-zG-Q@mail.gmail.com
обсуждение исходный текст
Список pgsql-general
Hi,
 Can I have a cluster of multiple instances with logical replication enabled for all tables with every single instance as both publisher and subscriber, to mimic multi master replication?

The documentation says, care must be taken on subscribed publication objects to not overlap? Ref : https://www.postgresql.org/docs/12/logical-replication-subscription.html

"A subscriber node may have multiple subscriptions if desired. It is possible to define multiple subscriptions between a single publisher-subscriber pair, in which case care must be taken to ensure that the subscribed publication objects don't overlap."


If the above multi master scenario is not possible in logical replication, and if is one publisher and multiple subscribers, what will happen if the publisher instance crashes? How to enable hot standby in cluster setup where there is one publisher of logical replication and rest all instances are subscribers?

Regards,
KRS

В списке pgsql-general по дате отправления:

Предыдущее
От: Adrian Klaver
Дата:
Сообщение: Re: idle_in_transaction_session_timeout not getting log in PG v12.2
Следующее
От: Albrecht Dreß
Дата:
Сообщение: Re: Unique index on hash of jsonb value - correct solution?