From 2c76cd38a8702338afed7d561f1a2b2a06ac09fd Mon Sep 17 00:00:00 2001 From: Morgan Tocker Date: Tue, 8 Jun 2021 18:58:02 -0600 Subject: [PATCH 1/4] system-variables: add datadir and license --- system-variables.md | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/system-variables.md b/system-variables.md index af2fda2fe7dcc..e45d8d031fefd 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. +- Typically the value when be in the format of `ip_address:port`, indicating the PD server that TiDB connected 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 From 6ec64405286e8532a927e7e65520daa688ec83c4 Mon Sep 17 00:00:00 2001 From: Morgan Tocker Date: Thu, 10 Jun 2021 09:22:50 -0600 Subject: [PATCH 2/4] Update system-variables.md MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Daniƫl van Eeden --- system-variables.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/system-variables.md b/system-variables.md index e45d8d031fefd..690969431bf80 100644 --- a/system-variables.md +++ b/system-variables.md @@ -83,7 +83,7 @@ mysql> SELECT * FROM t1; - Scope: NONE - Default value: /tmp/tidb -- This variable indicates the location where data is stored. +- This variable indicates the location where data is stored. This can be a local path or point to a PD server in case the data is stored on TiKV. - Typically the value when be in the format of `ip_address:port`, indicating the PD server that TiDB connected to on startup. ### ddl_slow_threshold From 35f8e3dad5ba23dfe3bf2d0c681b3727d915492d Mon Sep 17 00:00:00 2001 From: Morgan Tocker Date: Thu, 10 Jun 2021 09:24:02 -0600 Subject: [PATCH 3/4] Update system-variables.md Co-authored-by: TomShawn <41534398+TomShawn@users.noreply.github.com> --- system-variables.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/system-variables.md b/system-variables.md index 690969431bf80..ece3e2425e865 100644 --- a/system-variables.md +++ b/system-variables.md @@ -84,7 +84,7 @@ mysql> SELECT * FROM t1; - Scope: NONE - Default value: /tmp/tidb - This variable indicates the location where data is stored. This can be a local path or point to a PD server in case the data is stored on TiKV. -- Typically the value when be in the format of `ip_address:port`, indicating the PD server that TiDB connected to on startup. +- A value in the format of `ip_address:port` indicates the PD server that TiDB connects to on startup. ### ddl_slow_threshold From 67fdbb714222c4f75ae8e1f2cd2ac2782b58059b Mon Sep 17 00:00:00 2001 From: Morgan Tocker Date: Mon, 28 Jun 2021 08:13:07 -0600 Subject: [PATCH 4/4] Update system-variables.md Co-authored-by: TomShawn <41534398+TomShawn@users.noreply.github.com> --- system-variables.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/system-variables.md b/system-variables.md index ece3e2425e865..702db8343a5ad 100644 --- a/system-variables.md +++ b/system-variables.md @@ -83,7 +83,7 @@ mysql> SELECT * FROM t1; - Scope: NONE - Default value: /tmp/tidb -- This variable indicates the location where data is stored. This can be a local path or point to a PD server in case the data is stored on TiKV. +- 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