华东师范大学学报(自然科学版) ›› 2018, Vol. 2018 ›› Issue (5): 107-119.doi: 10.3969/j.issn.1000-5641.2018.05.009

• 高性能数据库管理 • 上一篇    下一篇

新型OLTP系统的技术与实践

贺小龙1, 马海欣2, 何毓锟2, 庞天泽2, 赵琼2   

  1. 1. 华东师范大学 数据科学与工程学院, 上海 200062;
    2. 交通银行 数据中心, 上海 200062
  • 收稿日期:2018-07-10 出版日期:2018-09-25 发布日期:2018-09-26
  • 作者简介:贺小龙,男,博士研究生,研究方向为内存数据库事务处理.E-mail:hxlongecnu@163.com.
  • 基金资助:
    国家863计划(2015AA015307)

Technology and implementation of a new OLTP system

HE Xiao-long1, MA Hai-xin2, HE Yu-kun2, PANG Tian-ze2, ZHAO Qiong2   

  1. 1. School of Data Science and Engineering, East China Normal University, Shanghai 200062, China;
    2. Data center, Bank of Communications, Shanghai 200062, China
  • Received:2018-07-10 Online:2018-09-25 Published:2018-09-26

摘要: 自20世纪70年代以来,硬件已经得到了巨大的发展,高性能服务器大多数配备TB级的容量、数十个物理核.然而,传统的事务型系统仍旧是基于磁盘存储,运行在物理核数较少的硬件环境上,无法有效地、充分地利用新硬件的运算能力.另一方面,随着互联网的发展,应用对事务型系统的性能有了更高的要求.部分应用在极端情况下需要服务百万甚至千万的并发访问,然而传统的数据库系统并不能支撑这些高并发、高吞吐率的应用.因此,在高性能硬件上重新设计与实现事务型数据库系统已成为重要的研究热点.本文将重点介绍在大内存、多核环境下,事务型数据库系统在各个方面最新的研究工作,并结合开源数据库系统OceanBase,综合介绍新型OLTP(on-lineanalytical processing)系统的设计.

关键词: 事务处理, 并发控制, 日志与容错, 多核扩展性

Abstract: Since the 1970s, there has been considerable progress in hardware development; in particular, high-performance servers are now equipped with TB-level memory capacity and dozens of physical cores. Traditional OLTP systems, however, are still based on disk storage and designed for hardware with a small number of physical cores; hence, these systems are unable to effectively and fully exploit the computing power offered by new hardware. With the development of the Internet, applications commonly have high performance requirements for transactional systems. In extreme cases, some applications service millions of concurrent access requests, which traditional database systems cannot satisfy. Hence, the redesign and implementation of a transactional database system on high performance hardware has become an important research topic. In this study, we focused on recent work on transaction database systems on large memory and multi-core environments. We used OceanBase, an open source database developed by Alibaba, as an example to analyze the design of a new OLTP system.

Key words: transaction processing, concurrency control, log and recovery, multi-core scalability

中图分类号: