getLevelFileIndexCacheStatus

Syntax

getLevelFileIndexCacheStatus()

Details

Obtain the memory usage of the indexes of all level files.

Parameters

None

Returns

Return a dictionary with the following keys:

  • capacity: is the maximum size of level file index in the TSDB engine.

  • usage: is the size of the memory used (in bytes).

Examples

getLevelFileIndexCacheStatus()
/* output:
usage->0
capacity->429496729
*/