MyRocks Data Compression
Explore the data compression options available in MyRocks, including different algorithms (Zstd, LZ4, etc.) and how to configure them per column family.
Supported Compression Algorithms
SHOW variables LIKE 'rocksdb%compress%';
+-------------------------------------+------------------------------------+
| Variable_name | Value |
+-------------------------------------+------------------------------------+
| rocksdb_supported_compression_types | Snappy,Zlib,LZ4,LZ4HC,ZSTDNotFinal |
+-------------------------------------+------------------------------------+2019/04/12-14:08:23.869919 7f839188b540 Compression algorithms supported:
2019/04/12-14:08:23.869920 7f839188b540 kZSTDNotFinalCompression supported: 1
2019/04/12-14:08:23.869922 7f839188b540 kZSTD supported: 1
2019/04/12-14:08:23.869923 7f839188b540 kXpressCompression supported: 0
2019/04/12-14:08:23.869924 7f839188b540 kLZ4HCCompression supported: 1
2019/04/12-14:08:23.869924 7f839188b540 kLZ4Compression supported: 1
2019/04/12-14:08:23.869925 7f839188b540 kBZip2Compression supported: 0
2019/04/12-14:08:23.869926 7f839188b540 kZlibCompression supported: 1
2019/04/12-14:08:23.869927 7f839188b540 kSnappyCompression supported: 1Compression Settings
Checking Compression Settings
Modifying Compression Settings
Caveat: Syntax Errors
Checking How the Data is Compressed
Last updated
Was this helpful?

