简体   繁体   English

Postgres 的复制槽是否在跨区域复制中重复?

[英]Do replication slots of Postgres get duplicated in cross region replication?

I have a PostgreSQL DB on Amazon RDS .我在Amazon RDS上有一个PostgreSQL数据库。 I need a replication available on a different AWS Region for having high availability.我需要在不同的 AWS 区域上进行复制以实现高可用性。 I read the Posgres Docs here .我在这里阅读了 Posgres 文档。 However, I'm not sure if the replication slots are also replicated (along with the lsn's ).但是,我不确定replication slots是否也被复制(连同lsn's )。

Can someone throw some light on this?有人可以对此有所了解吗? Also, if the replication slots are not duplicated on the RDS replica (in the different region), how do I manage a region failure?此外,如果 RDS 副本(在不同区域中)上的复制槽不重复,我如何管理区域故障?

In PostgreSQL, replication slots are not replicated.在 PostgreSQL 中,不复制复制槽。 You can, however, create replication slots on standby servers, if you want to use cascading replication.但是,如果要使用级联复制,可以在备用服务器上创建复制槽。

There is no need to replicate a replication slot.无需复制复制槽。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM