Percona MyRocks introduction¶
MyRocks is a storage engine for MySQL based on RocksDB , an embeddable, persistent key-value store. Percona MyRocks is an implementation for Percona Server for MySQL .
The RocksDB store is based on the log-structured merge-tree (or LSM tree). It is optimized for fast storage and combines outstanding space and write efficiency with acceptable read performance. As a result, MyRocks has the following advantages compared to other storage engines, if your workload uses fast storage, such as SSD:
-
Requires less storage space
-
Provides more storage endurance
-
Ensures better IO capacity
Important
The latest MyRocks storage engine is based on recent RocksDB source code, with minor modifications applied by Percona.
Percona Server for MySQL 8.4.13-13 bundles RocksDB 9.7.4.
The previous bundle was RocksDB 9.3.1.
The intermediate bundles were RocksDB 9.3.2, fb.9.6, and 9.7.1.
RocksDB 9.4.0 to 9.7.4 lists the user-visible RocksDB changes.
Downgrade to MyRocks 9.3.1 lists the downgrade steps.
To check the RocksDB version currently used by MyRocks, run the following command:
$ head storage/rocksdb/rocksdb/HISTORY.md
The first version heading in HISTORY.md is the bundled RocksDB version.
Percona MyRocks Installation Guide
Differences between Percona MyRocks and Facebook MyRocks
MyRocks Information Schema Tables