User Tools

Site Tools


supp:influxdb:start

This is an old revision of the document!


InfluxDB

Concepts

InfluxDB is a time series database. The official documentation provides all necessary information for using this special kind of database.

The key concepts section explains the basic terms

  • database
  • measurement
  • timestamp
  • series
  • point
  • field
    • field key
    • field value
    • field set
  • tag
    • tag key
    • tag value
    • tag set
  • retention policy

Download and install NOAA sample data

create_and_fill_NOAA_water_db.sh
# rb: 2019-07-09
# BASH shell script, 
# copied from https://docs.influxdata.com/influxdb/v1.7/query_language/data_download/
 
# open influx
influx -precision rfc3339 -execute

Data Exploration, Select

Common Commands

show databases

use NOAA_water_database

show measurements

show series

create database bla

use bla

show measurements

drop database bla
supp/influxdb/start.1562657417.txt.gz · Last modified: 2019/07/09 07:30 by admin