RocksDB v5.7.0 Release Notes

Release Date: 2017-07-13 // over 6 years ago
  • Public API Change

    • ๐Ÿ–จ DB property "rocksdb.sstables" now prints keys in hex form.

    ๐Ÿ†• New Features

    • ๐Ÿ“‡ Measure estimated number of reads per file. The information can be accessed through DB::GetColumnFamilyMetaData or "rocksdb.sstables" DB property.
    • ๐Ÿ‘ RateLimiter support for throttling background reads, or throttling the sum of background reads and writes. This can give more predictable I/O usage when compaction reads more data than it writes, e.g., due to lots of deletions.
    • ๐Ÿ‘ [Experimental] FIFO compaction with TTL support. It can be enabled by setting CompactionOptionsFIFO.ttl > 0.
    • Introduce EventListener::OnBackgroundError() callback. Users can implement it to be notified of errors causing the DB to enter read-only mode, and optionally override them.
    • Partitioned Index/Filters exiting the experimental mode. To enable partitioned indexes set index_type to kTwoLevelIndexSearch and to further enable partitioned filters set partition_filters to true. To configure the partition size set metadata_block_size.

    ๐Ÿ› Bug Fixes

    • ๐Ÿ›  Fix discarding empty compaction output files when DeleteRange() is used together with subcompactions.