Thoreau I
Thoreau I

Reputation: 129

How to know the number of time series counts in 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?

Upvotes: 0

Views: 65

Answers (1)

user3446679
user3446679

Reputation: 61

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.

Upvotes: 0

Related Questions