Skip to content

Commit fbd83ba

Browse files
authored
Fix incorrect changes in sysvar doc (#5928)
1 parent cda8d36 commit fbd83ba

File tree

1 file changed

+2
-9
lines changed

1 file changed

+2
-9
lines changed

system-variables.md

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -111,12 +111,6 @@ mysql> SELECT * FROM t1;
111111
- Default value: `utf8mb4`
112112
- The character set used for new schemas when no character set is specified in the `CREATE SCHEMA` statement.
113113

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-
120114
### datadir
121115

122116
- Scope: NONE
@@ -240,7 +234,6 @@ mysql> SELECT * FROM t1;
240234

241235
- Scope: SESSION | GLOBAL
242236
- Default value: `ON`
243-
- Possible values: `OFF`, `ON`, `ENFORCE`
244237
- 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.
245238

246239
### tidb_allow_remove_auto_inc <span class="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
438431
### tidb_enable_1pc <span class="version-mark">New in v5.0</span>
439432

440433
- 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 from v5.0 RC, the variable value stays unchanged. If your cluster is upgraded to v5.0 GA from v4.0 or earlier, the variable value defaults to `OFF` after the upgrade.
442435
- 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 commit and increase the throughput.
443436

444437
> **Note:**
@@ -464,7 +457,7 @@ Constraint checking is always performed in place for pessimistic transactions (d
464457
### tidb_enable_async_commit <span class="version-mark">New in v5.0</span>
465458

466459
- 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 from v5.0 RC, the variable value stays unchanged. If your cluster is upgraded to v5.0 GA from v4.0 or earlier, the variable value defaults to `OFF` after the upgrade.
468461
- 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.
469462

470463
> **Note:**

0 commit comments

Comments
 (0)