I'm a beginner with influxDB and after reading the Schema design documentation a question remain.
How to decide if you should use one measurement with multiple fields or multiple measurement with single field ?
I have multiple iot device which send every minute datas (temperature,humidity, pressure). All this datas have the exact same timestamp.
So i was wondering if d rather create one measurement like this :
timestamp,iotid,temperature,humidity,pressure
-------------------------------------------------
1501230195,iot1,70, 45, 850
Or 3 measurements (one for each value) , with the same tags but only one field in it ?
timestamp,iotid,temperature
----------------------------
1501230195,iot1,70
timestamp,iotid,humidity
-------------------------
1501230195,iot1,45
timestamp,iotid,pressure
-------------------------
1501230195,iot1,850
Query-wise, i could retrieve only one value but also the 3 at the same time.