influx db

1、查看数据库中的tag keys:     如果需要查看field的直接改

> show tag keys on test;

name: garage_pc_overview
tagKey
------
host
task_type
user

 

2、查看数据库中所有tag的value。

> SHOW TAG VALUES ON "test" WITH KEY = "host"

name: garage_pc_overview
key value
--- -----
host ponygz080-G7-7588

 

3、measurement

查看数据库中的measurement: > show measurement

删除数据库中的measurement: > drop measurement garage_pc_overview;

 

https://www.cnblogs.com/whatisfantasy/p/6440585.html

posted on 2019-07-01 12:08  stupid_one  阅读(223)  评论(0编辑  收藏  举报

导航