Retention policies and continuous queries made simple

That’s a really great post! Lot of effort made it into it. Hope it will be helpful for many people! :slight_smile:

@Abhishe12155967 Influx stores the data in shards and Influx will always delete the whole shard if it applies a retention policy. So the RP duration should be longer than the shard duration. The minimum duration of a shard is 1 hour. So the RP duration has to be longer than that. I did not try it with a configuration like 1 hour and 10 minutes but you are safe if you set the RP duration to 2hrs or more.

1 Like