Sign In Try Free

Pause or Resume a TiDB Dedicated Cluster

You can easily pause and resume a TiDB Dedicated cluster that is not in operation at all times in TiDB Cloud.

The pause does not affect your data stored in the cluster but only stops the collection of monitoring information and the consumption of computing resources. After the pause, you can resume your cluster at any time.

Comparing with backup and restore, pausing and resuming a cluster takes less time and keeps your cluster information (including cluster version, cluster configurations, and TiDB user accounts).

Limitations

  • You can pause your cluster only when it is in theAvailablestatus. If your cluster is in other status such asModifying, you must wait for the current operation to be completed before pausing the cluster.
  • You cannot pause your cluster when a data import task is going on. You can either wait for the import task to be completed or cancel the import task.
  • You cannot pause your cluster when a backup job is going on. You can either wait for the current backup job to be completed ordelete the running backup job.
  • You cannot pause your cluster if it has anychangefeeds. You need todelete the existing changefeeds之前暂停集群。

Pause a TiDB cluster

When a cluster is paused, note the following:

  • TiDB Cloud stops collecting monitoring information of the cluster.

  • You cannot read data from or write data to the cluster.

  • You cannot import or back up data.

  • Only the following costs will be charged:

    • Node Storage Cost
    • Data Backup Cost
  • TiDB Cloud stopsautomatic backupof the cluster.

To pause a cluster, take the following steps:

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

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

  3. ClickPausein the drop-down menu.

    ThePause your clusterdialog is displayed.

  4. In the dialog, clickPauseto confirm your choice.

    After you clickPause, the cluster will enter thePausingstatus first. Once the pause operation is done, the cluster will transition to thePausedstatus.

You can also pause a cluster using TiDB Cloud API. Currently, TiDB Cloud API is still in beta. For more information, seeTiDB Cloud API Documentation.

Resume a TiDB cluster

After a paused cluster is resumed, note the following:

  • TiDB Cloud resumes collecting the monitoring information of the cluster, and you can read data from or write data to the cluster.
  • TiDB Cloud resumes charging both compute and storage costs.
  • TiDB Cloud resumesautomatic backupof the cluster.

To resume a paused cluster, take the following steps:

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

  2. For the cluster that you want to resume, clickResume. TheResume your clusterdialog is displayed.

  3. In the dialog, clickResumeto confirm your choice. The cluster status becomesResuming.

Depending on your cluster size, it can take several minutes to resume the cluster. After the cluster is resumed, the cluster status changes fromResumingtoAvailable.

You can also resume a cluster using TiDB Cloud API. Currently, TiDB Cloud API is still in beta. For more information, seeTiDB Cloud API Documentation.

Download PDF Request docs changes Ask questions on Discord
Playground
New
One-stop & interactive experience of TiDB's capabilities WITHOUT registration.
Was this page helpful?
Products
TiDB
TiDB Dedicated
TiDB Serverless
Pricing
Get Demo
Get Started
©2023PingCAP. All Rights Reserved.