You are viewing the documentation of an older version of the TiDB database (TiDB v4.0).

It is recommended that you use the latest LTS version of the TiDB database.

tiup cluster prune

When scaling in the cluster, for some components, TiUP does not immediately stop their services or delete their data. You need to wait for the data scheduling to complete and then manually execute the tiup cluster prune command to clean up.


tiup cluster prune <cluster-name> [flags]


-h, --help

  • Prints the help information.
  • Data type: BOOLEAN
  • Default: false


The log of the cleanup process.

<< Back to the previous page - TiUP Cluster command list

Was this page helpful?