Skip to content

Commit 676a458

Browse files
TomShawnOreoxmt
andauthored
Apply suggestions from code review
Co-authored-by: Aolin <aolinz@outlook.com>
1 parent 94a4398 commit 676a458

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

system-variables.md

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -347,7 +347,7 @@ This variable is an alias for `last_insert_id`.
347347
- If you set the variable to a value that exceeds the upper limit `1048576`, `1048576` is used instead:
348348

349349
```sql
350-
mysql> SET GLOBAL max_prepared_stmt_count=1048577;
350+
mysql> SET GLOBAL max_prepared_stmt_count = 1048577;
351351
Query OK, 0 rows affected, 1 warning (0.01 sec)
352352

353353
mysql> SHOW WARNINGS;
@@ -1773,7 +1773,7 @@ For a system upgraded to v5.0 from an earlier version, if you have not modified
17731773
- Range: `[0, 2]`
17741774
- Indicates whether to allow the Broadcast Cartesian Join.
17751775
- `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.
17771777
17781778
### tidb_opt_concurrency_factor
17791779
@@ -1782,7 +1782,7 @@ For a system upgraded to v5.0 from an earlier version, if you have not modified
17821782
- Type: Float
17831783
- Range: `[0, 2147483647]`
17841784
- 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.
17861786
17871787
### tidb_opt_cop_cpu_factor
17881788
@@ -1791,7 +1791,7 @@ For a system upgraded to v5.0 from an earlier version, if you have not modified
17911791
- Type: Float
17921792
- Range: `[0, 2147483647]`
17931793
- 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.
17951795
17961796
### tidb_opt_correlation_exp_factor
17971797
@@ -1822,7 +1822,7 @@ For a system upgraded to v5.0 from an earlier version, if you have not modified
18221822
- Type: Float
18231823
- Range: `[0, 2147483647]`
18241824
- 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.
18261826
18271827
### tidb_opt_desc_scan_factor
18281828
@@ -1831,7 +1831,7 @@ For a system upgraded to v5.0 from an earlier version, if you have not modified
18311831
- Type: Float
18321832
- Range: `[0, 2147483647]`
18331833
- 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.
18351835
18361836
### tidb_opt_disk_factor
18371837
@@ -1840,7 +1840,7 @@ For a system upgraded to v5.0 from an earlier version, if you have not modified
18401840
- Type: Float
18411841
- Range: `[0, 2147483647]`
18421842
- 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.
18441844
18451845
### tidb_opt_distinct_agg_push_down
18461846
@@ -1928,7 +1928,7 @@ mysql> desc select count(distinct a) from test.t;
19281928
- Type: Float
19291929
- Range: `[0, 2147483647]`
19301930
- 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.
19321932
19331933
### tidb_opt_mpp_outer_join_fixed_build_side <span class="version-mark">New in v5.1.0</span>
19341934
@@ -1945,7 +1945,7 @@ mysql> desc select count(distinct a) from test.t;
19451945
- Type: Float
19461946
- Range: `[0, 2147483647]`
19471947
- 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.
19491949
19501950
### tidb_opt_prefer_range_scan <span class="version-mark">New in v5.0</span>
19511951
@@ -1995,7 +1995,7 @@ explain select * from t where age=5;
19951995
- Type: Float
19961996
- Range: `[0, 2147483647]`
19971997
- 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.
19991999
20002000
### tidb_opt_seek_factor
20012001
@@ -2004,7 +2004,7 @@ explain select * from t where age=5;
20042004
- Type: Float
20052005
- Range: `[0, 2147483647]`
20062006
- 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.
20082008
20092009
### tidb_opt_skew_distinct_agg <span class="version-mark">New in v6.2.0</span>
20102010

0 commit comments

Comments
 (0)