停止和恢复 pg逻辑复制 -PostgreSQL 12
我想检查是否有办法使用 pglogic 停止和恢复 PostgreSQL 复制?由于某种原因,如果发布者或订阅者需要重新启动并离线一段时间(或由于某些 n/w 问题而导致连接问题),是否有办法停止复制并再次恢复?我知道这不是一个相关的示例,但 AWS DMS(使用 Postgres 本机逻辑复制)为您提供了停止/恢复复制的选项。想检查 pglogic 中是否有类似的选项可用。
谢谢
I wanted to check if there is a way to stop and resume PostgreSQL replication using pglogical? For some reason, if either the publisher or subscriber needs to restart and go offline for sometime (or connectivity issues because of some n/w issues), is there a way to stop the replication and resume it again? I know it is not a relevant example but AWS DMS (which used Postgres native logical replication) gives you an option to stop/resume the replication. Wanted to check if there is a similar option available in pglogical.
Thanks
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
当然有。我假设您安装了 pglogic 扩展并且有标准逻辑复制:
您可以使用 WHERE 子句来专门针对它:
Sure there is. I presume You have pglogical extension installed and there is standard logical replication:
You can use a WHERE clause to aim it specifically: