小编박배선*_*박배선的帖子

clickhouse 有分片的方法吗?

我有两个关于如何在 clickhouse 中进行分片的问题。

Q1. clickhouse有必要使用分布式引擎进行分片吗?

Q2。我想知道是否可以根据我设置的标准进行分片,而不是根据分片的权重自动分配。

Example.
 - If id is 1, it is stored in shard1.
 - If id is 2, it is stored in shard2.
 - If id is 3, it is stored in shard3.



I understand the sharding through the distribution engine as follows.
- distributed engine use the cluster defined in the config.xml file.
- It is automatically distributed to the shard according to the weight of the shard.
Run Code Online (Sandbox Code Playgroud)

感谢您阅读我的问题。我期待你的回复。

clickhouse

1
推荐指数
1
解决办法
2422
查看次数

标签 统计

clickhouse ×1