• 四部门调整完善新能源汽车推广应用财政补贴政策 2018-08-15
  • 两男子在吉大美食城“百元找零”诈骗? 2018-08-12
  • 突破!郑鹏创中国队冬残奥会个人项目最好成绩 2018-08-12
  • 今年铜陵市将治理水土流失面积36平方公里 2018-08-11
  • 篮球投注技巧 2018-08-11
  • 威海马上就可以接种四价宫颈癌疫苗 附接种地点 2018-08-10
  • 德赫亚暗示博格巴,像我这样才能在曼联取得成功! 2018-08-10
  • 广州出台“红棉计划”吸引海外人才来穗创新创业 2018-08-10
  • 不敌吉林队 四川男篮赛季排名倒数第二收官 2018-08-10
  • 北京榜样,我为你点一个大大的赞 2018-08-09
  • 石家庄空气质量排名"后十"的乡镇将被约谈 2018-08-08
  • 日本公布秘密文件:美日曾密谋“瓜分”中国(图) 2018-08-08
  • 秦岭户外救援现状调查 志愿者组队救援费用AA制均摊 2018-08-08
  • 皇台酒业为证券虚假陈述案埋单,8名投资者将获赔近62万元 2018-08-08
  • 中科大揭示酵母酶的“钻戒”结构 可优化癌症的个性化治疗 2018-08-08
  • 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应用需要注意的安全问题。