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.