rocksdb

A library that provides an embeddable, persistent key-value store for fast storage.

GPL-2.0 License

Stars
28K
Committers
977
rocksdb - RocksDB 3.8

Published by igorcanadi almost 10 years ago

Public API changes

  • BackupEngine::NewBackupEngine() was deprecated; please use BackupEngine::Open() from now on.
  • BackupableDB/RestoreBackupableDB have new GarbageCollect() methods, which will clean up files from corrupt and obsolete backups.
  • BackupableDB/RestoreBackupableDB have new GetCorruptedBackups() methods which list corrupt backups.

Cleanup

  • Bunch of code cleanup, some extra warnings turned on (-Wshadow, -Wshorten-64-to-32, -Wnon-virtual-dtor)

New features

  • CompactFiles and EventListener, although they are still in experimental state
  • Full ColumnFamily support in RocksJava.
rocksdb - RocksDB 3.7

Published by igorcanadi almost 10 years ago

  • Introduce SetOptions() API to allow adjusting a subset of options dynamically online
  • Introduce 4 new convenient functions for converting Options from string: GetColumnFamilyOptionsFromMap(), GetColumnFamilyOptionsFromString(), GetDBOptionsFromMap(), GetDBOptionsFromString()
  • Remove WriteBatchWithIndex.Delete() overloads using SliceParts
  • When opening a DB, if options.max_background_compactions is larger than the existing low pri pool of options.env, it will enlarge it. Similarly, options.max_background_flushes is larger than the existing high pri pool of options.env, it will enlarge it.
rocksdb - RocksDB 3.6.2

Published by yhchiang almost 10 years ago

Bug Fixes

  • Fix a corner case that causes MANIFEST corruption when RocksDB cannot open new files during the compaction but before the compaction completes RocksDB becomes able to open new files once again.

New Features

  • Allow dynamic disable / enable RocksDB auto-compaction.

Internal Improvements

  • Use fallocate(FALLOC_FL_PUNCH_HOLE) to release unused blocks at the end of file.
rocksdb - RocksDB 3.6.1

Published by igorcanadi about 10 years ago

New features

  • Support more column families without performance bottlenecks
  • Provide new way of passing options to RocksDB
  • Make some options dynamically changeable
  • Bunch of new Java bindings APIs

Disk format changes

  • If you're using RocksDB on ARM platforms and you're using default bloom filter, there is a disk format change you need to be aware of. There are three steps you need to do when you convert to new release: 1. turn off filter policy, 2. compact the whole database, 3. turn on filter policy

Behavior changes

  • We have refactored our system of stalling writes. Any stall-related statistics' meanings are changed. Instead of per-write stall counts, we now count stalls per-epoch, where epochs are periods between flushes and compactions. You'll find more information in our Tuning Perf Guide.
  • When disableDataSync=true, we no longer sync the MANIFEST file.
  • Add identity_as_first_hash property to CuckooTable. SST file needs to be rebuilt to be opened by reader properly.

Public API changes

  • Change target_file_size_base type to uint64_t from int.
  • Remove allow_thread_local. This feature was proved to be stable, so we are turning it always-on.
rocksdb - RocksDB 3.5.1

Published by igorcanadi about 10 years ago

RocksDB 3.5 including one bug fix that affected deployments that are triggering manual flushes.

rocksdb - RocksDB 3.5 Release

Published by iamjinlei about 10 years ago

New Features

  • Add include/utilities/write_batch_with_index.h, providing a utility class to query data out of WriteBatch when building it.
  • new ReadOptions.total_order_seek to force total order seek when block-based table is built with hash index.

Public API changes

  • The Prefix Extractor used with V2 compaction filters is now passed user key to SliceTransform::Transform instead of unparsed RocksDB key.
  • Move BlockBasedTable related options to BlockBasedTableOptions from Options. Change corresponding JNI interface. Options affected include: no_block_cache, block_cache, block_cache_compressed, block_size, block_size_deviation, block_restart_interval, filter_policy, whole_key_filtering. filter_policy is changed to shared_ptr from a raw pointer.
  • Remove deprecated options: disable_seek_compaction and db_stats_log_interval
  • OptimizeForPointLookup() takes one parameter for block cache size. It now builds hash index, bloom filter, and block cache.
rocksdb - RocksDB 3.4 Release

Published by siying about 10 years ago

New Features

  • Support Multiple DB paths in universal style compactions
  • Add feature of storing plain table index and bloom filter in SST file.
  • CompactRange() will never output compacted files to level 0. This used to be the case when all the compaction input files were at level 0.

Public API changes

  • DBOptions.db_paths now is a vector of a DBPath structure which indicates both of path and target size
  • NewPlainTableFactory instead of bunch of parameters now accepts PlainTableOptions, which is defined in include/rocksdb/table.h
  • Moved include/utilities/.h to include/rocksdb/utilities/.h
  • Statistics APIs now take uint32_t as type instead of Tickers. Also make two access functions getTickerCount and histogramData const
  • Add DB property rocksdb.estimate-num-keys, estimated number of live keys in DB.
  • Add DB::GetIntProperty(), which returns DB properties that are integer as uint64_t.

Other notes

  • Fixed a data race bug that might cause segment fault
  • Fixed a bug of manual compaction.
rocksdb - RocksDB 3.3

Published by yhchiang about 10 years ago

New Features

  • JSON API prototype.
  • Performance improvement on HashLinkList: We addressed performance outlier of HashLinkList caused by skewed bucket by switching data in the bucket from linked list to skip list. Add parameter threshold_use_skiplist in NewHashLinkListRepFactory().
  • More effective on storage space reclaim: RocksDB is now able to reclaim storage space more effectively during the compaction process. This is done by compensating the size of each deletion entry by the 2X average value size, which makes compaction to be triggerred by deletion entries more easily.
  • TimeOut API to write: Now WriteOptions have a variable called timeout_hint_us. With timeout_hint_us set to non-zero, any write associated with this timeout_hint_us may be aborted when it runs longer than the specified timeout_hint_us, and it is guaranteed that any write completes earlier than the specified time-out will not be aborted due to the time-out condition.
  • rate_limiter option: We added an option that controls total throughput of flush and compaction. The throughput is specified in bytes/sec. Flush always has precedence over compaction when available bandwidth is constrained.

Public API changes

  • Removed NewTotalOrderPlainTableFactory because it is not used and implemented semantically incorrect.
rocksdb - RocksDB 3.2 release

Published by iamjinlei over 10 years ago

New Features in RocksDB 3.2:

  • PlainTable now supports a new key encoding: for keys of the same prefix, the prefix is only written once. It can be enabled through encoding_type paramter of NewPlainTableFactory()
  • Add AdaptiveTableFactory, which is used to convert from a DB of PlainTable to BlockBasedTabe, or vise versa. It can be created using NewAdaptiveTableFactory()

Public API changes

  • We removed seek compaction as a concept from RocksDB because:
  • Add two paramters to NewHashLinkListRepFactory() for logging on too many entries in a hash bucket when flushing.
  • Added new option BlockBasedTableOptions::hash_index_allow_collision. When enabled, prefix hash index for block-based table will not store prefix and allow hash collision, reducing memory consumption.

All the commits: https://github.com/facebook/rocksdb/compare/3.1.fb...3.2.fb

rocksdb - RocksDB 3.1

Published by igorcanadi over 10 years ago

New features in RocksDB 3.1:

  • Materialize hash index
  • FIFO Compaction

Change LOG: https://github.com/facebook/rocksdb/blob/3.1.fb/HISTORY.md
All the commits: https://github.com/facebook/rocksdb/compare/3.0.fb...3.1.fb

rocksdb - RocksDB 2.8

Published by igorcanadi over 10 years ago

RocksDB 2.8 release is mostly focused on improving performance for in-memory use cases

rocksdb - RocksDB 3.0

Published by igorcanadi over 10 years ago

New features in RocksDB 3.0:

Package Rankings
Top 1.19% on Repo1.maven.org
Top 4.85% on Spack.io
Top 3.59% on Proxy.golang.org
Top 37.05% on Pypi.org
Top 11.69% on Conda-forge.org
Badges
Extracted from project README
CircleCI Status