Influxdb and traditional database in the concept of a lot of different, this article will give you some basic concepts in the INFLUXDB, more influxdb detailed tutorial see: INFLUXDB Series of Learning Tutorials Directory
INFLUXDB Technology Group: 580487672 (click to join)
Comparison with nouns in traditional database
Nouns in the influxdb |
Concepts in a traditional database |
Database |
Database |
Measurement |
Tables in the database |
Points |
A row of data inside the table |
Ii. Unique Concepts in Influxdb 1) point
A point consists of a timestamp (time), a data (field), a label (tags).
Point corresponds to a row of data in a traditional database, as shown in the following table:
Point Property |
Concepts in a traditional database |
Time |
Each data record time, which is the primary index in the database (automatically generated) |
Fields |
Various record values (attributes without indexes) are recorded values: temperature, humidity |
Tags |
Various indexed properties: area, altitude |
2) Series
All the data in the database needs to be shown by a chart, and this series represents the data in the table, which can be drawn as a few lines on the chart: the tags are grouped together.
As shown below:
>show series from Cpukeycpu,cpu=cpu-total,host=resourcepool-0246-billing07cpu,cpu=cpu-total,host=billing07cpu, cpu=cpu0,host=resourcepool-0246-billing07cpu,cpu=cpu0,host=billing07cpu,cpu=cpu1,host= resourcepool-0246-billing07cpu,cpu=cpu1,host=billing07cpu,cpu=cpu10,host=resourcepool-0246-billing07cpu,cpu= Cpu10,host=billing07cpu,cpu=cpu11,host=resourcepool-0246-billing07cpu,cpu=cpu11,host=billing07cpu,cpu=cpu12, HOST=RESOURCEPOOL-0246-BILLING07CPU,CPU=CPU12,HOST=BILLING07CPU,CPU=CPU13,HOST=RESOURCEPOOL-0246-BILLING07CPU, cpu=cpu13,host=billing07cpu,cpu=cpu14,host=resourcepool-0246-billing07cpu,cpu=cpu14,host=billing07cpu,cpu= cpu15,host=resourcepool-0246-billing07cpu,cpu=cpu15,host=billing07cpu,cpu=cpu16,host= resourcepool-0246-billing07cpu,cpu=cpu17,host=resourcepool-0246-billing07cpu,cpu=cpu18,host= resourcepool-0246-billing07cpu,cpu=cpu19,host=resourcepool-0246-billing07cpu,cpu=cpu2,host= resourcepool-0246-billing07cpu,cpu=cpu2,host=billing07cpu,cpu=cpu20,host=resourcepool-0246-billing07cpu,cpu=cpu21,host=resourcepool-0246-billing07cpu,cpu=cpu22,host=resourcepool-0246-billing07cpu,cpu=cpu23,host= resourcepool-0246-billing07cpu,cpu=cpu3,host=resourcepool-0246-billing07cpu,cpu=cpu3,host=billing07cpu,cpu= cpu4,host=resourcepool-0246-billing07cpu,cpu=cpu4,host=billing07cpu,cpu=cpu5,host= resourcepool-0246-billing07cpu,cpu=cpu5,host=billing07cpu,cpu=cpu6,host=resourcepool-0246-billing07cpu,cpu= cpu6,host=billing07cpu,cpu=cpu7,host=resourcepool-0246-billing07cpu,cpu=cpu7,host=billing07cpu,cpu=cpu8,host= resourcepool-0246-billing07cpu,cpu=cpu8,host=billing07cpu,cpu=cpu9,host=resourcepool-0246-billing07cpu,cpu= Cpu9,host=billing07
For more on the concept of Influxdb, let's first introduce these, and more about INFLUXDB, please continue to follow the next article of Linux University.
For more Influxdb detailed tutorials See: INFLUXDB Series Learning Tutorials Catalogue
INFLUXDB Technology Group: 580487672 (click to join)
The basic concept of influxdb learning Influxdb