Scale Your TiDB Cluster
You can scale a TiDB cluster in the following dimensions:
- Node number of TiDB, TiKV, and TiFlash
- Node storage of TiKV and TiFlash
- Node size (including vCPUs and memory) of TiDB, TiKV, and TiFlash
For information about how to determine the size of your TiDB cluster, see Determine Your TiDB Size.
Change node number
You can increase or decrease the number of TiDB, TiKV, or TiFlash nodes.
To change the number of TiDB, TiKV, or TiFlash nodes, take the following steps:
In the TiDB Cloud console, navigate to the Clusters page of your project.
In the row of the cluster that you want to scale, click ....
Click Modify in the drop-down menu. The Modify Cluster page is displayed.
On the Modify Cluster page, change the number of TiDB, TiKV, or TiFlash nodes.
Click Confirm.
You can also change the number of TiDB, TiKV, or TiFlash nodes using TiDB Cloud API through the Modify a TiDB Dedicated cluster endpoint. Currently, TiDB Cloud API is still in beta. For more information, see TiDB Cloud API Documentation.
Change node storage
You can increase the node storage of TiKV or TiFlash.
To change the node storage of TiKV or TiFlash, take the following steps:
In the TiDB Cloud console, navigate to the Clusters page of your project.
In the row of the cluster that you want to scale, click ....
Click Modify in the drop-down menu. The Modify Cluster page is displayed.
On the Modify Cluster page, change the node storage of TiKV or TiFlash.
Click Confirm.
You can also change the storage of a TiKV or TiFlash node using TiDB Cloud API through the Modify a TiDB Dedicated cluster endpoint. Currently, TiDB Cloud API is still in beta. For more information, see TiDB Cloud API Documentation.
Change node size
You can increase or decrease the size (including vCPUs and memory) of TiDB, TiKV, or TiFlash nodes.
To change the size of TiDB, TiKV, or TiFlash nodes, take the following steps:
In the TiDB Cloud console, navigate to the Clusters page of your project.
In the row of the cluster that you want to scale, click ....
Click Modify in the drop-down menu. The Modify Cluster page is displayed.
On the Modify Cluster page, change the size of TiDB, TiKV, or TiFlash nodes.
Click Confirm.
You can also change the size of a TiDB, TiKV, or TiFlash node using TiDB Cloud API through the Modify a TiDB Dedicated cluster endpoint. Currently, TiDB Cloud API is still in beta. For more information, see TiDB Cloud API Documentation.