InfluxDB中的简单SELECT查询返回空响应

时间:2019-05-09 10:04:06

标签: influxdb

我有一个包含所有这些字段的数据库。

使用guid字段进行查询时,我得到一个结果,但是使用prm进行的同一查询将返回空结果。为什么?

root@a9b6c36c5a1e:/# influx
Connected to http://localhost:8086 version 1.3.7
InfluxDB shell version: 1.3.7
> auth
username: xxx
password: 
> use rgpd    
Using database rgpd

> select * from local
name: local
time                guid                 prm
----                ----                 ---
1557392838348305163 bio9jpf2flni9ummmn3g 23546743842290
1557393015731482516 bio9jpf2flni9ummmn3g 23546743842290
1557393015737646241 bj8rsg7lc9rq42l0srgg 23597250354152
1557393015745768352 biq5vnvd3t1jdki5n9c0 23549348762673
1557393015755764790 biq5sffd3t1jdki5n990 23549059327083
1557393015762173283 biq5vnvd3t1jdki5n9bg 23548769891431
1557393016303201890 biq64dvd3t1jdki5n9dg 23548480455849

> select guid,prm from local where guid='bj8rsg7lc9rq42l0srgg'
name: local
time                guid                 prm
----                ----                 ---
1557393015737646241 bj8rsg7lc9rq42l0srgg 23597250354152

> select guid,prm from local where prm='23597250354152'
> select guid,prm from local where prm='23549348762673'
> select guid from local where prm='23549348762673'
> select guid from local where prm=23549348762673

0 个答案:

没有答案