Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
慢慢CG
TDengine
提交
56f172b5
T
TDengine
项目概览
慢慢CG
/
TDengine
与 Fork 源项目一致
Fork自
taosdata / TDengine
通知
1
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
T
TDengine
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
提交
56f172b5
编写于
6月 19, 2020
作者:
H
Hui Li
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
modify cfg paramert according on confluence.
上级
9cb883f3
变更
1
隐藏空白更改
内联
并排
Showing
1 changed file
with
110 addition
and
105 deletion
+110
-105
packaging/cfg/taos.cfg
packaging/cfg/taos.cfg
+110
-105
未找到文件。
packaging/cfg/taos.cfg
浏览文件 @
56f172b5
...
...
@@ -6,10 +6,22 @@
########################################################
# first full-qualified domain name (FQDN) for TDengine system
# first
127.0.0.1
# first
hostname1:6030
# second full-qualified domain name (FQDN) for TDengine system, for cluster edition only
# second 127.0.0.1
# 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
# fqdn hostname:6030
# port for MNode connect to Client, default udp[6030-6055] tcp[6030]
# serverPort 6030
# http service port, default tcp[6020]
# httpPort 6020
# set socket type ("udp" and "tcp")
# the server and client should have the same socket type. Otherwise, connect will fail
...
...
@@ -30,42 +42,38 @@
# log file's directory
# logDir /var/log/taos
#
http service port, default tcp[6020]
#
httpPort 6020
#
number of management nodes in the system
#
numOfMnodes 3
#
port for MNode connect to Client, default udp[6030-6055] tcp[6030]
#
serverPort 603
0
#
optional roles for dnode. 0 - any, 1 - mnode, 2 - dnode
#
alternativeRole
0
# number of threads per CPU core
# numOfThreadsPerCore 1
# numOfThreadsPerCore 1
.0
# number of vnodes per core in DNode
# numOfVnodesPerCore 8
# the ratio of threads responsible for querying in the total thread
# ratioOfQueryThreads 0.5
# number of total vnodes in DNode
# numOfTotalVnodes 0
# max number of tables per vnode
# maxtablesPerVnode 1000
#
cache block size
#
cache 16384
#
interval of check load balance when the management node is in normal operation
#
balanceInterval 300
# row of records in file block
# minRows 100
# maxRows 4096
# interval of DNode report status to MNode, unit is Second, for cluster version only
# statusInterval 1
#
number of cache blocks per vnode
#
blocks 2
#
interval of Shell send HB to MNode, unit is Second
#
shellActivityTimer 3
# interval of system monitor
# monitorInterval 60
# 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
# monitorInterval 30
# RPC re-try timer, millisecond
# rpcTimer 300
...
...
@@ -73,38 +81,20 @@
# RPC maximum time for ack, seconds
# rpcMaxTime 600
# commit interval,unit is second
# ctime 3600
# 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
# interval of DNode send HB to DNode, unit is Second, for cluster version only
# vnodePeerHBTimer 1
# interval of MNode send HB to MNode, unit is Second, for cluster version only
# mgmtPeerHBTimer 1
# duration of to keep tableMeta kept in Cache, seconds
# tableMetaKeepTimer 7200
# max number of users
# maxUsers 1000
# max number of databases
# maxDbs 1000
# Minimum sliding window time
# minSlidingTime 10
#
max number of tables
# m
axTables 65000
0
#
Time window minimum
# m
inIntervalTime 1
0
# max
number of Dnodes, for cluster version only
# max
Dnodes 100
0
# max
length of an SQL
# max
SQLLength 6538
0
#
Max number of VGroups, for cluster version only
# max
VGroups 1
000
#
Support the maximum number of records allowed for super table time sorting
# max
NumOfOrderedRes 100
000
# system locale
# locale en_US.UTF-8
...
...
@@ -121,6 +111,24 @@
# enable/disable async log
# asyncLog 1
# 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 16
# number of cache blocks per vnode
# blocks 4
# min row of records in file block
# minRows 100
# max row of records in file block
# maxRows 4096
# enable/disable compression
# comp 1
...
...
@@ -131,31 +139,25 @@
# keep 3650
# number of replications, for cluster version only
# replica
tions
1
# replica
1
#
client default database(database should be created)
#
defaultDB
#
max number of connections from client for dnode
#
maxShellConns 5000
#
client default usernam
e
#
defaultUser root
#
max numerber of connections to one databas
e
#
maxConnections 5000
#
client default password
#
defaultPass taosdata
#
Stop writing logs when the disk size of the log folder is less than this value
#
minimalLogDirGB 0.1
#
max number of connections from client for mgmt nod
e
# m
axShellConns 2000
#
Stop writing temporary files when the disk size of the log folder is less than this valu
e
# m
inimalTmpDirGB 0.1
# max numerber of meter Connections
# maxMeterConnections 10000
# max connection to management node
# maxMgmtConnections 2000
# max connection to Vnode
# maxVnodeConnections 10000
# Stop writing data when the disk size of the log folder is less than this value
# minimalDataDirGB 0.1
# mnode take into account while balance, for cluster version only
# mnodeEqualVnodeNum
4
# mnodeEqualVnodeNum 4
# number of seconds allowed for a dnode to be offline, for cluster version only
# offlineThreshold 864000
...
...
@@ -170,10 +172,10 @@
# mqtt 0
# mqtt uri
# mqttBrokerAddress mqtt://username:password@hostname:1883/taos/
# mqttBrokerAddress
mqtt://username:password@hostname:1883/taos/
# mqtt client name
# mqttBrokerClientId taos_mqtt
# mqttBrokerClientId
taos_mqtt
# maximum number of rows returned by the restful interface
# restfulRowLimit 10240
...
...
@@ -181,41 +183,17 @@
# number of threads used to process http requests
# httpMaxThreads 2
#
pre-allocated number of http sessions
#
httpCacheSessions 1
00
#
The minimum time to wait before the first stream execution
#
maxFirstStreamCompDelay 100
00
#
whether to enable HTTP compression transmission
#
httpEnableCompress
0
#
Retry wait time benchmark
#
retryStreamCompDelay 1
0
# 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
# tsMaxStreamComputDelay 20000
# whether the telegraf table name contains the number of tags and the number of fields
# telegrafUseFieldNum 0
# enable table names generated by telegraf can be configured
# use /etc/taos/taos.telegraf.cfg as the configuration file, such as
# {
# "metrics": [
# {
# "name" : "system",
# "tbname" : "system_uptime",
# "fields": [
# "uptime"
# ]
# },
# {
# "name": "system",
# "tbname" : "system_uptime_format",
# "fields": [
# "uptime_format"
# ]
# }
# ]
# }
# maxStreamCompDelay 20000
# The following parameter is used to limit the maximum number of lines in log files.
# max number of rows per log filters
...
...
@@ -226,35 +204,62 @@
# 131: output warning and error,135: output info, warning and error to log.
# 199: output debug, info, warning and error to both screen and file
# debug flag for basic utils
# debugFlag 131
# debug flag for meta management messages
# mDebugFlag 135
# debug flag for dnode messages
# dDebugFlag 131
# debug flag for TDengine SDB
# sDebugFlag 135
# debug flag for TDengine SDB
# sdbDebugFlag 135
# debug flag for RPC
# rpcDebugFlag 131
# debug flag for
basic utils
#
debugFlag
131
# debug flag for
TAOS TIMER
#
tmrDebugFlag
131
# debug flag for TDengine client
# cDebugFlag 131
# debug flag for query
# qDebugflag 131
# debug flag for JNI
# jniDebugflag 131
# debug flag for ODBC
# odbcDebugflag 131
# debug flag for storage
# uDebugflag 131
# debug flag for http server
# httpDebugFlag 131
# debug flag for system monitor
# debug flag for mqtt
# mqttDebugFlag 131
# debug flag for monitor
# monitorDebugFlag 131
#
debug flag for mqtt client
#
mqttDebugFlag
131
#
debug flag for query
#
qDebugflag
131
# debug flag for TAOS TIMER
# tmrDebugFlag 131
# debug flag for http server
# tsdbDebugFlag 131
# Record the SQL through restful interface
# httpEnableRecordSql 0
# Record the SQL in taos client
# tscEnableRecordSql 0
# if generate core file when service crash
# enableCoreFile 1
# The maximum display width of binary and nchar fields in the shell. The parts exceeding this limit will be hidden
# maxBinaryDisplayWidth 30
\ No newline at end of file
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录