本文讨论了在PostgreSQL中使用Patroni和Pgpool构建高可用集群的最佳实践,包括HTTPS、ETCD3、SCRAM-SHA-256认证、最新版本PostgreSQL、软件安装选择、Keepalived和HAProxy的配置,以及硬件要求。建议在生产环境中进行负载模拟以验证性能和稳定性。
在数据密集型应用中,PostgreSQL结合Amazon Aurora和pgpool-II构建高可用、高性能的数据库架构,实现自动读写分离、负载均衡和故障转移。Aurora具备存储与计算分离、集群架构和快速故障转移等特性,而pgpool-II负责连接池和查询路由,提升性能。通过亚马逊云科技CDK实现自动化部署,简化了架构实现过程,满足现代应用需求。
在设计高可用的PostgreSQL集群时,Pgpool-II和Patroni是常用工具。Pgpool-II适合重负载应用,提供负载均衡和连接池功能;而Patroni专注于自动故障转移和一致性,利用分布式共识系统维护集群健康。选择工具应根据具体需求。
本文介绍了如何使用PGPool动态地添加和删除PostgreSQL池中的副本服务器,强调了在零停机时间下更改副本对于高可用性应用程序的重要性。
本文介绍了在Kubernetes上部署pgpool节点实现读写请求负载均衡的方法,提供了部署和配置清单,以及创建secretKeyRef对象存储凭据的步骤。同时,还介绍了如何使用psql查询pgpool并观察入站查询的重新分配。
本文介绍了如何在Kubernetes上部署PostgreSQL和pgpool,并获取每个部署的pod使用的CPU和内存使用情况的指标信息。作者分享了自己的方法,利用k8s的本地指标服务器+定时作业来实现。
本文介绍了使用pgpool和neon计算节点进行实验性负载平衡的过程,基于共享存储和无服务器解决方案。详细介绍了节点设置、热备份和负载平衡的操作。
介绍pgpool-II工具,可管理和优化PostgreSQL数据库集群性能,具有负载均衡、连接池、查询缓存、高可用性和在线恢复等功能,提高数据库集群可靠性和性能,Percona全面支持并提供最新版本下载。
本文介绍了pgpool-II工具,可管理和优化PostgreSQL数据库集群性能,具有负载均衡、连接池、查询缓存、高可用性和在线恢复等功能,提高数据库集群可靠性和性能,Percona全力支持并提供最新版本下载。
Pre-fork architecture in Pgpool-II Pgpool-II uses fixed number of pre-forked child process which is responsible for accepting and handling each client connection to Pgpool-II. When a client...
Pgpool-II Exporter is a tool that periodically collects Pgpool-II and PostgreSQL Cluster's metrics and exports the results as Prometheus metrics. Pgpool-II Exporter uses SHOW command to...
Query cache in Pgpool-II Pgpool-II has built-in in memory query result cache which may dramatically enhance performance in certain use cases. If your workload is mostly read only SELECT and...
In my previous post I wrote about how to configure and manage virtual IP for Pgpool-II on AWS. As I mentioned in my previous post, there are four methods to assign the virtual IP on...
It is possible to install and configure Pgpool-II in EC2 instances. However, the common ways to assign VIP can't be used in the Cloud. We need to consider alternatives for assigning VIP in the...
下载地址:http://pgfoundry.org/projects/pgpool/ 文件为:pgpool-II-2.0.1.tar,tar xvfj pgpool-II-2.0.1.tar 在pgpool-II-2.0.1目录下,执行./configure –prefix=/home/y/share/pgsql —-with-pgsql=/home/y/share/pgsql,...
完成下面两步后,将自动完成登录并继续当前操作。