7
7
# The socket file to use for connection.
8
8
# socket: ""
9
9
10
- # Run ddl worker on this tidb-server.
11
- # run-ddl: true
12
-
13
10
# Schema lease duration, very dangerous to change only if you know what you do.
14
11
# lease: "45s"
15
12
16
- # When create table, split a separated region for it. It is recommended to
17
- # turn off this option if there will be a large number of tables created.
18
- # split-table: true
19
-
20
13
# The limit of concurrent executed sessions.
21
14
# token-limit: 1000
22
15
@@ -27,12 +20,6 @@ global:
27
20
# Set the memory quota for a query in bytes. Default: 32GB
28
21
# mem-quota-query: 34359738368
29
22
30
- # Enable coprocessor streaming.
31
- # enable-streaming: false
32
-
33
- # Set system variable 'lower_case_table_names'
34
- # lower-case-table-names: 2
35
-
36
23
# Make "kill query" behavior compatible with MySQL. It's not recommend to
37
24
# turn on this option when TiDB server is behind a proxy.
38
25
# compatible-kill-query: false
44
31
# Log level: debug, info, warn, error, fatal.
45
32
# level: "info"
46
33
47
- # Log format, one of json, text, console.
48
- # format: "text"
49
-
50
- # Disable automatic timestamps in output
51
- # disable-timestamp: false
52
-
53
34
# Queries with execution time greater than this value will be logged. (Milliseconds)
54
35
# slow-threshold: 300
55
36
56
37
# Queries with internal result greater than this value will be logged.
57
38
# expensive-threshold: 10000
58
39
59
- # Maximum query length recorded in log.
60
- # query-log-max-len: 2048
61
-
62
- # File logging.
63
- file :
64
- # Max log file size in MB. (upper limit to 4096MB).
65
- # max-size: 300
66
-
67
- # Max log file keep days. No clean up by default.
68
- # max-days: 0
69
-
70
- # Maximum number of old log files to retain. No clean up by default.
71
- # max-backups: 0
72
-
73
- # Rotate log by day
74
- # log-rotate: true
75
-
76
- security :
77
- # Path of file that contains list of trusted SSL CAs for connection with mysql client.
78
- # ssl-ca: ""
79
-
80
- # Path of file that contains X509 certificate in PEM format for connection with mysql client.
81
- # ssl-cert: ""
82
-
83
- # Path of file that contains X509 key in PEM format for connection with mysql client.
84
- # ssl-key: ""
85
-
86
- # Path of file that contains list of trusted SSL CAs for connection with cluster components.
87
- # cluster-ssl-ca: ""
40
+ status :
41
+ # TiDB status host.
42
+ # status-host = "0.0.0.0"
88
43
89
- # Path of file that contains X509 certificate in PEM format for connection with cluster components.
90
- # cluster-ssl-cert: ""
44
+ # Prometheus pushgateway address, leaves it empty will disable prometheus push.
45
+ # TiDB status port.
46
+ # status-port = 10080
91
47
92
- # Path of file that contains X509 key in PEM format for connection with cluster components .
93
- # cluster-ssl-key: ""
48
+ # Prometheus pushgateway address, leaves it empty will disable prometheus push .
49
+ # metrics-addr = ""
94
50
95
- status :
96
- # If enable status report HTTP service.
97
- # report-status: true
51
+ # Prometheus client push interval in second, set \"0\" to disable prometheus push.
52
+ # metrics-interval = 15
98
53
99
54
performance :
100
55
# Max CPUs to use, 0 use number of CPUs in the machine.
@@ -106,39 +61,10 @@ performance:
106
61
# StmtCountLimit limits the max count of statement inside a transaction.
107
62
# stmt-count-limit: 5000
108
63
109
- # Set keep alive option for tcp connection.
110
- # tcp-keep-alive: true
111
-
112
- # Whether support cartesian product.
113
- # cross-join: true
114
-
115
64
# Stats lease duration, which influences the time of analyze and stats load.
116
65
# stats-lease: "3s"
117
66
118
- # Run auto analyze worker on this tidb-server.
119
- # run-auto-analyze: true
120
-
121
- # Probability to use the query feedback to update stats, 0 or 1 for always false/true.
122
- # feedback-probability: 0.05
123
-
124
- # The max number of query feedback that cache in memory.
125
- # query-feedback-limit: 1024
126
-
127
- # Pseudo stats will be used if the ratio between the modify count and
128
- # row count in statistics of a table is greater than it.
129
- # pseudo-estimate-ratio: 0.8
130
-
131
- # Force the priority of all statements in a specified priority.
132
- # The value could be "NO_PRIORITY", "LOW_PRIORITY", "HIGH_PRIORITY" or "DELAYED".
133
- # force-priority: "NO_PRIORITY"
134
-
135
67
proxy_protocol :
136
- # PROXY protocol acceptable client networks.
137
- # Empty string means disable PROXY protocol, * means all networks.
138
- # networks: ""
139
-
140
- # PROXY protocol header read timeout, unit is second
141
- # header-timeout: 5
142
68
143
69
prepared_plan_cache :
144
70
# enabled: false
@@ -224,10 +150,6 @@ tikv_client:
224
150
# batch-wait-size: 8
225
151
226
152
txn_local_latches :
227
- # Enable local latches for transactions. Enable it when
228
- # there are lots of conflicts between transactions.
229
- # enabled: false
230
- # capacity: 2048000
231
153
232
154
binlog :
233
155
# WriteTimeout specifies how long it will wait for writing binlog to pump.
0 commit comments