红联Linux门户
Linux帮助

RocksDB 3.13发布,key-value存储系统

发布时间:2015-08-28 09:14:13来源:红联作者:empast
RocksDB 3.13 发布,更新内容如下:

新特性

RollbackToSavePoint() in WriteBatch/WriteBatchWithIndex

Add NewCompactOnDeletionCollectorFactory() in utilities/table_properties_collectors, which allows rocksdb to mark a SST file as need-compaction when it observes at least D deletion entries in any N consecutive entries in that SST file. Note that this feature depends on an experimental NeedCompact() API --- the result of this API will not persist after DB restart.

Add DBOptions::delete_scheduler. Use NewDeleteScheduler() in include/rocksdb/delete_scheduler.h to create a DeleteScheduler that can be shared among multiple RocksDB instances to control the file deletion rate of SST files that exist in the first db_path.

公共 API 更新

Deprecated WriteOptions::timeout_hint_us. We no longer support write timeout. If you really need this option, talk to us and we might consider returning it.

Deprecated purge_redundant_kvs_while_flush option.

Removed BackupEngine::NewBackupEngine() and NewReadOnlyBackupEngine() that were deprecated in RocksDB 3.8. Please use BackupEngine::Open() instead.

Deprecated Compaction Filter V2. We are not aware of any existing use-cases. If you use this filter, your compile will break with RocksDB 3.13. Please let us know if you use it and we'll put it back in RocksDB 3.14.

Env::FileExists now returns a Status instead of a boolean

Add statistics::getHistogramString() to print detailed distribution of a histogram metric.

Add DBOptions::skip_stats_update_on_db_open. When it is on, DB::Open() will run faster as it skips the random reads required for loading necessary stats from SST files to optimize compaction.

RocksDB 是一个来自 facebook 的可嵌入式的支持持久化的 key-value 存储系统,也可作为 C/S 模式下的存储数据库,但主要目的还是嵌入式。RocksDB 基于 LevelDB 构建。

软件详情:https://github.com/facebook/rocksdb/wiki/Performance-Benchmarks

下载地址:https://github.com/facebook/rocksdb/releases/tag/rocksdb-3.13

来自:开源中国社区
文章评论

共有 0 条评论