问题
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