Search code examples
time-seriesapache-iotdb

After successfully deleting the time series data, why did tsfiles still exist in sequence folder of Apache IoTDB version 0.13.4?


For Apache IoTDB 0.13.4 version, I already delete the specified time series regularly. The data should has been deleted every 1 hour, and only the data within 1 hour should be retained. However, when I use query statement to check the time series, no results came back (the data has been deleted), but the tsfile of the deleted data still exists in the sequence folder. I wonder why this happened, and what action should I do to delete these tsfiles?


Solution

  • When the time series data is written into Apache IoTDB to a certain amount and a flush execution of disk is automatically generated, the tsfiles in the sequence folder will be deleted. This should be generated within a few days.