Note:
This topic has been translated from a Chinese forum by GPT and might contain errors.Original topic: tidb集群能在不影响生产环境正常使用的状态下缩容部分节点吗?

Can the TiDB cluster scale down some nodes without affecting the normal use of the production environment?
Note:
This topic has been translated from a Chinese forum by GPT and might contain errors.Original topic: tidb集群能在不影响生产环境正常使用的状态下缩容部分节点吗?
Can the TiDB cluster scale down some nodes without affecting the normal use of the production environment?
What type of node are you trying to scale down? PD, TiDB Server, TiKV, or Tiflash? It’s not clearly described.
Yes, you can use the tiup cluster
command to scale the cluster up or down (Why is your production environment version 6.4.0? It is recommended to upgrade to the LTS version 6.5.1 as soon as possible).
Please provide the details of the issue and the error you encountered.
Migrate the leaders of the nodes to be taken offline before scaling down.
Sure, but it depends on your specific scenario. Please describe it in detail.
You asked if it is possible, and the answer is yes.
However, for scaling down different types of components (TiKV, TiDB, TiFlash, TiPD, etc.), there are corresponding procedures. Generally, they are quite simple. Just refer to and follow the official documentation.
Here is a link to the official scaling documentation: 使用 TiUP 扩容缩容 TiDB 集群 | PingCAP 文档中心
This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.