Hi everyone,
I’m new with InfluxDB and I have faced this problem: I need to store data coming from multiple sensors, each sensor name is like garage.light
garage.door
or kitchen.thermostat.temperature
. Currently I’m using postgreSQL to store data from sensors and each sensor has a dedicated table with the name of the sensor.
What is the best choice for InfluxDB?
Should I use:
- a single measurement called
sensors
withname
as tag andtime
value
as fields
or - multiple measurements with sensors names as name with no tags and
time
value
fields
What are the pro and cons of each choice? Thanks.