You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/main/resources/bootstrap_template.cnf
+81-60Lines changed: 81 additions & 60 deletions
Original file line number
Diff line number
Diff line change
@@ -55,17 +55,8 @@
55
55
-DusingAIO=0
56
56
57
57
-DuseThreadUsageStat=1
58
-
# query time cost statistics
59
-
#-DuseCostTimeStat=0
60
-
#-DmaxCostStatSize=100
61
-
#-DcostSamplePercent=1
62
58
63
59
64
-
# consistency
65
-
# check the consistency of table structure between nodes,default not
66
-
-DcheckTableConsistency=0
67
-
# check period, he default period is 60000 milliseconds
68
-
-DcheckTableConsistencyPeriod=60000
69
60
70
61
# processor check conn
71
62
-DprocessorCheckPeriod=1000
@@ -82,35 +73,74 @@
82
73
#-DfrontSocketSoSndbuf=4194304
83
74
#-DfrontSocketNoDelay=1
84
75
85
-
86
-
# query memory used for per session,unit is M
87
-
-DotherMemSize=4
88
-
-DorderMemSize=4
89
-
-DjoinMemSize=4
90
-
91
-
92
76
# off Heap unit:bytes
93
77
-DbufferPoolChunkSize=32767
94
78
#-DbufferPoolPageNumber=256
95
79
-DbufferPoolPageSize=2097152
96
-
#-DmappedFileSize=2097152
97
80
98
81
99
-
# sql statistics
100
-
# 1 means use SQL statistics, 0 means not
101
-
-DuseSqlStat=1
102
-
#-DbufferUsagePercent=80
103
-
-DclearBigSQLResultSetMapMs=600000
104
-
#-DsqlRecordCount=10
105
-
#-DmaxResultSet=524288
82
+
# if enable the slow query log
83
+
-DenableSlowLog=1
84
+
# the slow query log location
85
+
#-DslowLogBaseDir=./slowlogs
86
+
#-DslowLogBaseName=slow-query
87
+
# the max period for flushing the slow query log from memory to disk after last time , unit is second
88
+
-DflushSlowLogPeriod=1
89
+
# the max records for flushing the slow query log from memory to disk after last time
90
+
-DflushSlowLogSize=1000
91
+
# the threshold for judging if the query is slow , unit is millisecond
92
+
-DsqlSlowTime=100
106
93
107
94
108
-
# transaction log
109
-
# 1 enable record the transaction log, 0 disable ,the unit of transactionRotateSize is M
110
-
-DrecordTxn=0
111
-
#-DtransactionLogBaseDir=/txlogs
112
-
#-DtransactionLogBaseName=server-tx
113
-
#-DtransactionRotateSize=16
95
+
#-DenableAsyncRelease=1
96
+
#-DreleaseTimeout=10
97
+
98
+
99
+
100
+
101
+
102
+
##### (通用)读写分离无关 begin
103
+
104
+
#-DviewPersistenceConfBaseDir=/viewPath
105
+
#-DviewPersistenceConfBaseName=viewJson
106
+
107
+
# consistency
108
+
# check the consistency of table structure between nodes,default not
109
+
-DcheckTableConsistency=0
110
+
# check period, he default period is 60000 milliseconds
111
+
-DcheckTableConsistencyPeriod=60000
112
+
113
+
##### (通用)读写分离无关 end
114
+
115
+
##### 分库分表 only begin
116
+
117
+
# true is use JoinStrategy, default false
118
+
#-DuseJoinStrategy=true
119
+
-DnestLoopConnSize=4
120
+
-DnestLoopRowsSize=2000
121
+
122
+
#enableFlowControl=false
123
+
#flowControlStartThreshold=4096
124
+
#flowControlStopThreshold=256
125
+
126
+
127
+
# for join tmp results
128
+
#-DmergeQueueSize=1024
129
+
#-DorderByQueueSize=1024
130
+
#-DjoinQueueSize=1024
131
+
132
+
133
+
# used for load data,maxCharsPerColumn means max chars length for per column when load data
134
+
#-DmaxCharsPerColumn=65535
135
+
# used for load data, because dble need save to disk if loading file contains large size
136
+
#-DmaxRowSizeToFile=10000
137
+
138
+
139
+
# query memory used for per session,unit is M
140
+
-DotherMemSize=4
141
+
-DorderMemSize=4
142
+
-DjoinMemSize=4
143
+
114
144
# XA transaction
115
145
# use XA transaction ,if the mysql service crash,the unfinished XA commit/rollback will retry for several times , it is the check period for ,default is 1000 milliseconds
116
146
-DxaSessionCheckPeriod=1000
@@ -123,41 +153,32 @@
123
153
# XA Retry count, retry times in backend, 0 means always retry until success
124
154
#-DxaRetryCount=0
125
155
126
-
#-DviewPersistenceConfBaseDir=/viewPath
127
-
#-DviewPersistenceConfBaseName=viewJson
128
156
129
-
# for join tmp results
130
-
#-DmergeQueueSize=1024
131
-
#-DorderByQueueSize=1024
132
-
#-DjoinQueueSize=1024
133
157
134
158
135
-
# true is use JoinStrategy, default false
136
-
#-DuseJoinStrategy=true
137
-
-DnestLoopConnSize=4
138
-
-DnestLoopRowsSize=2000
159
+
# transaction log
160
+
# 1 enable record the transaction log, 0 disable ,the unit of transactionRotateSize is M
161
+
-DrecordTxn=0
162
+
#-DtransactionLogBaseDir=/txlogs
163
+
#-DtransactionLogBaseName=server-tx
164
+
#-DtransactionRotateSize=16
139
165
166
+
# query time cost statistics
167
+
#-DuseCostTimeStat=0
168
+
#-DmaxCostStatSize=100
169
+
#-DcostSamplePercent=1
140
170
141
-
# if enable the slow query log
142
-
-DenableSlowLog=1
143
-
# the slow query log location
144
-
#-DslowLogBaseDir=./slowlogs
145
-
#-DslowLogBaseName=slow-query
146
-
# the max period for flushing the slow query log from memory to disk after last time , unit is second
147
-
-DflushSlowLogPeriod=1
148
-
# the max records for flushing the slow query log from memory to disk after last time
149
-
-DflushSlowLogSize=1000
150
-
# the threshold for judging if the query is slow , unit is millisecond
151
-
-DsqlSlowTime=100
152
171
153
-
# used for load data,maxCharsPerColumn means max chars length for per column when load data
154
-
#-DmaxCharsPerColumn=65535
155
-
# used for load data, because dble need save to disk if loading file contains large size
0 commit comments