TiDBConfig
(Appears on: TiDBSpec)
TiDBConfig is the configuration of tidb-server For more detail, refer to https://pingcap.com/docs/stable/reference/configuration/tidb-server/configuration/
Field | Description |
---|---|
cors string | (Optional) |
socket string | (Optional) |
lease string | (Optional) Optional: Defaults to 45s |
run-ddl bool | (Optional) Optional: Defaults to true |
split-table bool | (Optional) Optional: Defaults to true |
token-limit uint | (Optional) Optional: Defaults to 1000 |
oom-action string | (Optional) Optional: Defaults to log |
mem-quota-query int64 | (Optional) Optional: Defaults to 34359738368 |
enable-streaming bool | (Optional) Optional: Defaults to false |
enable-batch-dml bool | (Optional) Optional: Defaults to false |
txn-local-latches TxnLocalLatches | (Optional) |
lower-case-table-names int | (Optional) |
log Log | (Optional) |
security Security | (Optional) |
status Status | (Optional) |
performance Performance | (Optional) |
prepared-plan-cache PreparedPlanCache | (Optional) |
opentracing OpenTracing | (Optional) |
proxy-protocol ProxyProtocol | (Optional) |
tikv-client TiKVClient | (Optional) |
binlog Binlog | (Optional) |
compatible-kill-query bool | (Optional) |
plugin Plugin | (Optional) |
pessimistic-txn PessimisticTxn | (Optional) |
check-mb4-value-in-utf8 bool | (Optional) Optional: Defaults to true |
alter-primary-key bool | (Optional) Optional: Defaults to false |
treat-old-version-utf8-as-utf8mb4 bool | (Optional) Optional: Defaults to true |
split-region-max-num uint64 | (Optional) Optional: Defaults to 1000 |
stmt-summary StmtSummary | (Optional) |
repair-mode bool | (Optional) RepairMode indicates that the TiDB is in the repair mode for table meta. |
repair-table-list []string | (Optional) |
isolation-read IsolationRead | (Optional) IsolationRead indicates that the TiDB reads data from which isolation level(engine and label). |
max-server-connections uint32 | (Optional) MaxServerConnections is the maximum permitted number of simultaneous client connections. |
new_collations_enabled_on_first_bootstrap bool | (Optional) NewCollationsEnabledOnFirstBootstrap indicates if the new collations are enabled, it effects only when a TiDB cluster bootstrapped on the first time. |
experimental Experimental | (Optional) Experimental contains parameters for experimental features. |
enable-dynamic-config bool | (Optional) EnableDynamicConfig enables the TiDB to fetch configs from PD and update itself during runtime. see https://github.com/pingcap/tidb/pull/13660 for more details. |
enable-table-lock bool | imported from v3.1.0 optional |
delay-clean-table-lock uint64 | imported from v3.1.0 optional |