论文标题
参与者关系数据库系统中交易内平行的评估
An Evaluation of Intra-Transaction Parallelism in Actor-Relational Database Systems
论文作者
论文摘要
在过去的十年中,我们目睹了服务器硬件的主要记忆能力和多核并行性的戏剧性演变。为了利用这种硬件潜力,多核内存中OLTP数据库系统已得到广泛的重新设计。该重新设计的核心目标一直在扩大OLTP交易的顺序执行,其中探索了替代数据库体系结构,以消除阻碍交易间并行性充分体现的系统瓶颈和开销。然而,这项工作在很大程度上忽略了交易内的平行性。我们猜想这种情况是因为有时认为OLTP工作负载的交易内并行性太少了,即使可以使用这种并行性,计划分析也可以在任意存储过程中识别它,被认为是过于脆弱的,无法用作一般工具。但是,最近,提出了一个新的参与者关系数据库系统的概念,提出了希望应用程序开发人员可以通过将数据库应用程序建模为传达参与者来指定交易内的并行性。在这种情况下,一个自然的问题是,具有异步编程模型的参与者关系数据库系统是否可以充分地揭示应用程序内部并行的应用程序逻辑中可用于现代多核硬件的。为了实现这一目标,我们在本文中进行了实验评估,对影响原型参与者关系数据库系统系统中的交易内平行性的因素进行了实验,其OLTP应用程序设计为任务级并行性,并且系统在多核机上运行。
Over the past decade, we have witnessed a dramatic evolution in main-memory capacity and multi-core parallelism of server hardware. To leverage this hardware potential, multi-core in-memory OLTP database systems have been extensively re-designed. The core objective of this re-design has been scaling up sequential execution of OLTP transactions, wherein alternative database architectures have been explored to eliminate system bottlenecks and overheads impeding inter-transaction parallelism to fully manifest. However, intra-transaction parallelism has been largely ignored by this previous work. We conjecture this situation to have developed because OLTP workloads are sometimes deemed to have far too little intra-transactional parallelism and, even when this kind of parallelism is available, program analyses to recognize it in arbitrary stored procedures are considered too brittle to be used as a general tool. Recently, however, a new concept of actor-relational database systems has been proposed, raising hopes that application developers can specify intra-transaction parallelism by modeling database applications as communicating actors. In this scenario, a natural question is whether an actor-relational database system with an asynchronous programming model can adequately expose the intra-transaction parallelism available in application logic to modern multi-core hardware. Towards that aim, we conduct in this paper an experimental evaluation of the factors that affect intra-transaction parallelism in the prototype actor-relational database system REACTDB, with an OLTP application designed with task-level parallelism in mind, and with the system running on a multi-core machine.