首页> 外文会议>International conference on very large data bases >Rethinking serializable multiversion concurrency control
【24h】

Rethinking serializable multiversion concurrency control

机译:重新思考可序列化的多版本并发控制

获取原文

摘要

Multi-versioned database systems have the potential to significantly increase the amount of concurrency in transaction processing because they can avoid read-write conflicts. Unfortunately, the increase in concurrency usually comes at the cost of transaction se-rializability. If a database user requests full serializability, modern multi-versioned systems significantly constrain read-write concurrency among conflicting transactions and employ expensive synchronization patterns in their design. In main-memory multi-core settings, these additional constraints are so burdensome that multi-versioned systems are often significantly outperformed by single-version systems. We propose BOHM, a new concurrency control protocol for main-memory multi-versioned database systems. BOHM guarantees serializable execution while ensuring that reads never block writes. In addition, BOHM does not require reads to perform any bookkeeping whatsoever, thereby avoiding the overhead of tracking reads via contended writes to shared memory. This leads to excellent scalability and performance in multi-core settings. Bohm has all the above characteristics without performing validation based concurrency control. Instead, it is pessimistic, and is therefore not prone to excessive aborts in the presence of contention. An experimental evaluation shows that Bohm performs well in both high contention and low contention settings, and is able to dramatically outperform state-of-the-art multi-versioned systems despite maintaining the full set of serializability guarantees.
机译:多版本数据库系统有可能显着增加事务处理中的并发量,因为它们可以避免读写冲突。不幸的是,并发的增加通常是以交易可序列化为代价的。如果数据库用户要求完全可序列化,那么现代的多版本系统会极大地限制冲突事务之间的读写并发,并在设计中采用昂贵的同步模式。在主内存多核设置中,这些额外的限制非常繁重,以至于多版本系统通常明显优于单版本系统。我们提出BOHM,这是一种用于主内存多版本数据库系统的新的并发控制协议。 BOHM保证可序列化执行,同时确保读取永不阻塞写入。此外,BOHM不需要读取即可执行任何簿记操作,从而避免了通过对共享内存的竞争性写入来跟踪读取的开销。这导致在多核设置中具有出色的可伸缩性和性能。 Bohm具有上述所有特征,而无需执行基于验证的并发控制。相反,它是悲观的,因此在存在争用的情况下不容易出现过多的异常中止。实验评估表明,Bohm在高争用和低争用设置中均表现出色,并且尽管保持了完整的可序列化性保证,但仍能够大大胜过最新的多版本系统。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号