数据库
文章平均质量分 56
chaos jin
活到老学到老。
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
MongoDB 分片迁移
目前集群架构mongos + config server * 3 + shard * 2 ( replication * 3)首先使用mongo终端连接到mongos.检查 balancer 是否开启 (必须为开启)mongos> sh.getBalancerState()true确定要删除的分片的名字,查看分片状态mongos> db.printShardingStatus()--- Sharding Status --- sharding version原创 2021-11-25 14:29:59 · 2656 阅读 · 0 评论 -
clickhouse + prometheus + grafana 监控
prometheus + grafana 是已经存在的监控平台,此处不在赘述。只是介绍如何将 clickhouse 的监控数据接入 prometheus。export 使用的是 clickhouse_exporter。具体步骤如下:git clone https://github.com/ClickHouse/clickhouse_exporter # go build 需要添加下go的代理,此处采用阿里的 export GOPROXY=https://mirrors.aliyun..原创 2021-11-22 17:18:50 · 1060 阅读 · 0 评论
分享