RocksDB v4.8.0 Release Notes

Release Date: 2016-05-02 // over 5 years ago
  • Public API Change

    • Allow preset compression dictionary for improved compression of block-based tables. This is supported for zlib, zstd, and lz4. The compression dictionary's size is configurable via CompressionOptions::max_dict_bytes.
    • โœ‚ Delete deprecated classes for creating backups (BackupableDB) and restoring from backups (RestoreBackupableDB). Now, BackupEngine should be used for creating backups, and BackupEngineReadOnly should be used for restorations. For more details, see https://github.com/facebook/rocksdb/wiki/How-to-backup-RocksDB%3F
    • ๐Ÿ”ฆ Expose estimate of per-level compression ratio via DB property: "rocksdb.compression-ratio-at-levelN".
    • โž• Added EventListener::OnTableFileCreationStarted. EventListener::OnTableFileCreated will be called on failure case. User can check creation status via TableFileCreationInfo::status.

    ๐Ÿ†• New Features

    • โž• Add ReadOptions::readahead_size. If non-zero, NewIterator will create a new table reader which performs reads of the given size.