To avoid the situation that newly generated data cannot be saved due to the fully-used storage space, TSDB provides the data’s validity period function. After the data’s validity period is enabled and specified, the system automatically deletes the data that have passed the validity period.
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 Validity Period.
On the Data Validity Period page, specify the data’s validity period.
In the Data Validity Period field, move the slider to enable the data’s validity period function.
In the Validity Period field, specify the data retention days, that is, the number of past days for which the data is retained.
After the settings are complete, click Save.