setDynamicConfig

Syntax

setDynamicConfig(configName, configValue)

Arguments

configName is a STRING scalar indicating the name of configuration parameter to be modified.

configValue is a scalar indicating the new value to be set.

Details

Modify the specified configuration parameter online.

Note: The modified configuration is only valid for the current node, and will expire after the system restarts. To make it permanent, please change the configuration parameter in configuration file.

The following are supported configuration parameters (for detailed usage, see Configuration):

enableMultiThreadMerge, logLevel, maxBlockSizeForReservedMemory, maxConnections, memLimitOfQueryResult, memLimitOfTaskGroupResult, maxMemSize, maxPartitionNumPerQuery, memLimitOfTempResult, OLAPCacheEngineSize, recoveryWorkers, reservedMemSize, dfsChunkNodeHeartBeatTimeout, TSDBCacheEngineSize, memLimitOfAllTempResults.

Examples

getDynamicConfig();
// output: ["recoveryWorkers","OLAPCacheEngineSize","memLimitOfAllTempResults","memLimitOfTempResult","dfsChunkNodeHeartBeatTimeout","maxPartitionNumPerQuery","TSDBCacheEngineSize","memLimitOfTaskGroupResult","memLimitOfQueryResult","maxConnections","maxBlockSizeForReservedMemory","logLevel","reservedMemSize","maxMemSize","enableMultiThreadMerge"]

Related functions: getDynamicConfig