Skip to content

Commit 542a252

Browse files
authored
sysvar: add variables in 6.4 doc (pingcap#11229)
1 parent 1d6e2c8 commit 542a252

File tree

1 file changed

+38
-0
lines changed

1 file changed

+38
-0
lines changed

system-variables.md

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -660,6 +660,17 @@ MPP is a distributed computing framework provided by the TiFlash engine, which a
660660
- Default value: `OFF`
661661
- This variable is used to set whether the `AUTO_INCREMENT` property of a column is allowed to be removed by executing `ALTER TABLE MODIFY` or `ALTER TABLE CHANGE` statements. It is not allowed by default.
662662
663+
### tidb_analyze_partition_concurrency
664+
665+
> **Warning:**
666+
>
667+
> The feature controlled by this variable is not fully functional in the current TiDB version. Do not change the default value.
668+
669+
- Scope: SESSION | GLOBAL
670+
- Persists to cluster: Yes
671+
- Default value: `1`
672+
- This variable specifies the concurrency of reading and writing statistics for a partitioned table when TiDB analyzes the partitioned table.
673+
663674
### tidb_analyze_version <span class="version-mark">New in v5.1.0</span>
664675
665676
- Scope: SESSION | GLOBAL
@@ -1451,6 +1462,14 @@ MPP is a distributed computing framework provided by the TiFlash engine, which a
14511462
- Default value: `OFF`
14521463
- This variable controls whether to enable the General Plan Cache feature.
14531464
1465+
### tidb_enable_gogc_tuner <span class="version-mark">New in v6.4.0</span>
1466+
1467+
- Scope: GLOBAL
1468+
- Persists to cluster: No, only applicable to the current TiDB instance that you are connecting to.
1469+
- Type: Boolean
1470+
- Default value: `ON`
1471+
- This variable controls whether to enable GOGC Tuner.
1472+
14541473
### tidb_enable_historical_stats
14551474
14561475
- Scope: GLOBAL
@@ -2149,6 +2168,14 @@ For a system upgraded to v5.0 from an earlier version, if you have not modified
21492168
- When this variable is set to `ON`, you can view visual execution plans in TiDB Dashboard. Note that TiDB Dashboard only provides visual display for execution plans generated after this variable is enabled.
21502169
- You can execute the `SELECT tidb_decode_binary_plan('xxx...')` statement to parse the specific plan from a binary plan.
21512170
2171+
### tidb_gogc_tuner_threshold <span class="version-mark">New in v6.4.0</span>
2172+
2173+
- Scope: GLOBAL
2174+
- Persists to cluster: No, only applicable to the current TiDB instance that you are connecting to.
2175+
- Default value: `0.6`
2176+
- Range: `[0, 0.9)`
2177+
- This variable specifies the maximum memory threshold for tuning GOGC. When the memory exceeds this threshold, GOGC Tuner stops working.
2178+
21522179
### tidb_guarantee_linearizability <span class="version-mark">New in v5.0</span>
21532180
21542181
- Scope: SESSION | GLOBAL
@@ -2581,6 +2608,17 @@ For a system upgraded to v5.0 from an earlier version, if you have not modified
25812608
- This variable sets the concurrency of the `MergeJoin` operator when a query is executed.
25822609
- It is **NOT recommended** to set this variable. Modifying the value of this variable might cause data correctness issues.
25832610
2611+
### tidb_merge_partition_stats_concurrency
2612+
2613+
> **Warning:**
2614+
>
2615+
> The feature controlled by this variable is not fully functional in the current TiDB version. Do not change the default value.
2616+
2617+
- Scope: SESSION | GLOBAL
2618+
- Persists to cluster: Yes
2619+
- Default value: `1`
2620+
- This variable specifies the concurrency of merging statistics for a partitioned table when TiDB analyzes the partitioned table.
2621+
25842622
### tidb_metric_query_range_duration <span class="version-mark">New in v4.0</span>
25852623
25862624
<CustomContent platform="tidb-cloud">

0 commit comments

Comments
 (0)