From 075a1c9f3ffe1c36c4bb88fdae5b24ec2fb574a1 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 fd26bf39a2f6c..b0e00aab7ad01 100644 --- a/system-variables.md +++ b/system-variables.md @@ -81,6 +81,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 @@ -123,6 +130,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 cf1652b870181524aaa66f400bd38e4350735f4d 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 b0e00aab7ad01..5eb654aa62657 100644 --- a/system-variables.md +++ b/system-variables.md @@ -85,7 +85,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 4ae6ae3e1fee745552dd2413a96539820d5c5f78 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 5eb654aa62657..4f96cfce2c493 100644 --- a/system-variables.md +++ b/system-variables.md @@ -86,7 +86,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 9600fcfbb735d0c72c306a3525c0edef257ca084 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 4cba42c74e78b..88736574bad29 100644 --- a/system-variables.md +++ b/system-variables.md @@ -92,7 +92,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