当前位置:网站首页>HiEngine:可媲美本地的云原生内存数据库引擎
HiEngine:可媲美本地的云原生内存数据库引擎
2022-07-05 15:47:00 【InfoQ】
导读
摘要
研究背景
1. 以内存为中心的计算架构
2. OLTP数据库生态


3. 华为云基础设施

- 硬件趋势和挑战:1)存算分离架构中引入持久内存,尤其在计算侧配置持久内存能够提供高速的事务日志缓存等功能,但是这与计算节点的Stateless特性相违背。2)基于ARM的多核处理器具有更好的性价比和理想的能耗,但是也带来Cross-NUMA的多核扩展挑战。
- SRSS:作为华为云新一代分布式存储服务,它使用RDMA建立在现代SSD/NVM硬件之上 ,采用日志结构型的追加存储。
- SRSS在云中提供了必要的持久性内存原语。SRSS支持内存语义和计算端持久存储,定制化的mmapMMAP内核驱动程序API支持从本地或远程持久存储层一致性的读取数据,SRSS通过内存映射提供除了打开、/关闭、/追加、/读取等接口外,还提供内存语义操作。数据在计算侧和存储侧三副本存储,采用具有低延迟存储网络。这允许计算节点可以在计算侧本地持久化和存储侧远端持久化,似的存储层之间关键路径上没有往返网络开销。
HiEngine架构

1. 以日志为中心的Log-centric MVCC存储引擎概览

2. Tuple-level内存布局

3. 事务模型

4. PIA/行映射

- 行更新操作不会改变索引的内部结构
- 二级索引的“键”=“用户自定义键+ RID”
- 检查点变得轻量级,因为只需要持久化PIA而不是真实数据
- 恢复只会重新构建PIA,而不是读取元组版本
5. 高可靠高扩展的Redo-Only Logging

- 追加写和基于mmapMMAP的读
- 更新后的版本包含一条记录的完整内容
- 使用SRSS的追加接口将日志记录写入段/ PLOGPlog
- 数据成功三副本持久化到计算侧持久性内存后提交事务
6. Dataless的检查点和并行恢复

7. 索引持久化和检查点

部署方式

系统评测




总结
边栏推荐
- 自己要有自己的坚持
- 公司自用的国产API管理神器
- [Netease Yunxin] research and practice of super-resolution technology in the field of real-time audio and video
- Mistakes made when writing unit tests
- 效果编辑器新版上线!3D渲染、加标注、设置动画,这次一个编辑器就够了
- 一文带你吃透js处理树状结构数据的增删改查
- 我们为什么要学习数学建模?
- 【毕业季】作为一名大二计科在校生,我有话想说
- vant popup+其他组件的组合使用,及避坑指南
- 19.[STM32]HC_ SR04 ultrasonic ranging_ Timer mode (OLED display)
猜你喜欢

五种常见的咨询公司谈判策略以及如何维护自己的利益

新春限定丨“牛年忘烦”礼包等你来领~
![17.[STM32]仅用三根线带你驱动LCD1602液晶](/img/c6/b56c54da2553a451b526179f8b5867.png)
17.[STM32]仅用三根线带你驱动LCD1602液晶

Subclasses and superclasses of abstract classes

Research and development efficiency measurement index composition and efficiency measurement methodology

Convert obj set to entity set

迁移/home分区

The difference between abstract classes and interfaces
![[Netease Yunxin] research and practice of super-resolution technology in the field of real-time audio and video](/img/69/3aedcdafb2b4e83087dc1ce593dc38.png)
[Netease Yunxin] research and practice of super-resolution technology in the field of real-time audio and video

vlunhub- BoredHackerBlog Moriarty Corp
随机推荐
List uses stream flow to add according to the number of certain attributes of the element
践行自主可控3.0,真正开创中国人自己的开源事业
研发效能度量指标构成及效能度量方法论
Transaction rollback exception
[graduation season] as a sophomore majoring in planning, I have something to say
求解汉诺塔问题【修改版】
Batch update in the project
Six common transaction solutions, you sing, I come on stage (no best, only better)
Codasip adds verify safe startup function to risc-v processor series
一文带你吃透js处理树状结构数据的增删改查
Verilog realizes the calculation of the maximum common divisor and the minimum common multiple
超分辨率技术在实时音视频领域的研究与实践
The list set is summed up according to a certain attribute of the object, the maximum value, etc
Find the root of the following equation by chord cutting method, f (x) =x^3-5x^2+16x-80=0
项目中批量update
OceanBase社区版之OBD方式部署方式本地安装
Boost the development of digital economy and consolidate the base of digital talents - the digital talent competition was successfully held in Kunming
Intel 13th generation Raptor Lake processor information exposure: more cores, larger cache
16. [stm32] starting from the principle, I will show you the DS18B20 temperature sensor - four digit digital tube displays the temperature
项目sql中批量update的时候参数类型设置错误