Hosting ClickHouse Cluster with Three Shards
TLDR Kshitij asked how to host a ClickHouse cluster with three shards. nitya-signoz explained Otel collector doesn't need to know about shards. Migration process requires manual env variable change for Docker.
Mar 01, 2023 (7 months ago)
Kshitij
05:26 AMnitya-signoz
05:33 AMKshitij
05:39 AMnitya-signoz
05:41 AMBtw why do you want to avoid changing the env variable ?
vishal-signoz
05:42 AMKshitij
05:44 AMMar 02, 2023 (7 months ago)
nitya-signoz
03:59 PMThe case in which you will need migrations is when upgrading signoz.
SigNoz Community
Indexed 825 threads (61% resolved)
Similar Threads
Problems Encountered with ClickHouse After Fresh Install
Romil experienced issues after a fresh install of ClickHouse. Prashant advised restarting certain pods, but that wasn't fully successful. Srikanth acknowledged the issue and pointed to a related open problem on GitHub.
Issues with Multicluster Functionality in a Clickhouse Setup
Hoang has trouble implementing multi-cluster functionality in a Clickhouse setup as the collector does not read `CLICKHOUSE_CLUSTER`. Shivanshu suggests using `cluster` for the cluster name, while Prashant refers to the relevant documentation.


Scale and Optimization Problem in the Production Move of Signoz
Simran had problems with scaling Signoz and tried a distributed shards setup with multiple replicas, but faced issues. Prashant confirmed that multiple replicas are not supported and suggested multiple shards of ClickHouse and multiple replicas of SigNoz Otel-Collector as a solution.
