Skip to content

Commit

Permalink
system-variables: add datadir and license (#5761)
Browse files Browse the repository at this point in the history
  • Loading branch information
morgo authored Jun 29, 2021
1 parent c86ba71 commit 7253ade
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions system-variables.md
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,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
Expand Down Expand Up @@ -141,6 +148,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
Expand Down

0 comments on commit 7253ade

Please sign in to comment.