英文:
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.
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论