- 中文文档:https://jasper-zhang1.gitbooks.io/influxdb/content/
- 一些操作:https://www.jianshu.com/p/d2935e99006e
- 语法:https://segmentfault.com/a/1190000012385313
- 简明手册:https://xtutu.gitbooks.io/influxdb-handbook/content/
一、安装
https://www.jianshu.com/p/c097c36e553b
- 启动:
$ sudo systemctl start influxdb
- 查看运行日志
journalctl -u influxdb.service
- 日志存储在
/var/log/influxdb/
二、
- 使用 go 编写
- 无结构,可以是任意数量的列
- 使用 http 读写,两个http端口:8083和8086
- port 8083:管理页面端口,访问localhost:8083可以进入你本机的influxdb管理页面
- port 8086:http连接influxdb client端口,一般使用该端口往本机的influxdb读写数据
- 类似 sql
三、
清空 measurement 内容:
$ DROP SERIES FROM 'measurement_name'
手动 rename:
$ SELECT * INTO newname FROM oldname GROUP BY *