Ever-increasing RAM usage with low series cardinality

So far this worked best for me and brought influx to a moderate memory usage of ~3GiB

  1. Lower cache-snapshot-write-cold-duration to 10s during backfilling
  2. create default retention policy with long shard duration e.g. create database sensors with duration INF shard duration 5200w name longterm

This essentially locks the number of shard groups being created to one (expecting a daterange smaller than 100y). influxdb then manages the tsm files within the group itself (so you should not lose performance, It’s designed to work this way).