You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: system-variables.md
+2-9Lines changed: 2 additions & 9 deletions
Original file line number
Diff line number
Diff line change
@@ -111,12 +111,6 @@ mysql> SELECT * FROM t1;
111
111
- Default value: `utf8mb4`
112
112
- The character set used for new schemas when no character set is specified in the `CREATE SCHEMA` statement.
113
113
114
-
### `cte_max_recursion_depth`
115
-
116
-
- Scope:SESSION | GLOBAL
117
-
- Default value:1000
118
-
- Controls the maximum recursion depth in Common Table Expressions.
119
-
120
114
### datadir
121
115
122
116
- Scope: NONE
@@ -240,7 +234,6 @@ mysql> SELECT * FROM t1;
240
234
241
235
- Scope: SESSION | GLOBAL
242
236
- Default value: `ON`
243
-
- Possible values: `OFF`, `ON`, `ENFORCE`
244
237
- This variable controls whether to use the MPP mode of TiFlash to execute queries. If the value is set to `ON`, TiDB automatically determines using the optimizer whether to choose MPP to execute queries. MPP is a distributed computing framework provided by the TiFlash engine, which allows data exchange between nodes and provides high-performance, high-throughput SQL algorithms.
245
238
246
239
### tidb_allow_remove_auto_inc <spanclass="version-mark">New in v2.1.18 and v3.0.4</span>
@@ -438,7 +431,7 @@ Constraint checking is always performed in place for pessimistic transactions (d
438
431
### tidb_enable_1pc <span class="version-mark">New in v5.0</span>
439
432
440
433
- Scope: SESSION | GLOBAL
441
-
- Default value: `ON`
434
+
- Default value: For newly created clusters, the default value of v5.0 RC is `OFF`and the default value of v5.0 GA or later is `ON`. If your cluster was upgraded to v5.0 GA fromv5.0 RC, the variable value stays unchanged. If your cluster is upgraded to v5.0 GA fromv4.0or earlier, the variable value defaults to `OFF` after the upgrade.
442
435
- This variable is used to specify whether to enable the one-phase commit feature for transactions that only affect one Region. Compared with the often-used two-phase commit, one-phase commit can greatly reduce the latency of transaction commitand increase the throughput.
443
436
444
437
>**Note:**
@@ -464,7 +457,7 @@ Constraint checking is always performed in place for pessimistic transactions (d
464
457
### tidb_enable_async_commit <span class="version-mark">New in v5.0</span>
465
458
466
459
- Scope: SESSION | GLOBAL
467
-
- Default value: `ON`
460
+
- Default value: For newly created clusters, the default value of v5.0 RC is `OFF`and the default value of v5.0 GA or later is `ON`. If your cluster was upgraded to v5.0 GA fromv5.0 RC, the variable value stays unchanged. If your cluster is upgraded to v5.0 GA fromv4.0or earlier, the variable value defaults to `OFF` after the upgrade.
468
461
- This variable controls whether to enable the async commit feature for the second phase of the two-phase transaction commit to perform asynchronously in the background. Enabling this feature can reduce the latency of transaction commit.
0 commit comments