• 基因科技走入中国民生 坚持自主创新 2018-05-27
  • 文在寅政府首次就“文化界黑名單”向國民道歉 2018-05-27
  • 【美丽中国长江行】常德桃源:做好水文章,答对生态卷 2018-05-26
  • 农业农村部“百乡万户”驻村调研:兴农业 补短板 2018-05-26
  • 女人更年期后,要不要避孕?如何避? 2018-05-25
  • 债市风险有多大?华商系债基今年跌幅已超20% 2018-05-25
  • 供电公司采取小额诉讼手段维权 3个月不交电费将收到律师函 2018-05-25
  • 智能公交让全民体验智慧出行 2018-05-25
  • 杭州男子钓起16斤重“猛兽”,专家一看:可别随意丢弃! 2018-05-25
  • 望川十年,看见中国社会的成长 2018-05-25
  • 哈尔滨市“拔钉子”严查露天烧烤 21家冒烟摊位将被依法处罚 2018-05-24
  • 新濠天地娱乐城官网 2018-05-24
  • “澳门368足球博彩公司”足球比分及时直播李国英主持召开省深化医药卫生体制改革领导小组会议 2018-05-23
  • 马来大选92岁前总理改写政治版图 60年来政党首轮替 2018-05-23
  • 科技创新技能挑战赛聚焦冬奥主题 2018-05-23
  • 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应用需要注意的安全问题。