Skip to content
Snippets Groups Projects
options.rst 29.62 KiB

Options creation

Options object

CompressionTypes

BytewiseComparator

BloomFilterPolicy

LRUCache

TableFactories

Currently RocksDB supports two types of tables: plain table and block-based table. Instances of this classes can assigned to :py:attr:`rocksdb.Options.table_factory`

  • Block-based table: This is the default table type that RocksDB inherited from LevelDB. It was designed for storing data in hard disk or flash device.
  • Plain table: It is one of RocksDB's SST file format optimized for low query latency on pure-memory or really low-latency media.
Tutorial of rocksdb table formats is available here:
https://github.com/facebook/rocksdb/wiki/A-Tutorial-of-RocksDB-SST-formats