From 702a35c95d53d6972ef212e86a8d19bda794c7d3 Mon Sep 17 00:00:00 2001 From: Morgan Tocker Date: Tue, 29 Jun 2021 01:57:25 -0600 Subject: [PATCH] system-variables: add datadir and license (#5761) --- system-variables.md | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/system-variables.md b/system-variables.md index f67a989b3269d..a9cf9acd24cc5 100644 --- a/system-variables.md +++ b/system-variables.md @@ -89,6 +89,13 @@ mysql> SELECT * FROM t1; - Default value:1000 - Controls the maximum recursion depth in Common Table Expressions. +### 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 @@ -140,6 +147,12 @@ mysql> SELECT * FROM t1; - Default value: `OFF` - 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