码迷,mamicode.com
首页 > 数据库 > 详细

influx db

时间:2019-07-01 14:21:10      阅读:323      评论:0      收藏:0      [点我收藏+]

标签:type   需要   overview   inf   key   show   name   drop   删除数据库   

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;

 

influx db

标签:type   需要   overview   inf   key   show   name   drop   删除数据库   

原文地址:https://www.cnblogs.com/liuweimingcprogram/p/11113339.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!