setTSDBCacheEngineSize

Syntax

setTSDBCacheEngineSize(memSize)

Arguments

memSize is a numeric scalar (in GB). It is greater than 0 and less than maxMemSize * 0.75.

Details

Modify the capacity of the TSDB cache engine online. In a cluster, this command can only be executed by the admin on the data node or compute node. Please make sure the cache engine is enabled by specifying configuration parameter TSDBCacheEngineSize before execution. You can obtain the real-time status of the TSDB cache engine with function getTSDBCacheEngineSize to check if the modification takes effect online.
Note:

The modified configuration will expire after the cluster is rebooted. To make it permanent, please change the configuration parameter TSDBCacheEngineSize.

Related function: getTSDBCacheEngineSize.