Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
在最低要求中,要构建一个主从系统,我必须有两个协调器,一个主,一个从。那么当你建立你的连接字符串时,目标 IP 是什么?掌握?奴隶?或一些浮动IP来管理这个
如果您询问您的数据库客户端应该连接到哪个协调器节点,则两者都不是。您的应用程序将连接到将连接到这些节点的负载均衡器。请参阅此处的布局:
https://www.postgres-xl.org/overview/