首页> 外文会议>ACM SIGMOD international conference on management of data >Low Overhead Concurrency Control for Partitioned Main Memory Databases
【24h】

Low Overhead Concurrency Control for Partitioned Main Memory Databases

机译:用于分区主内存数据库的低开销并发控制

获取原文

摘要

Database partitioning is a technique for improving the performance of distributed OLTP databases, since "single partition" transactions that access data on one partition do not need coordination with other partitions. For workloads that are amenable to partitioning, some argue that transactions should be executed serially on each partition without any concurrency at all. This strategy makes sense for a main memory database where there are no disk or user stalls, since the CPU can be fully utilized and the overhead of traditional concurrency control, such as two-phase locking, can be avoided. Unfortunately, many OLTP applications have some transactions which access multiple partitions. This introduces network stalls in order to coordinate distributed transactions, which will limit the performance of a database that does not allow concurrency. In this paper, we compare two low overhead concurrency control schemes that allow partitions to work on other transactions during network stalls, yet have little cost in the common case when concurrency is not needed. The first is a light-weight locking scheme, and the second is an even lighter-weight type of speculative concurrency control that avoids the overhead of tracking reads and writes, but sometimes performs work that eventually must be undone. We quantify the range of workloads over which each technique is beneficial, showing that speculative concurrency control generally outperforms locking as long as there are few aborts or few distributed transactions that involve multiple rounds of communication. On a modified TPC-C benchmark, speculative concurrency control can improve throughput relative to the other schemes by up to a factor of two.
机译:数据库分区是一种用于提高分布式OLTP数据库性能的技术,因为“单分区”事务访问一个分区上的访问数据不需要与其他分区的协调。对于适用于分区的工作负载,有些人认为交易应该在每个分区上串行执行,而无需任何并发。此策略对没有磁盘或用户档位的主存储器数据库有意义,因为可以充分利用CPU,并且可以避免传统并发控制的开销,例如两相锁定。不幸的是,许多OLT​​P应用程序都有一些访问多个分区的事务。这引入了网络档位,以便协调分布式事务,这将限制不允许并发的数据库的性能。在本文中,我们比较了两个低开销并发控制方案,允许分区在网络摊位期间对其他事务进行工作,但不需要并发时常见的情况几乎没有成本。首先是轻量级锁定方案,第二种是均匀较轻的载型并发控制,避免了跟踪读取和写入的开销,但有时执行最终必须撤消的工作。我们量化每种技术有益的工作负载范围,显示推测性并发控制通常优于锁定,只要涉及多轮通信的分布式事务很少。在修改的TPC-C基准测试中,推测性并发控制可以通过多倍于两倍提高相对于其他方案的吞吐量。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号