PostgreSQL HA Collect:
1.pgpool
2.Pacemaker + Corosync
3.ecox
4.Patroni: A Template for PostgreSQL HA with ZooKeeper, etcd or Consul
Patroni originated as a fork of
Governor, the project from Compose. It includes plenty of new features.
5.Governor: A Template for PostgreSQL HA with etcd,已經棄用,他們推薦patroni
Consul 的優勢
· 使用 Raft 算法來保證一致性, 比復雜的 Paxos 算法更直接. 相比較而言, zookeeper 采用的是 Paxos, 而 etcd 使用的則是 Raft.
· 支持多數據中心,內外網的服務采用不同的端口進行監聽。 多數據中心集群可以避免單數據中心的單點故障,而其部署則需要考慮網絡延遲, 分片等情況等. zookeeper 和 etcd 均不提供多數據中心功能的支持.
· 支持健康檢查. etcd 不提供此功能.
· 支持 http 和 dns 協議接口. zookeeper 的集成較為復雜, etcd 只支持 http 協議.
· 官方提供web管理界面, etcd 無此功能.
6.
pglookout - PostgreSQL replication monitoring and failover daemon
7.
repmgr - replication manager for PostgreSQL clusters
8.
pg_keeper - Background worker based simple failover daemon.
另外:
https://momjian.us/main/blogs/pgblog/2019.html 博客 bruce momjian
MonetDB 列存