No Description

tsetsova 003e6faa2d Adds a InfluxDB readme 2 years ago
..
README.md 003e6faa2d Adds a InfluxDB readme 2 years ago

README.md

SQLite Spike

Setting up

  • Install

    brew install influxdb
    
  • Start influxdb

    influxd -config /usr/local/etc/influxdb.conf
    
  • Connect to the local influxdb instance in a new tab

influx -precision rfc3339
  • Create db
CREATE DATABASE mydb
  • Insert value - WIP INSERT airQuality,deviceId=12 district=E9 value=13 INSERT airQuality,deviceId=8 district=E9 value=12 INSERT airQuality,deviceId=12 district=E9 value=14 INSERT airQuality,deviceId=34 district=E2 value=80 INSERT airQuality,deviceId=45 district=E2 value=76 INSERT airQuality,deviceId=34 district=E2 value=70

Resources