Document RocksDB variables: rocksdb_max_background_compactions, rocksdb_max_background_flushes, and rocksdb_max_bottom_pri_background_compactions

Description

Implemented at https://github.com/percona/percona-server/pull/3880

1. Add a new variable "rocksdb_max_bottom_pri_background_compactions":

:dyn: No :scope: Global :vartype: Unsigned Integer :default: 0
"Creating specified number of threads, setting lower " "CPU priority, and letting compactions use them. " "Maximum compaction concurrency is capped by " "rocksdb_max_background_compactions or " "rocksdb_max_background_jobs." min = 0, max= 64

2. Add a new variable "rocksdb_max_background_flushes":

:dyn: No :scope: Global :vartype: Integer :default: -1
"Set DBOptions::max_background_flushes for RocksDB" min = -1, max= 64

3. Add a new variable "rocksdb_max_background_compactions":

:dyn: Yes :scope: Global :vartype: Integer :default: -1
"Set DBOptions::max_background_compactions for RocksDB" min = -1, max= 64

Environment

None

Smart Checklist

Activity

Show:

patrick.birch June 16, 2020 at 4:41 PM

Questions about rocksdb_max_background_compactions and rocksdb_max_background_flushes. These variables were implemented and replaced in 5.7.

Done

Details

Assignee

Reporter

Needs Review

Yes

Time tracking

5h 30m logged

Fix versions

Affects versions

Priority

Smart Checklist

Created June 16, 2020 at 3:24 PM
Updated March 6, 2024 at 11:05 AM
Resolved June 29, 2020 at 12:34 PM