Sign InTry Free

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:

  1. In the TiDB Cloud console, navigate to the Clusters page of your project.

  2. In the row of the cluster that you want to scale, click ....

  3. Click Modify in the drop-down menu. The Modify Cluster page is displayed.

  4. On the Modify Cluster page, change the number of TiDB, TiKV, or TiFlash nodes.

  5. 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:

  1. In the TiDB Cloud console, navigate to the Clusters page of your project.

  2. In the row of the cluster that you want to scale, click ....

  3. Click Modify in the drop-down menu. The Modify Cluster page is displayed.

  4. On the Modify Cluster page, change the vCPU and RAM of TiDB, TiKV, or TiFlash nodes.

  5. 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:

  1. In the TiDB Cloud console, navigate to the Clusters page of your project.

  2. In the row of the cluster that you want to scale, click ....

  3. Click Modify in the drop-down menu. The Modify Cluster page is displayed.

  4. On the Modify Cluster page, change the storage of each TiKV or TiFlash node.

  5. 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.

Was this page helpful?

Download PDFRequest docs changesAsk questions on Discord
Playground
New
One-stop & interactive experience of TiDB's capabilities WITHOUT registration.
Products
TiDB
TiDB Dedicated
TiDB Serverless
Pricing
Get Demo
Get Started
© 2024 PingCAP. All Rights Reserved.
Privacy Policy.