当备用节点不是同步时,PostgreSQL复制EFM如何拒绝插入?
我有一个3个节点簇,适用于 PostgreSQL 14 由 EDB故障转移管理器制造。
当我关闭两个待机节点时,主节点需要永远进行插入命令。
我不希望它执行插入命令,我希望它像一个只读节点一样(拒绝插入/更新..)。
I have a 3 nodes cluster for PostgreSQL 14 made by EDB Failover Manager.
When I turn off the two standby nodes, the Primary node takes forever to do the insert commands.
I don't want it to do insert commands, I want it to act like a read-only node (reject inserts/updates..) when there is no Standby node sync.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论