I’m trying to use InfluxDB to store data from several sensors (~5-10) sampled at around 200Hz on a Raspberry Pi.
I get the feeling that storing 1 data point per sample would be overkill, and for instance it would make more sense to store 1 second worth of data, timestamped with just the first sample’s timestamp.
I was wondering if there was some best practice to store data in (variable-length) chunks instead.
I found the following post for storing periodic images, which is somewhat similar to what I’m trying to achieve, except that I woud have to encode/decode this data somehow (e.g. base64, hex, etc…), whereas I’d like to have some way of getting some homogeneous view instead.
Any thoughts? Is there some way to coalesce adjacent data points, so that they don’t get individually timestamped and are therefore stored together?