The count of various types of nodes in a TiDB instance can be adjusted according to changes in business volume, thereby improving the overall processing capacity and data capacity of the instance or reducing the usage cost of the instance.
During configuration change, TiDB instances can be used normally.
Note:
- The configuration can be changed only when the instance is in a “running” status.
- It only supports modifying the count of various types of nodes, and does not support modifying attributes such as CPU core count, memory, or storage space.
- If TiFlash node is not created during creation, it can be added by changing the configuration.
When scaling down a TiFlash node, you need to execute the following command for all tables whose replicas are greater than the count of remaining TiFlash nodes in the cluster:
shell alter table <db-name>.<table-name> set tiflash replica 0;
shell SELECT * FROM information_schema.tiflash_replica WHERE TABLE_SCHEMA = '<db_name>' and TABLE_NAME = '<table_name>';
Login to TiDB Service management console.
There are two ingresses for scale-out:
Adjust the count of nodes in the pop-up box for configuration change. When the instance has no TiFlash node to be added, you can select the specification and storage of TiFlash node. When the created instance has TiFlash created, you can only adjust the count of TiFlash nodes.
我们的产品专家为您找到最合适的产品/解决⽅案
1v1线上咨询获取售前专业咨询
专业产品顾问,随时随地沟通