Automatically clear old data

大城市里の小女人 提交于 2019-12-24 03:33:05

问题


Is it possible automatically to clear old data in Influx DB? Let's say some configuration option to keep records for 1 month only? In my server I store quite much statistics, so preventing running the free storage out I would like to have such feature.


回答1:


Yes, it's simple, just add shard with Retention on 7 days.



来源:https://stackoverflow.com/questions/28232406/automatically-clear-old-data

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!