如何知道Apache IoTDB中的时间序列计数?

huangapple go评论123阅读模式
英文:

How to know the number of time series counts in Apache IoTDB?

问题

我仍然对IoTDB不太熟悉,目前正在从旧数据库向其中插入数据。但是我不确定现在有多少时间序列。想知道如何查询Apache IoTDB数据库中时间序列总数?

英文:

I am still new to IoTDB and am currently inserting my data into it from the old database. However I am not sure how many time series are there now. Want to know how to query the total number of time series amount under the database of Apache IoTDB?

答案1

得分: 0

你可以选择一个非空的时间序列列(例如称之为c1)。然后尝试在Apache IoTDB中执行select count(c1) from root.db.** group by level=1。看看这是否会给你时间序列的数量。

英文:

You can select a column of time series that is not empty (for example, call that c1). Then, try to execute select count(c1) from root.db.** group by level=1 in Apache IoTDB. See if this gives you the time series amount.

huangapple
  • 本文由 发表于 2023年6月29日 15:43:24
  • 转载请务必保留本文链接:https://go.coder-hub.com/76578991.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定