Merge pull request #2794 from taosdata/hotfix/test
[update config parameters]
This commit is contained in:
commit
fe4adae82c
|
@ -11,9 +11,6 @@
|
||||||
# second full-qualified domain name (FQDN) for TDengine system, for cluster edition only
|
# second full-qualified domain name (FQDN) for TDengine system, for cluster edition only
|
||||||
# second cluster_hostname2:6030
|
# second cluster_hostname2:6030
|
||||||
|
|
||||||
# the arbitrator's full-qualified domain name (FQDN) for TDengine system, for cluster edition only
|
|
||||||
# arbitrator arbitrator_hostname:6030
|
|
||||||
|
|
||||||
# the full-qualified domain name (FQDN) of dnode
|
# the full-qualified domain name (FQDN) of dnode
|
||||||
# fqdn hostname
|
# fqdn hostname
|
||||||
|
|
||||||
|
@ -23,45 +20,57 @@
|
||||||
# http service port, default tcp [6020]
|
# http service port, default tcp [6020]
|
||||||
# httpPort 6020
|
# httpPort 6020
|
||||||
|
|
||||||
# data file's directory
|
|
||||||
# dataDir /var/lib/taos
|
|
||||||
|
|
||||||
# log file's directory
|
# log file's directory
|
||||||
# logDir /var/log/taos
|
# logDir /var/log/taos
|
||||||
|
|
||||||
# number of management nodes in the system
|
# scriptDir file's directory
|
||||||
# numOfMnodes 3
|
# scriptDir /var/log/taos
|
||||||
|
|
||||||
# optional roles for dnode. 0 - any, 1 - mnode, 2 - dnode
|
# data file's directory
|
||||||
# role 0
|
# dataDir /var/lib/taos
|
||||||
|
|
||||||
|
# the arbitrator's full-qualified domain name (FQDN) for TDengine system, for cluster edition only
|
||||||
|
# arbitrator arbitrator_hostname:6030
|
||||||
|
|
||||||
# number of threads per CPU core
|
# number of threads per CPU core
|
||||||
# numOfThreadsPerCore 1.0
|
# numOfThreadsPerCore 1.0
|
||||||
|
|
||||||
# max number of vgroups per db
|
|
||||||
# maxVgroupsPerDb 0
|
|
||||||
|
|
||||||
# max number of tables per vnode
|
|
||||||
# maxTablesPerVnode 1000000
|
|
||||||
|
|
||||||
# the ratio of threads responsible for querying in the total thread
|
# the ratio of threads responsible for querying in the total thread
|
||||||
# ratioOfQueryThreads 0.5
|
# ratioOfQueryThreads 0.5
|
||||||
|
|
||||||
# interval of DNode report status to MNode, unit is Second, for cluster version only
|
# number of management nodes in the system
|
||||||
# statusInterval 1
|
# numOfMnodes 3
|
||||||
|
|
||||||
# interval of Shell send HB to MNode, unit is Second
|
# if backup vnode directory when remove dnode
|
||||||
# shellActivityTimer 3
|
# vnodeBak 1
|
||||||
|
|
||||||
|
# Whether to start load balancing
|
||||||
|
# balance 1
|
||||||
|
|
||||||
|
# optional roles for dnode. 0 - any, 1 - mnode, 2 - dnode
|
||||||
|
# role 0
|
||||||
|
|
||||||
|
# max timer control block
|
||||||
|
# maxTmrCtrl 512
|
||||||
|
|
||||||
# interval of system monitor
|
# interval of system monitor
|
||||||
# monitorInterval 30
|
# monitorInterval 30
|
||||||
|
|
||||||
|
# number of seconds allowed for a dnode to be offline, for cluster version only
|
||||||
|
# offlineThreshold 8640000
|
||||||
|
|
||||||
# RPC re-try timer, millisecond
|
# RPC re-try timer, millisecond
|
||||||
# rpcTimer 300
|
# rpcTimer 300
|
||||||
|
|
||||||
# RPC maximum time for ack, seconds
|
# RPC maximum time for ack, seconds
|
||||||
# rpcMaxTime 600
|
# rpcMaxTime 600
|
||||||
|
|
||||||
|
# interval of DNode report status to MNode, unit is Second, for cluster version only
|
||||||
|
# statusInterval 1
|
||||||
|
|
||||||
|
# interval of Shell send HB to MNode, unit is Second
|
||||||
|
# shellActivityTimer 3
|
||||||
|
|
||||||
# duration of to keep tableMeta kept in Cache, seconds
|
# duration of to keep tableMeta kept in Cache, seconds
|
||||||
# tableMetaKeepTimer 7200
|
# tableMetaKeepTimer 7200
|
||||||
|
|
||||||
|
@ -71,38 +80,38 @@
|
||||||
# Time window minimum
|
# Time window minimum
|
||||||
# minIntervalTime 10
|
# minIntervalTime 10
|
||||||
|
|
||||||
# max length of an SQL
|
# the max allowed delayed time for launching continuous query. 20ms by default
|
||||||
# maxSQLLength 65480
|
# maxStreamCompDelay 20000
|
||||||
|
|
||||||
# Support the maximum number of records allowed for super table time sorting
|
# The minimum time to wait before the first stream execution
|
||||||
# maxNumOfOrderedRes 100000
|
# maxFirstStreamCompDelay 10000
|
||||||
|
|
||||||
# system locale
|
# Retry wait time benchmark
|
||||||
# locale en_US.UTF-8
|
# retryStreamCompDelay 10
|
||||||
|
|
||||||
# default system charset
|
# the delayed time for launching each continuous query. 10% of the whole computing time window by default.
|
||||||
# charset UTF-8
|
# streamCompDelayRatio 0.1
|
||||||
|
|
||||||
# system time zone
|
# max number of vgroups per db
|
||||||
# timezone Asia/Shanghai (CST, +0800)
|
# maxVgroupsPerDb 0
|
||||||
|
|
||||||
# set write ahead log (WAL) level
|
# max number of tables per vnode
|
||||||
# walLevel 1
|
# maxTablesPerVnode 1000000
|
||||||
|
|
||||||
# enable/disable async log
|
# Step size of increasing table number in vnode
|
||||||
# asyncLog 1
|
# tableIncStepPerVnode 1000
|
||||||
|
|
||||||
# the compressed rpc message, option:
|
|
||||||
# -1 (no compression)
|
|
||||||
# 0 (all message compressed),
|
|
||||||
# > 0 (rpc message body which larger than this value will be compressed)
|
|
||||||
# compressMsgSize -1
|
|
||||||
|
|
||||||
# cache block size (Mbyte)
|
# cache block size (Mbyte)
|
||||||
# cache 16
|
# cache 16
|
||||||
|
|
||||||
# number of cache blocks per vnode
|
# number of cache blocks per vnode
|
||||||
# blocks 4
|
# blocks 6
|
||||||
|
|
||||||
|
# number of days per DB file
|
||||||
|
# days 10
|
||||||
|
|
||||||
|
# number of days to keep DB file
|
||||||
|
# keep 3650
|
||||||
|
|
||||||
# min row of records in file block
|
# min row of records in file block
|
||||||
# minRows 100
|
# minRows 100
|
||||||
|
@ -111,17 +120,44 @@
|
||||||
# maxRows 4096
|
# maxRows 4096
|
||||||
|
|
||||||
# enable/disable compression
|
# enable/disable compression
|
||||||
# comp 1
|
# comp 2
|
||||||
|
|
||||||
# number of days per DB file
|
# set write ahead log (WAL) level
|
||||||
# days 10
|
# walLevel 1
|
||||||
|
|
||||||
# number of days to keep DB file
|
# When walLevel is set to 2, the cycle of fsync is executed
|
||||||
# keep 3650
|
# fsync 3000
|
||||||
|
|
||||||
# number of replications, for cluster version only
|
# number of replications, for cluster version only
|
||||||
# replica 1
|
# replica 1
|
||||||
|
|
||||||
|
# mqtt uri
|
||||||
|
# mqttBrokerAddress mqtt://username:password@hostname:1883/taos/
|
||||||
|
|
||||||
|
# mqtt client name
|
||||||
|
# mqttBrokerClientId taos_mqtt
|
||||||
|
|
||||||
|
# the compressed rpc message, option:
|
||||||
|
# -1 (no compression)
|
||||||
|
# 0 (all message compressed),
|
||||||
|
# > 0 (rpc message body which larger than this value will be compressed)
|
||||||
|
# compressMsgSize -1
|
||||||
|
|
||||||
|
# max length of an SQL
|
||||||
|
# maxSQLLength 65480
|
||||||
|
|
||||||
|
# Support the maximum number of records allowed for super table time sorting
|
||||||
|
# maxNumOfOrderedRes 100000
|
||||||
|
|
||||||
|
# system time zone
|
||||||
|
# timezone Asia/Shanghai (CST, +0800)
|
||||||
|
|
||||||
|
# system locale
|
||||||
|
# locale en_US.UTF-8
|
||||||
|
|
||||||
|
# default system charset
|
||||||
|
# charset UTF-8
|
||||||
|
|
||||||
# max number of connections from client for dnode
|
# max number of connections from client for dnode
|
||||||
# maxShellConns 5000
|
# maxShellConns 5000
|
||||||
|
|
||||||
|
@ -137,50 +173,36 @@
|
||||||
# Stop writing data when the disk size of the log folder is less than this value
|
# Stop writing data when the disk size of the log folder is less than this value
|
||||||
# minimalDataDirGB 0.1
|
# minimalDataDirGB 0.1
|
||||||
|
|
||||||
# number of seconds allowed for a dnode to be offline, for cluster version only
|
|
||||||
# offlineThreshold 8640000
|
|
||||||
|
|
||||||
# start http service
|
# start http service
|
||||||
# http 1
|
# http 1
|
||||||
|
|
||||||
# start system monitor module
|
|
||||||
# monitor 1
|
|
||||||
|
|
||||||
# start muqq service
|
# start muqq service
|
||||||
# mqtt 0
|
# mqtt 0
|
||||||
|
|
||||||
# mqtt uri
|
# start system monitor module
|
||||||
# mqttBrokerAddress mqtt://username:password@hostname:1883/taos/
|
# monitor 1
|
||||||
|
|
||||||
# mqtt client name
|
# Record the SQL through restful interface
|
||||||
# mqttBrokerClientId taos_mqtt
|
# httpEnableRecordSql 0
|
||||||
|
|
||||||
# maximum number of rows returned by the restful interface
|
|
||||||
# restfulRowLimit 10240
|
|
||||||
|
|
||||||
# number of threads used to process http requests
|
# number of threads used to process http requests
|
||||||
# httpMaxThreads 2
|
# httpMaxThreads 2
|
||||||
|
|
||||||
# The minimum time to wait before the first stream execution
|
# maximum number of rows returned by the restful interface
|
||||||
# maxFirstStreamCompDelay 10000
|
# restfulRowLimit 10240
|
||||||
|
|
||||||
# Retry wait time benchmark
|
|
||||||
# retryStreamCompDelay 10
|
|
||||||
|
|
||||||
# the delayed time for launching each continuous query. 10% of the whole computing time window by default.
|
|
||||||
# streamCompDelayRatio 0.1
|
|
||||||
|
|
||||||
# the max allowed delayed time for launching continuous query. 20ms by default
|
|
||||||
# maxStreamCompDelay 20000
|
|
||||||
|
|
||||||
# The following parameter is used to limit the maximum number of lines in log files.
|
# The following parameter is used to limit the maximum number of lines in log files.
|
||||||
# max number of rows per log filters
|
# max number of rows per log filters
|
||||||
# numOfLogLines 10000000
|
# numOfLogLines 10000000
|
||||||
|
|
||||||
|
# enable/disable async log
|
||||||
|
# asyncLog 1
|
||||||
|
|
||||||
# The following parameters are used for debug purpose only.
|
# The following parameters are used for debug purpose only.
|
||||||
# debugFlag 8 bits mask: FILE-SCREEN-UNUSED-HeartBeat-DUMP-TRACE_WARN-ERROR
|
# debugFlag 8 bits mask: FILE-SCREEN-UNUSED-HeartBeat-DUMP-TRACE_WARN-ERROR
|
||||||
# 131: output warning and error,135: output info, warning and error to log.
|
# 131: output warning and error, 135: output debug, warning and error, 143 : output trace, debug, warning and error to log.
|
||||||
# 199: output debug, info, warning and error to both screen and file
|
# 199: output debug, warning and error to both screen and file
|
||||||
|
# 207: output trace, debug, warning and error to both screen and file
|
||||||
|
|
||||||
# debug flag for all log type, take effect when non-zero value
|
# debug flag for all log type, take effect when non-zero value
|
||||||
# debugFlag 0
|
# debugFlag 0
|
||||||
|
@ -236,9 +258,6 @@
|
||||||
# debug flag for http server
|
# debug flag for http server
|
||||||
# tsdbDebugFlag 131
|
# tsdbDebugFlag 131
|
||||||
|
|
||||||
# Record the SQL through restful interface
|
|
||||||
# httpEnableRecordSql 0
|
|
||||||
|
|
||||||
# Record the SQL in taos client
|
# Record the SQL in taos client
|
||||||
# tscEnableRecordSql 0
|
# tscEnableRecordSql 0
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue