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: docs/myrocks-server-variables.md
+13-18Lines changed: 13 additions & 18 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -440,8 +440,6 @@ Skips verifying if rows exists before executing deletes. The following condition
440
440
| Data type | Numeric |
441
441
| Default | -1 |
442
442
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
-
445
443
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.
446
444
447
445
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.
503
501
The default value is `16 KB`.
504
502
The allowed range is from `1024` to `18446744073709551615` bytes.
505
503
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
+
506
508
507
509
508
510
@@ -949,8 +951,6 @@ Specifies the name of the column family to compact.
949
951
| Data type | Boolean |
950
952
| Default | OFF |
951
953
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
-
954
954
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`.
955
955
956
956
@@ -992,10 +992,6 @@ Maximum allowed value is `18446744073709551615`.
992
992
| Data type | Numeric |
993
993
| Default | 149999 |
994
994
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
-
999
995
Specifies the threshold to trigger compaction on a file if it has more than this number of sequential delete markers.
1000
996
1001
997
The default value is `149999`.
@@ -1024,10 +1020,6 @@ Maximum allowed value is `2000000` (two million delete markers).
1024
1020
| Data type | Boolean |
1025
1021
| Default | ON |
1026
1022
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
-
1031
1023
Specifies whether to count single deletes as delete markers recognized by `rocksdb_compaction_sequential_deletes`.
1032
1024
1033
1025
The default value is `ON` which means the variable is enabled.
@@ -1279,7 +1271,11 @@ through before assuming deadlock.
1279
1271
| Data type | UINT |
1280
1272
| Default | 2 |
1281
1273
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`.
1283
1279
1284
1280
1285
1281
@@ -2150,8 +2146,6 @@ This variable is deprecated in `Percona Server for MySQL 8.3.0-1` and will be re
2150
2146
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.
2151
2147
2152
2148
2153
-
2154
-
2155
2149
### `rocksdb_lock_scanned_rows`
2156
2150
2157
2151
| Option | Description |
@@ -2398,10 +2392,13 @@ Tracks the history for at most `rockdb_mx_compaction_history` completed compacti
2398
2392
| Data type | Numeric |
2399
2393
| Default | 16 |
2400
2394
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).
2402
2395
2403
2396
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`).
2404
2397
2398
+
#### Version changes
2399
+
2400
+
In Percona Server for MySQL 8.4.7-7, the maximum value was changed to `262144`.
2401
+
2405
2402
2406
2403
2407
2404
@@ -2736,8 +2733,6 @@ This variable is enabled (ON) by default.
2736
2733
| Data type | Boolean |
2737
2734
| Default | ON |
2738
2735
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
-
2741
2736
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.
2742
2737
2743
2738
The dafault value is `ON` which means this variable is enabled.
0 commit comments