AgensGraph 是否支持连接池?

Does AgensGraph support connection pool?

在某些项目中,我需要使用AgensGraph 中的连接池。
我发现 "pgpool-II" 和 "pg bouncer" 支持 PostgreSQL 中的连接池功能。
那么我可以在没有任何配置或特定库的情况下在 AgensGraph 中使用这些模块吗?

您可以在 AgensGraph 中使用 pg 扩展,如 pgpool 或 pgbouncer,大多数扩展都是有保证的,但有些扩展不是 100%,您需要从 AgensGraph 提供商 Bitnine 那里确认。

PG-Pool 与连接池功能配合得很好。

如您所知,PG-Pool 支持连接池、负载均衡、postgresql 的自动故障转移触发器和 PG-Pool HA by watch-dog。

在这些功能中,连接池、故障转移触发器和 PG-Pool HA 在没有其他库的情况下工作得很好。

然而,如果您需要负载平衡功能,您应该联系 agensgraph 提供者以获得额外的支持或指导,因为密码查询无法被原始 PG-Pool 解析。

Drivine driver from Liberation Data 基于 PPGool 自动提供连接池。