getTSDBTableIndexCacheStatus#
- swordfish.function.getTSDBTableIndexCacheStatus()#
When querying a TSDB table, the indexes (including zonemap) of related level files will be loaded to the memory. This function is used to obtain the memory usage (in bytes) of the level file indexes for each loaded table. Combined with function getTSDBDataStat, it helps you to check whether the number of sort keys set for tables is reasonable.
- Returns:
A table with the following columns:
dbName: the database name.
chunkId: the chunk ID.
tableName: the table name.
memUsage: the size of the memory used (in bytes).
- Return type: