Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
慢慢CG
TDengine
提交
fd45fbde
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看板
提交
fd45fbde
编写于
8月 06, 2020
作者:
B
Bomin Zhang
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
update default configuration
上级
dac01da0
变更
1
隐藏空白更改
内联
并排
Showing
1 changed file
with
45 addition
and
47 deletion
+45
-47
packaging/cfg/taos.cfg
packaging/cfg/taos.cfg
+45
-47
未找到文件。
packaging/cfg/taos.cfg
浏览文件 @
fd45fbde
...
...
@@ -5,20 +5,20 @@
# #
########################################################
# first full
-
qualified domain name (FQDN) for TDengine system
# first full
y
qualified domain name (FQDN) for TDengine system
# firstEp hostname1:6030
# second full
-qualified domain name (FQDN) for TDengine system, for cluster edition
only
# second full
y qualified domain name (FQDN) for TDengine system, for cluster
only
# secondEp cluster_hostname2:6030
#
the full-qualified domain name (FQDN) of dnode
#
local fully qualified domain name (FQDN)
# fqdn hostname
#
port for MNode connect to Client, default udp/tcp [6030-6040]
#
first port number for the connection (10 continuous UDP/TCP port number are used)
# serverPort 6030
# http service port, default tcp [60
20]
# httpPort 60
20
# http service port, default tcp [60
41]
# httpPort 60
41
# log file's directory
# logDir /var/log/taos
...
...
@@ -26,76 +26,73 @@
# data file's directory
# dataDir /var/lib/taos
# the arbitrator's full
-qualified domain name (FQDN) for TDengine system, for cluster edition
only
# the arbitrator's full
y qualified domain name (FQDN) for TDengine system, for cluster
only
# arbitrator arbitrator_hostname:6030
# number of threads per CPU core
# numOfThreadsPerCore 1.0
# the ratio of threads responsible for querying in the total thread
# ratioOfQueryThreads 0.5
# number of management nodes in the system
# numOfMnodes 3
#
if backup vnode directory when remove
dnode
#
enable/disable backuping vnode directory when removing
dnode
# vnodeBak 1
#
Whether to start
load balancing
#
enable/disable
load balancing
# balance 1
#
optional roles
for dnode. 0 - any, 1 - mnode, 2 - dnode
#
role
for dnode. 0 - any, 1 - mnode, 2 - dnode
# role 0
# max timer control block
# max timer control block
s
# maxTmrCtrl 512
#
interval of system monitor
#
time interval of system monitor, seconds
# monitorInterval 30
# number of seconds allowed for a dnode to be offline, for cluster
version
only
# number of seconds allowed for a dnode to be offline, for cluster only
# offlineThreshold 8640000
# RPC re-try timer, millisecond
# rpcTimer 300
# RPC maximum time for ack, seconds
# RPC maximum time for ack, seconds
.
# rpcMaxTime 600
#
interval of DNode report status to MNode, unit is Second, for cluster version
only
#
time interval of dnode status reporting to mnode, seconds, for cluster
only
# statusInterval 1
#
interval of Shell send HB to MNode, unit is Second
#
time interval of heart beat from shell to dnode, seconds
# shellActivityTimer 3
#
duration of to keep tableMeta kept in C
ache, seconds
#
time of keeping table meta data in c
ache, seconds
# tableMetaKeepTimer 7200
#
Minimum sliding window time
#
minimum sliding window time, milli-second
# minSlidingTime 10
#
Time window minimum
#
minimum time window, milli-second
# minIntervalTime 10
#
the max allowed delayed time for launching continuous query. 20ms by default
#
maximum delay before launching a stream compution, milli-second
# maxStreamCompDelay 20000
#
The minimum time to wait before the first stream execution
#
maximum delay before launching a stream computation for the first time, milli-second
# maxFirstStreamCompDelay 10000
#
Retry wait time benchmark
#
retry delay when a stream computation fails, milli-second
# retryStreamCompDelay 10
# the delayed time for launching
each continuous query. 10% of the whole computing time window by default.
# the delayed time for launching
a stream computation, from 0.1(default, 10% of whole computing time window) to 0.9
# streamCompDelayRatio 0.1
# max number of vgroups per db
# max number of vgroups per db
, 0 means configured automatically
# maxVgroupsPerDb 0
# max number of tables per vnode
# maxTablesPerVnode 1000000
#
Step size of increasing table number in
vnode
#
step size of increasing table number in a
vnode
# tableIncStepPerVnode 1000
# cache block size (Mbyte)
...
...
@@ -110,22 +107,22 @@
# number of days to keep DB file
# keep 3650
# min
row
of records in file block
# min
imum rows
of records in file block
# minRows 100
# max
row
of records in file block
# max
imum rows
of records in file block
# maxRows 4096
# enable/disable compression
# comp 2
#
set write ahead log (WAL) level
#
write ahead log (WAL) level, 0: no wal; 1: write wal, but no fysnc; 2: write wal, and call fsync
# walLevel 1
#
When walLevel is set to 2, the cycle of fsync is executed
#
if walLevel is set to 2, the cycle of fsync being executed, if set to 0, fsync is called right away
# fsync 3000
# number of replications, for cluster
version
only
# number of replications, for cluster only
# replica 1
# mqtt uri
...
...
@@ -143,7 +140,7 @@
# max length of an SQL
# maxSQLLength 65480
#
Support
the maximum number of records allowed for super table time sorting
# the maximum number of records allowed for super table time sorting
# maxNumOfOrderedRes 100000
# system time zone
...
...
@@ -155,31 +152,31 @@
# default system charset
# charset UTF-8
# max number of connections
from client for
dnode
# max number of connections
allowed in
dnode
# maxShellConns 5000
# max numerber of connections
to one database
# max numerber of connections
allowed in client
# maxConnections 5000
#
S
top writing logs when the disk size of the log folder is less than this value
#
s
top writing logs when the disk size of the log folder is less than this value
# minimalLogDirGB 0.1
#
S
top writing temporary files when the disk size of the log folder is less than this value
#
s
top writing temporary files when the disk size of the log folder is less than this value
# minimalTmpDirGB 0.1
#
S
top writing data when the disk size of the log folder is less than this value
#
s
top writing data when the disk size of the log folder is less than this value
# minimalDataDirGB 0.1
#
start
http service
#
enbale/disable
http service
# http 1
#
start
muqq service
#
enable/disable
muqq service
# mqtt 0
#
start system monitor module
#
enable/disable system monitor
# monitor 1
#
Record the SQL through
restful interface
#
enable/disable recording the SQL statements via
restful interface
# httpEnableRecordSql 0
# number of threads used to process http requests
...
...
@@ -255,11 +252,12 @@
# debug flag for http server
# tsdbDebugFlag 131
#
Record
the SQL in taos client
#
enable/disable recording
the SQL in taos client
# tscEnableRecordSql 0
#
if
generate core file when service crash
# 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
# maximum display width of binary and nchar fields in the shell. The parts exceeding this limit will be hidden
# maxBinaryDisplayWidth 30
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录