• 人民网驻阿尔及利亚记者报道集 2018-02-19
  • 党务问答:党组与党委有何区别? 2018-02-19
  • MINI车联网服务3月起升级至4G网络 增加新功能 2018-02-18
  • 以色列警方:已有足够的证据可以用于起诉以总理 2018-02-18
  • 冬奥会短节目第四 金博洋:伤病令我更强大 2018-02-18
  • 天津市北辰区委书记冯卫华:强化政治担当 把主体责任落实落细 2018-02-17
  • 正月初一客流继续回落 全国铁路预计发送旅客389万人次 2018-02-17
  • 送别余光中:诗人虽远行,乡愁永流传 2018-02-17
  • 集团原董事长违纪被查 人员伤亡事故频发 湖北宜化:去年亏损额超过公司市值 2018-02-17
  • 图片故事:“六个人”的火车站 2018-02-16
  • 【马来西亚房产】雅诗阁之星十年包租可续租! ——凤凰网房产马来西亚 2018-02-16
  • 大量顺差在中国,多数利润归美国 2018-02-16
  • 河北今年将削减煤炭消费500万吨 2018-02-16
  • 开创生态文明新时代 绘出美丽中国新图景 2018-02-15
  • 以色列警方:已有足够的证据可以用于起诉以总理 2018-02-15
  • RocksDB 5.9.2 发布,可持久化 key-value 存储系统

    栏目: 软件资讯 发布于: 2017-12-20 10:20:02

    RocksDB 5.9.2 已发布,该版本的更新包括 Public API 的修改、新增特性和修复 Bug。

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

    主要变化

    Public API 变更

    • BackupableDBOptions::max_valid_backups_to_open == 0?now means no backups will be opened during BackupEngine initialization. Previously this condition disabled limiting backups opened.

    • DBOptions::preserve_deletes?is a new option that allows one to specify that DB should not drop tombstones for regular deletes if they have sequence number larger than what was set by the new API call?DB::SetPreserveDeletesSequenceNumber(SequenceNumber seqnum). Disabled by default.

    • API call?DB::SetPreserveDeletesSequenceNumber(SequenceNumber seqnum)?was added, users who wish to preserve deletes are expected to periodically call this function to advance the cutoff seqnum (all deletes made before this seqnum can be dropped by DB). It's user responsibility to figure out how to advance the seqnum in the way so the tombstones are kept for the desired period of time, yet are eventually processed in time and don't eat up too much space.

    新特性

    • DBOptions::writable_file_max_buffer_size?can now be changed dynamically.

    • DBOptions::bytes_per_sync?and?DBOptions::wal_bytes_per_sync?can now be changed dynamically,?DBOptions::wal_bytes_per_sync?will flush all memtables and switch to a new WAL file.

    • Support dynamic adjustment of rate limit according to demand for background I/O. It can be enabled by passing?true?to the?auto_tuned?parameter in?NewGenericRateLimiter(). The value passed as?rate_bytes_per_sec?will still be respected as an upper-bound.

    • Support dynamically changing?ColumnFamilyOptions::compaction_options_fifo.

    • Add a new db property "rocksdb.estimate-oldest-key-time" to return oldest data timestamp. The property is available only for FIFO compaction with compaction_options_fifo.allow_compaction = false.

    Bug 修复

    • Fix a potential data inconsistency issue during point-in-time recovery.?DB:Open()?will abort if column family inconsistency is found during PIT recovery.

    • Fix possible metadata corruption in databases using?DeleteRange().

    • Fix IOError on WAL write doesn't propagate to write group follower

    • Fix calculating filter partition target size

    • Fix possible corruption to LSM structure when?DeleteFilesInRange()?deletes a subset of files spanned by a?DeleteRange()?marker.

    源码下载


    【声明】文章转载自:开源中国社区 [http://www.rocksun.cn]

    本站文章除注明转载外,均为本站原创或编译?;队魏涡问降淖?,但请务必注明出处。
    转载请注明:文章转载自 七星彩票平台
    本文标题:RocksDB 5.9.2 发布,可持久化 key-value 存储系统
    IT技术书籍推荐:
    计算机科学丛书:Php和Mysql Web开发(原书第4版)
    计算机科学丛书:Php和Mysql Web开发(原书第4版)
    Luke Welling (作者), Laura Thomson (作者), 武欣 (译者)
    《计算机科学丛书:Php和Mysql Web开发(原书第4版)》将PHP开发与MySQL应用相结合,分别对PHP和MySQL做了深入浅出的分析,不仅介绍PHP和MySQL的一般概念,而且对PHP和MySQL的Web应用做了较全面的阐述,并包括几个经典且实用的例子?!都扑慊蒲Т允?Php和Mysql Web开发(原书第4版)》是第4版,经过了全面的更新、重写和扩展,包括PHP 5.3最新改进的特性(例如,更好的错误和异常处理),MySQL的存储过程和存储引擎,Ajax技术与Web 2.0以及Web应用需要注意的安全问题。