You are viewing the documentation of TiDB v6.0 (DMR). PingCAP does not provide bug fixes for v6.0. Any bugs will be fixed in future releases.

For general purposes, please use the latest LTS version of the TiDB database.

tiup dm prune

When you scale in the cluster(/tiup/, a small amount of metadata in etcd is not cleaned up, which usually causes no problem. If you need to clean up the metadata, you can manually execute the tiup dm prune command.


tiup dm 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 DM command list

Was this page helpful?