TSM-based vs. TSI-based memory usage

Is that normal that TSI-based shards uses a heck of amount of memory?

I upgraded from 1.4.3 to 1.5.4 and followed steps documented here Upgrading to InfluxDB 1.6.x | InfluxDB OSS 1.6 Documentation specifically section Upgrading from 1.3 / 1.4 (no TSI Preview) to 1.5.x (TSI enabled)

After I started influxd the memory usage skipped above 98% and kept hovering there. Then eventually process crashed due to OOM.

So I followed steps in procedure Switching from disk (TSI-based) index to in-memory (TSM-based) index
And memory usage got back to its previous level.

1 Like