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
+38Lines changed: 38 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -660,6 +660,17 @@ MPP is a distributed computing framework provided by the TiFlash engine, which a
660
660
- Default value: `OFF`
661
661
- 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.
662
662
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
+
663
674
### tidb_analyze_version <span class="version-mark">New in v5.1.0</span>
664
675
665
676
- Scope: SESSION | GLOBAL
@@ -1451,6 +1462,14 @@ MPP is a distributed computing framework provided by the TiFlash engine, which a
1451
1462
- Default value: `OFF`
1452
1463
- This variable controls whether to enable the General Plan Cache feature.
1453
1464
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
+
1454
1473
### tidb_enable_historical_stats
1455
1474
1456
1475
- Scope: GLOBAL
@@ -2149,6 +2168,14 @@ For a system upgraded to v5.0 from an earlier version, if you have not modified
2149
2168
- 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.
2150
2169
- You can execute the `SELECT tidb_decode_binary_plan('xxx...')` statement to parse the specific plan from a binary plan.
2151
2170
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
+
2152
2179
### tidb_guarantee_linearizability <span class="version-mark">New in v5.0</span>
2153
2180
2154
2181
- Scope: SESSION | GLOBAL
@@ -2581,6 +2608,17 @@ For a system upgraded to v5.0 from an earlier version, if you have not modified
2581
2608
- This variable sets the concurrency of the `MergeJoin` operator when a query is executed.
2582
2609
- It is **NOT recommended** to set this variable. Modifying the value of this variable might cause data correctness issues.
2583
2610
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
+
2584
2622
### tidb_metric_query_range_duration <span class="version-mark">New in v4.0</span>
0 commit comments