getLevelFileIndexCacheStatus

Syntax

getLevelFileIndexCacheStatus()

Arguments

None

Details

Obtain the memory usage of the indexes of all level files. 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()

usage->0
capacity->429496729