- InfluxDB学习之InfluxDB的安装和简介
- InfluxDB学习之InfluxDB的基本概念
- InfluxDB学习之InfluxDB的基本操作
- InfluxDB学习之InfluxDB的HTTP API写入操作
- InfluxDB学习之InfluxDB数据保留策略(Retention Policies)
- InfluxDB学习之InfluxDB连续查询(Continuous Queries)
- InfluxDB学习之InfluxDB的HTTP API查询操作
- InfluxDB学习之InfluxDB的关键概念
- InfluxDB学习之InfluxDB常用函数(一)聚合类函数
- InfluxDB学习之InfluxDB常用函数(二)选择类函数
- InfluxDB学习之InfluxDB常用函数(三)变换类函数
- InfluxDB学习之再说连续查询
- Influxdb原理详解
- InfluxDB安装后web页面无法访问的解决方案
- InfluxDB数据备份和恢复方法,支持本地和远程备份
- InfluxDB执行语句管理(query management) 系列详情请看:《InfluxDB系列教程》
InfluxDB与传统数据库在概念上有许多的不同,本文就给大家介绍下InfluxDB中的一些基本概念,更多InfluxDB详细教程请看:InfluxDB系列学习教程目录
InfluxDB技术交流群:580487672(点击加入)
一、与传统数据库中的名词做比较
influxDB中的名词 传统数据库中的概念 database 数据库 measurement 数据库中的表 points 表里面的一行数据 二、InfluxDB中独有的概念
1)Point
Point由时间戳(time)、数据(field)、标签(tags)组成。
Point相当于传统数据库里的一行数据,如下表所示:
Point属性 传统数据库中的概念 time 每个数据记录时间,是数据库中的主索引(会自动生成) fields 各种记录值(没有索引的属性)也就是记录的值:温度, 湿度 tags 各种有索引的属性:地区,海拔 2)series
所有在数据库中的数据,都需要通过图表来展示,而这个series表示这个表里面的数据,可以在图表上画成几条线:通过tags排列组合算出来。
如下所示:
- >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
有关InfluxDB的概念问题就先为大家介绍这些。
InfluxDB学习之InfluxDB的基本概念
类别:MongoDB数据库 作者:码皇 来源:<a href="http://blog.csdn.net/waitig1992" target="_blank" rel="nofollow& 点击:
InfluxDB学习之InfluxDB的基本概念,本文属于《InfluxDB系列教程》文章系列,该系列共包括以下 16 部分。
InfluxDB学习之InfluxDB的基本概念,本文属于《InfluxDB系列教程》文章系列,该系列共包括以下 16 部分:
相关热词搜索: