透明的并发控制:将并发控制与DBMS分离
Transparent Concurrency Control: Decoupling Concurrency Control from DBMS
摘要:
出于性能原因,传统的DBMS采用单片架构。单一的设计削弱了DBMS的适应性,使其难以定制,以满足不同应用程序的特定要求。本文提出了将并发控制(CC)的代码从单片DBMS中完全分离出来。这使我们能够轻松地向DBMS添加/删除功能或数据结构,而无需考虑数据一致性问题。由于这种分离剥夺了并发控制器关于数据组织和处理的知识,因此可能会导致严重的性能问题。为了最大限度地减少性能损失,我们设计了一个两级CC机制。在操作层面上,我们提出了一个强大的调度器,保证以可管理的成本完成任何数据操作。在事务级,调度器可以利用数据语义来实现增强的性能。大量的实验证明了我们的方法的可行性和有效性。
英文摘要:
For performance reasons, conventional DBMSes adopt monolithic architectures. A monolithic design cripples the adaptability of a DBMS, making it difficult to customize, to meet particular requirements of different applications. In this paper, we propose to completely separate the code of concurrency control (CC) from a monolithic DBMS. This allows us to add / remove functionalities or data structures to / from a DBMS easily, without concerning the issues of data consistency. As the separation deprives the concurrency controller of the knowledge about data organization and processing, it may incur severe performance issues. To minimize the performance loss, we devised a two-level CC mechanism. At the operational level, we propose a robust scheduler that guarantees to complete any data operation at a manageable cost. At the transactional level, the scheduler can utilize data semantics to achieve enhanced performance. Extensive experiments were conducted to demonstrate the feasibility and effectiveness of our approach.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。