开启辅助访问 切换到宽版

精易论坛

 找回密码
 注册

QQ登录

只需一步,快速开始

用微信号发送消息登录论坛

新人指南 邀请好友注册 - 我关注人的新帖 教你赚取精币 - 每日签到


求职/招聘- 论坛接单- 开发者大厅

论坛版规 总版规 - 建议/投诉 - 应聘版主 - 精华帖总集 积分说明 - 禁言标准 - 有奖举报

楼主: Buei
收起左侧

[易源码分享] 基于Facebook开源的 rocksdb 分布式数据库模块 [迭代]

    [复制链接]
结帖率:100% (1/1)
 楼主| 发表于 2023-11-28 15:27:25 | 显示全部楼层   广东省深圳市
本帖最后由 Buei 于 2023-11-28 22:26 编辑



更新日志  2023/11/28 15:00  - V1.6 [rocksdb内核版本:8.8.1]

增加 设置  预读取缓存大小 [默认未开启
增加 设置  可见性等级  
增加 设置  日志备份次数 [LOG.old 开头的文件每次启动数据库时备份次数]
增加 自定义日志目录
修复 当value为空时写入失败
...



以下为Facebook官方更新日志

8.8.1 (2023-11-17)Bug fixes
  • Make the cache memory reservation accounting in Tiered cache (primary and compressed secondary cache) more accurate to avoid over/under charging the secondary cache.
  • Allow increasing the compressed_secondary_ratio in the Tiered cache after setting it to 0 to disable.
8.8.0 (2023-10-23)New Features
  • Introduce AttributeGroup by adding the first AttributeGroup support API, MultiGetEntity(). Through the use of Column Families, AttributeGroup enables users to logically group wide-column entities. More APIs to support AttributeGroup will come soon, including GetEntity, PutEntity, and others.
  • Added new tickers rocksdb.fifo.{max.size|ttl}.compactions to count FIFO compactions that drop files for different reasons
  • Add an experimental offpeak duration awareness by setting DBOptions::daily_offpeak_time_utc in "HH:mm-HH:mm" format. This information will be used for resource optimization in the future
  • Users can now change the max bytes granted in a single refill period (i.e, burst) during runtime by SetSingleBurstBytes() for RocksDB rate limiter
Public API Changes
  • The default value of DBOptions::fail_if_options_file_error changed from false to true. Operations that set in-memory options (e.g., DB::Open*(), DB::SetOptions(), DB::CreateColumnFamily*(), and DB::DropColumnFamily()) but fail to persist the change will now return a non-OK Status by default.
  • Add new Cache APIs GetSecondaryCacheCapacity() and GetSecondaryCachePinnedUsage() to return the configured capacity, and cache reservation charged to the secondary cache.
Behavior Changes
  • For non direct IO, eliminate the file system prefetching attempt for compaction read when Options::compaction_readahead_size is 0
  • During a write stop, writes now block on in-progress recovery attempts
  • Deleting stale files upon recovery are delegated to SstFileManger if available so they can be rate limited.
Bug Fixes
  • Fix a bug in auto_readahead_size where first_internal_key of index blocks wasn't copied properly resulting in corruption error when first_internal_key was used for comparison.
  • Fixed a bug where compaction read under non direct IO still falls back to RocksDB internal prefetching after file system's prefetching returns non-OK status other than Status::NotSupported()
  • Add bounds check in WBWIIteratorImpl and make BaseDeltaIterator, WriteUnpreparedTxn and WritePreparedTxn respect the upper bound and lower bound in ReadOption. See 11680.
  • Fixed the handling of wide-column base values in the max_successive_merges logic.
  • Fixed a rare race bug involving a concurrent combination of Create/DropColumnFamily and/or Set(DB)Options that could lead to inconsistency between (a) the DB's reported options state, (b) the DB options in effect, and (c) the latest persisted OPTIONS file.
  • Fixed a possible underflow when computing the compressed secondary cache share of memory reservations while updating the compressed secondary to total block cache ratio.
Performance Improvements
  • Improved the I/O efficiency of DB::Open a new DB with create_missing_column_families=true and many column families.



  • https://wwqr.lanzouw.com/b09ivrlpc
  • 密码:7l4b



评分

参与人数 1好评 +1 精币 +3 收起 理由
文西哥 + 1 + 3 支持开源~!感谢分享

查看全部评分

回复 支持 1 反对 0

使用道具 举报

结帖率:0% (0/3)

签到天数: 20 天

发表于 2023-11-27 17:19:20 | 显示全部楼层   辽宁省大连市
感谢分享,很给力!~
回复 支持 反对

使用道具 举报

发表于 2023-11-14 15:26:29 | 显示全部楼层   山东省济南市
感谢分享,很给力
回复 支持 反对

使用道具 举报

发表于 2023-11-5 00:08:03 | 显示全部楼层   山东省济南市
感谢分享,很给力!
回复 支持 反对

使用道具 举报

签到天数: 8 天

发表于 2023-11-3 15:44:27 | 显示全部楼层   福建省泉州市
非常好!!!
回复 支持 反对

使用道具 举报

签到天数: 4 天

发表于 2023-10-31 16:04:38 | 显示全部楼层   江苏省南京市
666666666666666666666666666666666666666
回复 支持 反对

使用道具 举报

签到天数: 5 天

发表于 2023-10-29 11:51:21 | 显示全部楼层   江西省南昌市
牛逼,收藏了
回复 支持 反对

使用道具 举报

签到天数: 9 天

发表于 2023-10-27 09:34:40 | 显示全部楼层   河南省郑州市
66666666666666666666666666666666666666666
回复 支持 反对

使用道具 举报

发表于 2023-10-23 08:54:16 高大上手机用户 | 显示全部楼层   陕西省西安市
支持支持支持支持支持
回复 支持 反对

使用道具 举报

结帖率:90% (18/20)

签到天数: 10 天

发表于 2023-10-20 14:20:32 | 显示全部楼层   安徽省芜湖市
感谢分享,很给力!~
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则 致发广告者

发布主题 收藏帖子 返回列表

sitemap| 易语言源码| 易语言教程| 易语言论坛| 诚聘英才| 易语言模块| 手机版| 广告投放| 精易论坛
拒绝任何人以任何形式在本论坛发表与中华人民共和国法律相抵触的言论,本站内容均为会员发表,并不代表精易立场!
论坛帖子内容仅用于技术交流学习和研究的目的,严禁用于非法目的,否则造成一切后果自负!如帖子内容侵害到你的权益,请联系我们!
防范网络诈骗,远离网络犯罪 违法和不良信息举报电话0663-3422125,QQ: 800073686,邮箱:800073686@b.qq.com
Powered by Discuz! X3.4 揭阳市揭东区精易科技有限公司 ( 粤ICP备12094385号-1) 粤公网安备 44522102000125 增值电信业务经营许可证 粤B2-20192173

快速回复 返回顶部 返回列表