Apache IoTDB何时在设置TTL后清理历史数据?

huangapple go评论52阅读模式
英文:

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.

huangapple
  • 本文由 发表于 2023年6月8日 16:49:55
  • 转载请务必保留本文链接:https://go.coder-hub.com/76430135.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定