暂无图片
暂无图片
暂无图片
暂无图片
暂无图片
OceanBase分布式关系数据库架构与技术.pdf
340
15页
1次
2024-02-20
100墨值下载
OceanBase分布式关系数据库架构与技术
阳振坤 杨传辉 韩富晟 王国平 杨志丰 成肖君
北京奥星贝斯科技有限公司 北京 100102
zhengxiang@oceanbase.com
Infrastructure and Technology of OceanBase Distributed Relational Database
YangZhenkun,YangChuanhui,HanFusheng,WangGuoping,YangZhifeng,andChengXiaojun
Beijing OceanBase Technology Co., Ltd., Beijing 100102
Abstract Relational database is the key information infrastructure of today's society. The Internet and digitization
have brought high concurrency and massive data. Due to their centralized architectures, the processing power and
storagecapacityoftraditionalrelationaldatabasesarestretched.OceanBaseisadistributedrelationaldatabasebased
on commodity PC servers. It achieves online horizontal scalability, automatic lossless disaster recovery from data
center failure and high-ratio data compression. It has been used in finance, government affairs, telecommunication
systems, Internet, etc. This paper introduces the infrastructure and some key technologies of OceanBase, including
distributed transaction processing, LSM-tree-based storage system and distributed SQL optimizer. In addition, this
paperexplainsindetailthehighavailabilityanddataconsistencyofOceanBase,whichcanensurethatRPOis0and
RTOislessthan8seconds.Atthesametime,italsointroducesOceanBase’smulti-tenantmechanism,whichadoptsa
nativemulti-tenantdesignwithintheclustertoimplementmultipleindependentdatabaseservicesinthecluster.Based
ontheSysbenchandTPC-Hevaluationbenchmarks,comparativeexperimentalresultsshowthat1)inastand-alone
mode,theperformanceofOceanBaseis1.27timestoover2timesthatofMySQL;2)inasingle-mastermode,the
performanceofOceanBaseis1.25timestonearly2timesthatofMySQL;3)Inamulti-mastermode,theperformance
ofOceanBaseis1.09to3.1timesthatofMySQL,andforcomplexOLAPqueries,theperformanceofOceanBaseis6
to327timesthatofMySQL.
Key words relationaldatabasedistributedtransactionLSM-tree-basedstoragedistributedSQLoptimizermulti-
tenant
摘 要 关系数据库是当今社会的关键信息基础设互联网和数字化带来了高并发和海量数据传统关
数据均为式架理能存储量都见肘.OceanBase布式系数基于PC
服务器不仅实现了在线水平伸缩还实现了机房故障自动无损容灾以及高倍率数据压缩等已经应用于
金融政务通信和互联网等行业.介绍OceanBase分布式关系数据库的系统架构和关键技术包括分布
事务LSM-tree的存统以分布SQL化器.详细OceanBase的高
和数据一致性RPO0RTO8.介绍OceanBase据库多租户机制即采用了集群内
原生多租户设计在集群内实现多个互相独立的数据库服务.SysbenchTPC-H评测基准对比实验
1 OceanBase MySQL 1.27 2 2
OceanBase的性MySQL1.2523在多主模式下OceanBase性能MySQL1.09
3.1对于OLAP复杂查询OceanBase的性能MySQL6327.
收稿日期2023-10-19修回日期2023-12-14
通信作者阳振坤zhengxiang@oceanbase.com
计算机研究与发展
DOI10.7544/issn1000-1239.202330835
JournalofComputerResearchandDevelopment
xx):xx−xxxxxx
关键词 关系数据库分布式事务LSM-tree存储分布SQL优化器多租户
中图法分类号 TP311.13
1970Edgar.F.Codd博士明关模型
[1]
以及
SQL的出系数库系1980
.
(ACID)属性关系数据库的技术门槛非常当前
广使
离线(scale-up)以在线
(scale-out)处理能力和容量有限.
1990年代随着互联网的发展和普电子
代表线产生线
访
分表几乎成为了唯一可行的手段然而种削足
履的办法意味着应用系统的重构效率低性能的
跨库访问跨库事务外键局唯一约局索
引等只能被束之高阁数据分析无法直接进
管理的成本显著增加.
线
.
关系数据更加复杂在高可用据一事务
性能等方面面临更大的技术挑战.
2019OceanBase
[2-3]
(TPC)TPC-C
[4]
Oracle9
.2021OceanBaseTPC-H
基准
[5]
并登能榜(@30,000GB).OceanBase
是迄今为止唯一获TPC-CTPC-H能榜首
数据库.
1 OceanBase系统架构
为一布式据库OceanBase
zone组成通常1-5zone1是一3-zone
集群.zone1OceanBase
OBServer.OBServerSQL引擎事务引擎和存
.zone
zoneOBServer
据分zoneOBServer
.zone
……
OBProxy
OBProxy
OBProxy
Proxy layer
Application layer
……
Data service
layer
User requests
Execution results
SQL engine
Transaction
processing engine
Transaction
processing engine
Transaction
processing engine
Transaction
processing engine
Transaction
processing engine
Storage engine
P
11
P
12
P
21
P
22
OBServer-1
Zone 1
SQL engine
Storage engine
OBServer-2
SQL engine
Storage engine
P
m1
P
m2
OBServer-m
SQL engine
Storage engine
OBServer-1
Zone 2
SQL engine
Storage engine
OBServer-2
SQL engine
Transaction
processing engine
Storage engine
OBServer-m
Zone 3
...
...
...
...
P
11
P
12
P
21
P
22
P
m1
P
m2
...
...
...
Transaction
processing engine
Transaction
processing engine
SQL engine
Storage engine
OBServer-1
SQL engine
Storage engine
OBServer-2
SQL engine
Transaction
processing engine
Storage engine
OBServer-m
P
11
P
12
P
21
P
22
P
m1
P
m2
...
...
...
...
...
Fig.1 ThesystemarchitectureofOceanBase
1 OceanBase系统架构
2
计算机研究与发展 xxxxxx
of 15
100墨值下载
【版权声明】本文为墨天轮用户原创内容,转载时必须标注文档的来源(墨天轮),文档链接,文档作者等基本信息,否则作者和墨天轮有权追究责任。如果您发现墨天轮中有涉嫌抄袭或者侵权的内容,欢迎发送邮件至:contact@modb.pro进行举报,并提供相关证据,一经查实,墨天轮将立刻删除相关内容。

评论

关注
最新上传
暂无内容,敬请期待...
下载排行榜
Top250 周榜 月榜