gpt4 book ai didi

windows - 使用 Windows 服务器负载平衡 PostgreSQL

转载 作者:可可西里 更新时间:2023-11-01 11:12:36 26 4
gpt4 key购买 nike

我有一个关于在 Windows 服务器上使用 PostgreSQL 时负载平衡的可能性的问题。在 Unix 系统上,这可以通过使用 pgpool-II 来实现。我怎样才能在 Windows 上实现同样的目标?

我知道在复制时不能混合系统。 Pgpool 文档指出:

Can I mix different platforms of PostgreSQL as pgpool-II backends, for example Linux and Windows?

In streaming replication mode, no

换一种情况呢?我可以在 Unix 机器上运行 pgpool,并在 Windows 服务器池上配置复制和负载平衡吗?

我正在使用 Windows Server 2008 R2 以防万一。

最佳答案

Can I run pgpool on a Unix machine, and configure replication & load balancing on a pool of Windows Servers?

是的,你可以。这可能是您所处情况的最佳选择,除非将 PgPool-II 移植到 Windows。

但是,我怀疑大多数情况下,跨只读副本的负载平衡并不是必需的,适当的数据库调优、索引和配置通常就足够了。

关于windows - 使用 Windows 服务器负载平衡 PostgreSQL,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/25762423/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com