• 3名中国游客在瑞典遭粗暴对待 外交部敦促瑞方重视中方关切 2018-10-21
  • 国足20-0大胜!女梅西6球,女C罗轰5球,男足才赢19-0 2018-10-21
  • 消协提醒:春节预订酒店有技巧 预付卡消费需谨慎 2018-10-20
  • 陈敏尔唐良智会见传化集团董事长徐冠巨 2018-10-20
  • 扫黑除恶利剑高悬 前8月榕查处违法采砂案件93起 2018-10-20
  • 不能让所谓的收视率愚弄观众 2018-10-18
  • 新希望!中超19岁新星半年增重十斤 曾戏耍恒大两国脚 2018-10-17
  • 迎丰收 晒丰收 庆丰收 2018-10-15
  • “捂脸表情”被注册成商标?申请人不认为商标侵权 2018-10-15
  • 战巡南海、绕岛巡航…空军有“飞出去”的主心骨 2018-10-14
  • 幼儿园要求家长写一万字读后感:不能这样玩家长|幼儿园|家长-教育时讯 2018-10-13
  • 中国故宫文物展在希腊举行 2018-10-13
  • 車·晓 第26期 車企官方降价真相幾何? 2018-10-12
  • 宝沃总裁杨嵩:曾和奔驰宝马同水平 已不能同日而语 2018-10-11
  • 新时代党员干部要有更大的担当和作为 2018-10-10
  • 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应用需要注意的安全问题。