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
+11-11Lines changed: 11 additions & 11 deletions
Original file line number
Diff line number
Diff line change
@@ -347,7 +347,7 @@ This variable is an alias for `last_insert_id`.
347
347
- If you set the variable to a value that exceeds the upper limit `1048576`, `1048576` is used instead:
348
348
349
349
```sql
350
-
mysql>SET GLOBAL max_prepared_stmt_count=1048577;
350
+
mysql>SET GLOBAL max_prepared_stmt_count=1048577;
351
351
Query OK, 0 rows affected, 1 warning (0.01 sec)
352
352
353
353
mysql> SHOW WARNINGS;
@@ -1773,7 +1773,7 @@ For a system upgraded to v5.0 from an earlier version, if you have not modified
1773
1773
- Range: `[0, 2]`
1774
1774
- Indicates whether to allow the Broadcast Cartesian Join.
1775
1775
- `0` means that the Broadcast Cartesian Join is not allowed. `1` means that it is allowed based on [`tidb_broadcast_join_threshold_count`](#tidb_broadcast_join_threshold_count-new-in-v50). `2` means that it is always allowed even if the table size exceeds the threshold.
1776
-
- This variable is internally used in TiDB, and it is not recommended to modify its value.
1776
+
- This variable is internally used in TiDB, and it is **NOT** recommended to modify its value.
1777
1777
1778
1778
### tidb_opt_concurrency_factor
1779
1779
@@ -1782,7 +1782,7 @@ For a system upgraded to v5.0 from an earlier version, if you have not modified
1782
1782
- Type: Float
1783
1783
- Range: `[0, 2147483647]`
1784
1784
- Default value: `3.0`
1785
-
- Indicates the CPU cost of starting a Golang goroutine in TiDB. This variable is internally used in the [Cost Model](/cost-model.md), and it is not recommended to modify its value.
1785
+
- Indicates the CPU cost of starting a Golang goroutine in TiDB. This variable is internally used in the [Cost Model](/cost-model.md), and it is **NOT** recommended to modify its value.
1786
1786
1787
1787
### tidb_opt_cop_cpu_factor
1788
1788
@@ -1791,7 +1791,7 @@ For a system upgraded to v5.0 from an earlier version, if you have not modified
1791
1791
- Type: Float
1792
1792
- Range: `[0, 2147483647]`
1793
1793
- Default value: `3.0`
1794
-
- Indicates the CPU cost for TiKV Coprocessor to process one row. This variable is internally used in the [Cost Model](/cost-model.md), and it is not recommended to modify its value.
1794
+
- Indicates the CPU cost for TiKV Coprocessor to process one row. This variable is internally used in the [Cost Model](/cost-model.md), and it is **NOT** recommended to modify its value.
1795
1795
1796
1796
### tidb_opt_correlation_exp_factor
1797
1797
@@ -1822,7 +1822,7 @@ For a system upgraded to v5.0 from an earlier version, if you have not modified
1822
1822
- Type: Float
1823
1823
- Range: `[0, 2147483647]`
1824
1824
- Default value: `3.0`
1825
-
- Indicates the CPU cost for TiDB to process one row. This variable is internally used in the [Cost Model](/cost-model.md), and it is not recommended to modify its value.
1825
+
- Indicates the CPU cost for TiDB to process one row. This variable is internally used in the [Cost Model](/cost-model.md), and it is **NOT** recommended to modify its value.
1826
1826
1827
1827
### tidb_opt_desc_scan_factor
1828
1828
@@ -1831,7 +1831,7 @@ For a system upgraded to v5.0 from an earlier version, if you have not modified
1831
1831
- Type: Float
1832
1832
- Range: `[0, 2147483647]`
1833
1833
- Default value: `3.0`
1834
-
- Indicates the cost for TiKV to scan one row from the disk in descending order. This variable is internally used in the [Cost Model](/cost-model.md), and it is not recommended to modify its value.
1834
+
- Indicates the cost for TiKV to scan one row from the disk in descending order. This variable is internally used in the [Cost Model](/cost-model.md), and it is **NOT** recommended to modify its value.
1835
1835
1836
1836
### tidb_opt_disk_factor
1837
1837
@@ -1840,7 +1840,7 @@ For a system upgraded to v5.0 from an earlier version, if you have not modified
1840
1840
- Type: Float
1841
1841
- Range: `[0, 2147483647]`
1842
1842
- Default value: `1.5`
1843
-
- Indicates the I/O cost for TiDB to read or write one byte of data from or to the temporary disk. This variable is internally used in the [Cost Model](/cost-model.md), and it is not recommended to modify its value.
1843
+
- Indicates the I/O cost for TiDB to read or write one byte of data from or to the temporary disk. This variable is internally used in the [Cost Model](/cost-model.md), and it is **NOT** recommended to modify its value.
1844
1844
1845
1845
### tidb_opt_distinct_agg_push_down
1846
1846
@@ -1928,7 +1928,7 @@ mysql> desc select count(distinct a) from test.t;
1928
1928
- Type: Float
1929
1929
- Range: `[0, 2147483647]`
1930
1930
- Default value: `0.001`
1931
-
- Indicates the memory cost for TiDB to store one row. This variable is internally used in the [Cost Model](/cost-model.md), and it is not recommended to modify its value.
1931
+
- Indicates the memory cost for TiDB to store one row. This variable is internally used in the [Cost Model](/cost-model.md), and it is **NOT** recommended to modify its value.
1932
1932
1933
1933
### tidb_opt_mpp_outer_join_fixed_build_side <span class="version-mark">New in v5.1.0</span>
1934
1934
@@ -1945,7 +1945,7 @@ mysql> desc select count(distinct a) from test.t;
1945
1945
- Type: Float
1946
1946
- Range: `[0, 2147483647]`
1947
1947
- Default value: `1.0`
1948
-
- Indicates the net cost of transferring 1 byte of data through the network. This variable is internally used in the [Cost Model](/cost-model.md), and it is not recommended to modify its value.
1948
+
- Indicates the net cost of transferring 1 byte of data through the network. This variable is internally used in the [Cost Model](/cost-model.md), and it is **NOT** recommended to modify its value.
1949
1949
1950
1950
### tidb_opt_prefer_range_scan <span class="version-mark">New in v5.0</span>
1951
1951
@@ -1995,7 +1995,7 @@ explain select * from t where age=5;
1995
1995
- Type: Float
1996
1996
- Range: `[0, 2147483647]`
1997
1997
- Default value: `1.5`
1998
-
- Indicates the cost for TiKV to scan one row of data from the disk in ascending order. This variable is internally used in the [Cost Model](/cost-model.md), and it is not recommended to modify its value.
1998
+
- Indicates the cost for TiKV to scan one row of data from the disk in ascending order. This variable is internally used in the [Cost Model](/cost-model.md), and it is **NOT** recommended to modify its value.
1999
1999
2000
2000
### tidb_opt_seek_factor
2001
2001
@@ -2004,7 +2004,7 @@ explain select * from t where age=5;
2004
2004
- Type: Float
2005
2005
- Range: `[0, 2147483647]`
2006
2006
- Default value: `20`
2007
-
- Indicates the start-up cost for TiDB to request data from TiKV. This variable is internally used in the [Cost Model](/cost-model.md), and it is not recommended to modify its value.
2007
+
- Indicates the start-up cost for TiDB to request data from TiKV. This variable is internally used in the [Cost Model](/cost-model.md), and it is **NOT** recommended to modify its value.
2008
2008
2009
2009
### tidb_opt_skew_distinct_agg <span class="version-mark">New in v6.2.0</span>
0 commit comments