Uneven Disk Space Usage on Tiflash Server

Note:
This topic has been translated from a Chinese forum by GPT and might contain errors.

Original topic: Tiflash服务器磁盘空间使用不均衡

| username: jingyesi3401

[TiDB Usage Environment] Production Environment, Testing

[TiDB Version] v5.1.0

[Encountered Problem: Phenomenon and Impact] Currently, the TiFlash in the running TiDB cluster has 3 nodes and 2 replicas. However, by observing the disk usage of the three nodes, it is completely unbalanced. The usage rate of node one exceeds 80%, and I am worried that it might explode if it continues. There should be a default disk usage ratio, rather than continuously increasing.

  1. Node one (x.x.x.x), disk usage rate 81%

  2. Node two (y.y.y.y), disk usage rate 58%

  3. Node three (z.z.z.z), disk usage rate 41%

  4. TiFlash region distribution

| username: 我是咖啡哥 | Original post link

Did you configure the labels? And are they configured differently?

| username: jingyesi3401 | Original post link

No labels were configured, everything is using default values.

| username: tidb菜鸟一只 | Original post link

Check the distribution of each table in the TIFLASH_SEGMENTS table to see if any large tables are concentrated on these two nodes.