As time goes on and with the growth of your business, your data volume will keep increasing. To save the storage space and keep the timeliness of your data, TSDB enables you to clean up data through the console or HTTP APIs.
This document describes how to clean up data in the console. For instructions on how to clean up data through HTTP APIs, see Clean up data in the Development Guide.
On the Instances” page in the TSDB console, click Manage** in the “Actions” column of the instance.
In the menu at the left of the Instance Details page, click Data Cleanup.
On the Data Cleanup page, specify the cleanup conditions.
In the Time Range field, select the start time and end time of the period during which the data you are going to clean is generated.
Note: supports querying data by a single timestamp. When querying, set
Endtime. For example,
In the Metrics field, select a metric in the drop-down list, and click the Add button. You are allowed to add multiple metrics. This field is mandatory.
After completing the condition settings, click Clean Up.
After the cleanup is done, you can view the result in the Cleanup Records list on the page.