英文:
When will Apache IoTDB clean up historical data after TTL is set to certain value?
问题
在Apache IoTDB V0.13.3中,一旦TTL设置为一个时间值,过期的历史数据会在多长时间后自动清除?如果我当前将TTL设置为1,那么在我重新启动IoTDB之后,之前的1天历史数据会被清除吗,还是IoTDB会在某个特定时间段开始清理它们?
我查看了官方指南和IoTDB网站上的所有操作说明,但仍然不明白这个问题。
英文:
May I ask how long it will take for the expired historical data to be automatically cleared after the TTL is set to a time value in Apache IoTDB V0.13.3? Also, if I currently set TTL=1, are the historical data before that 1 day will be cleaned up after I restart IoTDB, or IoTDB judges and starts at a certain time period to clean them up?
I checked the official guide and all perfomred instructions in IoTDB website, but still do not understand this question.
答案1
得分: 0
当前时间 - Apache IoTDB 设置的TTL(以毫秒为单位)将成为保留数据的时间范围。超出此范围的数据将被自动删除。
如果您在iotdb-cli中将TTL设置为1天,那么从当前时间开始,一天的历史数据将在您按下Enter键后开始清理。
英文:
Current time - the time (ms) set by TTL of Apache IoTDB will be the retained data time range. Data outside this range will be automatically deleted.
If you set TTL to 1 day in iotdb-cli, the historical data of 1 day from the current time will be started to clean up after you hit the Enter key.
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论