Scale Your TiDB Cluster
You can scale a TiDB cluster in the following dimensions:
- Node number of TiDB, TiKV, and TiFlash
- vCPU and RAM of TiDB, TiKV, and TiFlash
- Storage of 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.
Review the cluster size in the right pane, and then 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 vCPU and RAM
You can increase or decrease vCPU and RAM of TiDB, TiKV, or TiFlash nodes.
To change the vCPU and RAM 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 vCPU and RAM of TiDB, TiKV, or TiFlash nodes.
Review the cluster size in the right pane, and then click Confirm.
You can also change the vCPU and RAM 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.
Change storage
You can increase the storage of TiKV or TiFlash.
To change the 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 storage of each TiKV or TiFlash node.
Review the cluster size in the right pane, and then 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.