分布式日志结构数据库系统的主键维护方法研究  被引量:1

Primary key management in distributed log-structured database systems

在线阅读下载全文

作  者:黄建伟 张召 钱卫宁 HUANG Jian-wei;ZHANG Zhao;QIAN Wei-ning(School of Data Science and Engineering,East China Normal University,Shanghai 200062,China)

机构地区:[1]华东师范大学数据科学与工程学院,上海200062

出  处:《华东师范大学学报(自然科学版)》2018年第5期79-90,119,共13页Journal of East China Normal University(Natural Science)

基  金:国家自然科学基金(61432006;61332006;U1401256);国家863计划项目(2016YFB1000905;2018YFB1003400)

摘  要:目前在电子商务、社交网络、移动互联网等各类应用中存在大量的写密集型负载(例如,电子商务的秒杀活动、社交用户生成的数据流等),这使得基于日志结构的存储成为现代数据库系统中普遍的后端存储方式.而基于日志结构的数据存储方式一般只支持追加操作,高效的主键维护(主键的生成和更新)可以很好地提升数据库追加操作的性能.此外,在分布式和并发的环境中实现主键维护功能还要面临主键唯一性约束、事务性维护、高处理性能的挑战.因此,本文针对日志结构数据存储的特点,研究了如何在分布式日志结构数据库系统中实现高效的主键维护功能.首先,我们提出了两类先读后写操作的并发控制模型;其次,我们应用这两类模型设计了几种高效的主键维护算法;最后,我们在自己的基于日志结构的分布式数据库系统CEDAR中实现了本文提出的主键维护方法,并通过一系列实验验证了所提方法的高效性.At present, there are a large number of writing-intensive loads (e.g., second-killing of e-commerce, social user-generated data streams) in many applications such as e-commerce, social networking, mobile Internet and so on, which makes log-structured storage a popular technique for back-end storage of modern database systems. However, log-structured storage only supports the append operation, efficient primary key management (primary key generation and update) functions can improve the performance of database append operations. In the distributed and concurrent environment, implementing primary key maintenance faces challenges, such as primary key unique constraints, trans-actional maintenance, and high-performance requirements. In light of the characteristicsof log-structured storage, this paper explores how to implement efficient primary key management in distributed log-structured database systems. First, we propose two kinds of concurrency control models for WAR (Write After Read) operations; second, we adopt these two models to design efficient primary key management algorithms; and finally, we integrate these algorithms into our distributed log-structured database, CEDAR, and verify the effectiveness of the proposed methods by a series of experiments.

关 键 词:日志结构 分布式数据库 主键维护 并发环境 

分 类 号:TP392[自动化与计算机技术—计算机应用技术]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象