diff --git a/system-variables.md b/system-variables.md index af2fda2fe7dcc..702db8343a5ad 100644 --- a/system-variables.md +++ b/system-variables.md @@ -79,6 +79,13 @@ mysql> SELECT * FROM t1; - Default value: ON - Controls whether statements should automatically commit when not in an explicit transaction. See [Transaction Overview](/transaction-overview.md#autocommit) for more information. +### datadir + +- Scope: NONE +- Default value: /tmp/tidb +- This variable indicates the location where data is stored. This location can be a local path or point to a PD server if the data is stored on TiKV. +- A value in the format of `ip_address:port` indicates the PD server that TiDB connects to on startup. + ### ddl_slow_threshold - Scope: INSTANCE @@ -121,6 +128,12 @@ mysql> SELECT * FROM t1; - Default value: 0 - This variable is used to show whether the execution plan used in the previous `execute` statement is taken directly from the plan cache. +### license + +- Scope: NONE +- Default value: Apache License 2.0 +- This variable indicates the license of your TiDB server installation. + ### max_execution_time - Scope: SESSION | GLOBAL