TiDB Configuration.
compatible-kill-query = false
enable-streaming = false
host = “0.0.0.0”
lease = “45s”
lower-case-table-names = 2
oom-action = “log”
run-ddl = true
socket = “”
split-table = true
store = “tikv”
token-limit = 1000
[log]
disable-timestamp = false
expensive-threshold = 10000
format = “text”
level = “warn”
query-log-max-len = 2048
slow-threshold = 1000
[log.file]
log-rotate = true
max-backups = 0
max-days = 5
max-size = 300
[security]
cluster-ssl-ca = “”
cluster-ssl-cert = “”
cluster-ssl-key = “”
ssl-ca = “”
ssl-cert = “”
ssl-key = “”
[status]
report-status = true
[performance]
cross-join = true
feedback-probability = 0.05
force-priority = “NO_PRIORITY”
max-procs = 0
pseudo-estimate-ratio = 0.8
query-feedback-limit = 1024
run-auto-analyze = true
stats-lease = “3s”
stmt-count-limit = 500000
tcp-keep-alive = true
[proxy-protocol]
header-timeout = 5
networks = “*”
[prepared-plan-cache]
capacity = 100
enabled = true
memory-guard-ratio = 0.1
[opentracing]
enable = false
rpc-metrics = false
[opentracing.reporter]
buffer-flush-interval = 0
local-agent-host-port = “”
log-spans = false
queue-size = 0
[opentracing.sampler]
max-operations = 0
param = 1.0
sampling-refresh-interval = 0
sampling-server-url = “”
type = “const”
[tikv-client]
commit-timeout = “41s”
grpc-connection-count = 40
grpc-keepalive-time = 10
grpc-keepalive-timeout = 3
max-batch-size = 256
max-txn-time-use = 3600
[txn-local-latches]
capacity = 2048000
enabled = false
[binlog]
ignore-error = false
write-timeout = “15s”
[pessimistic-txn]
enable = true
max-retry-count = 256
ttl = “30s”
你好,这是目前的并发连接情况