Maybe there is already a thread discussing this, but i didn’t find it so my apologies if it does .
What is the most efficient way to store your data in InfluxDB? I read that you can best send the data in a batch of 5000 lines of line protocol and too sort your tagkey in lexicografic order.
But with a batch do they mean a batch of the same measurements or is it better to write a batch with different measurements but with a ascending timestamp?
Also is it better to group allot of fieldssets in 1 measurement or make more measurements with less fieldssets? (And what is the most optimal number of fieldssets?)
And the final question. They say you best order your tagkey in lexicografic order. Does this also counts for the fieldkey?
It’s just for a basic idea for how i have to setup the installation.
Little follow up. I’m going to use node-red for the datacollector. Does anyone know if i make use of the InfluxDB batch node, that it sends the data as cli protocol or not? Because i also read that the CLI protocol is one of the best method.