citus 11.2 更好的支持patroni 集群部署

citus 11.2 可以更好的支持基于patroni 的集群环境部署了,同时patroni 官方也提供了相关的文档专门介绍如何进行citus ha 的部署
我以前有简单说明过基于patroni+ citus 11 进行实际部署,目前官方提供了类似的能力,可以省去我们不少时间

部署一些简单说明

  • 参考配置
 
citus:
  group: X  # 0 for coordinator and 1, 2, 3, etc for workers // 注意此处0 就是coordinator,其他的为worker 节点
  database: citus  # must be the same on all nodes
  • 参考图
    从下图也可以看出0 为coordinator

 

 

说明

具体部署可以参考citus 官方的一个介绍,包含了ha 部署说明,注意patroni 版本需要是3.0 , 很值得使用,同时我参考官方的部署示例运行了
下发现还是比较流畅的,简单方便,同时官方也提供了基于k8s 进行集群环境的部署说明

参考资料

https://www.citusdata.com/blog/2023/03/06/patroni-3-0-and-citus-scalable-ha-postgres/
https://patroni.readthedocs.io/en/latest/citus.html
https://www.citusdata.com/blog/2023/02/08/whats-new-in-citus-11-2-patroni-ha-support/
https://www.cnblogs.com/rongfengliang/p/16247280.html
https://patroni.readthedocs.io/en/latest/citus.html#citus-on-kubernetes
https://www.citusdata.com/blog/2022/09/19/citus-11-1-shards-postgres-tables-without-interruption/
https://www.citusdata.com/updates/v11-2/

posted on   荣锋亮  阅读(318)  评论(0编辑  收藏  举报

相关博文:
阅读排行:
· 全程不用写代码,我用AI程序员写了一个飞机大战
· DeepSeek 开源周回顾「GitHub 热点速览」
· 记一次.NET内存居高不下排查解决与启示
· MongoDB 8.0这个新功能碉堡了,比商业数据库还牛
· .NET10 - 预览版1新功能体验(一)
历史上的今天:
2022-03-21 使用odbc 提升cube.js 查询dremio 的性能
2017-03-21 caddy server 几个常用插件
2016-03-21 nginx windows 版 创建windows 服务

导航

< 2025年3月 >
23 24 25 26 27 28 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31 1 2 3 4 5
点击右上角即可分享
微信分享提示