Skip to content

Commit 1cf94c3

Browse files
authored
PS-10214 [DOCS] - Document changed ranges of variables in MyRocks 8.4 (#586)
modified: docs/myrocks-server-variables.md
1 parent af35398 commit 1cf94c3

File tree

1 file changed

+13
-18
lines changed

1 file changed

+13
-18
lines changed

docs/myrocks-server-variables.md

Lines changed: 13 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -440,8 +440,6 @@ Skips verifying if rows exists before executing deletes. The following condition
440440
| Data type | Numeric |
441441
| Default | -1 |
442442

443-
This variable has been implemented in [Percona Server for MySQL 8.3.0-1](https://docs.percona.com/percona-server/innovation-release/release-notes/8.3.0-1.html).
444-
445443
This variable specifies the number of shards ,`numShardBits`, for the block cache in RocksDB. The cache is sharded into `2^numShardBits` shards by the key hash.
446444

447445
The default value is `-1`. The `-1` value means that RocksDB automatically determines the number of shards for the block cache based on the cache capacity.
@@ -503,6 +501,10 @@ Specifies the size of the data block for reading RocksDB data files.
503501
The default value is `16 KB`.
504502
The allowed range is from `1024` to `18446744073709551615` bytes.
505503

504+
#### Version changes
505+
506+
In Percona Server for MySQL 8.4.7-7, the maximum value was changed to `4294967296` bytes (4 GiB).
507+
506508

507509

508510

@@ -949,8 +951,6 @@ Specifies the name of the column family to compact.
949951
| Data type | Boolean |
950952
| Default | OFF |
951953

952-
This variable has been implemented in [Percona Server for MySQL 8.3.0-1](https://docs.percona.com/percona-server/innovation-release/release-notes/8.3.0-1.html).
953-
954954
This variable acts as a trigger. Set the variable to `ON`, `rocksdb-compact-lzero-now=ON`, to immediately compact all the `Level 0` (L0) files. After all the `L0` files are compacted, the variable value automatically switches to `OFF`.
955955

956956

@@ -992,10 +992,6 @@ Maximum allowed value is `18446744073709551615`.
992992
| Data type | Numeric |
993993
| Default | 149999 |
994994

995-
!!! note
996-
997-
In version [Percona Server for MySQL 8.3.0-1](https://docs.percona.com/percona-server/innovation-release/release-notes/8.3.0-1.html) and later, the default value is changed from `0` to `149999`.
998-
999995
Specifies the threshold to trigger compaction on a file if it has more than this number of sequential delete markers.
1000996

1001997
The default value is `149999`.
@@ -1024,10 +1020,6 @@ Maximum allowed value is `2000000` (two million delete markers).
10241020
| Data type | Boolean |
10251021
| Default | ON |
10261022

1027-
!!! note
1028-
1029-
In version [Percona Server for MySQL 8.3.0-1](https://docs.percona.com/percona-server/innovation-release/release-notes/8.3.0-1.html) and later, the default value is changed from `OFF` to `ON`.
1030-
10311023
Specifies whether to count single deletes as delete markers recognized by `rocksdb_compaction_sequential_deletes`.
10321024

10331025
The default value is `ON` which means the variable is enabled.
@@ -1279,7 +1271,11 @@ through before assuming deadlock.
12791271
| Data type | UINT |
12801272
| Default | 2 |
12811273

1282-
The cardinality multiplier used in tests. The minimum value is 0. The maxium value is 2147483647 (INT_MAX).
1274+
The cardinality multiplier used in tests. The minimum value is 0. The maximum value is 2147483647 (INT_MAX).
1275+
1276+
#### Version changes
1277+
1278+
In Percona Server for MySQL 8.4.7-7, the minimum value was changed to `1`.
12831279

12841280

12851281

@@ -2150,8 +2146,6 @@ This variable is deprecated in `Percona Server for MySQL 8.3.0-1` and will be re
21502146
When enabled, this option allows index key prefixes longer than 767 bytes (up to 3072 bytes). The values for `rocksdb_large_prefix` should be the same between source and replica.
21512147

21522148

2153-
2154-
21552149
### `rocksdb_lock_scanned_rows`
21562150

21572151
| Option | Description |
@@ -2398,10 +2392,13 @@ Tracks the history for at most `rockdb_mx_compaction_history` completed compacti
23982392
| Data type | Numeric |
23992393
| Default | 16 |
24002394

2401-
This variable has been implemented in [Percona Server for MySQL 8.3.0-1](https://docs.percona.com/percona-server/innovation-release/release-notes/8.3.0-1.html).
24022395

24032396
This variable sets `DBOptions::max_file_opening_threads` for RocksDB. The default value is `16`. The minimum value is `1` and the maximum value is 2147483647 (`INT_MAX`).
24042397

2398+
#### Version changes
2399+
2400+
In Percona Server for MySQL 8.4.7-7, the maximum value was changed to `262144`.
2401+
24052402

24062403

24072404

@@ -2736,8 +2733,6 @@ This variable is enabled (ON) by default.
27362733
| Data type | Boolean |
27372734
| Default | ON |
27382735

2739-
This variable has been implemented in [Percona Server for MySQL 8.3.0-1](https://docs.percona.com/percona-server/innovation-release/release-notes/8.3.0-1.html).
2740-
27412736
If this variable is set to `ON`, the partial index materialization ignores the killed flag and continues materialization until completion. If queries are killed during materialization due to timeout, the work done so far is wasted, and the killed query will likely be retried later, hitting the same issue.
27422737

27432738
The dafault value is `ON` which means this variable is enabled.

0 commit comments

Comments
 (0)