arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1110.6647cs.DB
收藏

并行OLTP系统事务执行优化的预测建模

On Predictive Modeling for Optimizing Transaction Execution in Parallel OLTP Systems

Andrew Pavlo, Evan P. C. Jones, Stanley Zdonik

摘要:

一类新的并行数据库管理系统(DBMS)的设计是为了利用可分区的工作负载的联机事务处理(OLTP)应用程序。这些系统中的事务被优化为在无共享集群中的单个节点上执行完成,而不需要与其他节点协调或使用昂贵的并发控制措施。但是,有些OLTP应用程序不能分区,因此它们的所有事务都不能以这种方式在单个分区中执行。这些分布式事务访问未存储在其本地分区中的数据,因此需要更重的并发控制协议。当事务的执行属性(例如它可能需要访问的分区数量或它是否会中止)事先不知道时,就会出现进一步的困难。如果为DBMS提供有关事务的附加信息,它可以减轻这些性能问题。因此,在本文中,我们提出了一个马尔可夫模型为基础的方法来自动选择DBMS可以使用的优化,即(1)更有效的并发控制计划,(2)智能调度,(3)减少撤消日志记录,(4)推测执行。为了评估我们的技术,我们实现了我们的模型,并将它们集成到一个并行的,主存OLTP DBMS,以表明我们可以提高不同工作负载的应用程序的性能。

英文摘要:

A new emerging class of parallel database management systems (DBMS) is designed to take advantage of the partitionable workloads of on-line transaction processing (OLTP) applications. Transactions in these systems are optimized to execute to completion on a single node in a shared-nothing cluster without needing to coordinate with other nodes or use expensive concurrency control measures. But some OLTP applications cannot be partitioned such that all of their transactions execute within a single-partition in this manner. These distributed transactions access data not stored within their local partitions and subsequently require more heavy-weight concurrency control protocols. Further difficulties arise when the transaction's execution properties, such as the number of partitions it may need to access or whether it will abort, are not known beforehand. The DBMS could mitigate these performance issues if it is provided with additional information about transactions. Thus, in this paper we present a Markov model-based approach for automatically selecting which optimizations a DBMS could use, namely (1) more efficient concurrency control schemes, (2) intelligent scheduling, (3) reduced undo logging, and (4) speculative execution. To evaluate our techniques, we implemented our models and integrated them into a parallel, main-memory OLTP DBMS to show that we can improve the performance of applications with diverse workloads.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑