Configure the data validity period feature

更新时间:
复制 MD 格式

When a TSDB instance reaches its storage limit, it cannot accept new data. The data validity period feature automatically deletes data that has been stored longer than a configured period, keeping your instance within its storage capacity.

Enable the data validity period feature

  1. Log on to the TSDB console.

  2. In the upper-left corner, select the region of your instance.

  3. On the Instances page, click Manage in the Actions column for your instance.

  4. In the left-side navigation pane, select Time Series Data Management > Data Validity Period.

  5. On the Data Validity Period page, turn on the Data Validity Period switch.

  6. Specify a validity period, then click Save.

    Enable the data validity period feature

    Warning

    Data stored beyond the validity period is automatically deleted. Back up your data before enabling this feature to prevent data loss.

    Note

    The feature takes effect immediately after you click Save.

Disable the data validity period feature

  1. Log on to the TSDB console.

  2. In the upper-left corner, select the region of your instance.

  3. On the Instances page, click Manage in the Actions column for your instance.

  4. In the left-side navigation pane, select Time Series Data Management > Data Validity Period.

  5. On the Data Validity Period page, turn off the Data Validity Period switch, then click Save.

    Disable the data validity period feature

    Note

    The feature is disabled immediately after you click Save.