首页> 外文会议>International conference on very large data bases >Reducing Database Locking Contention Through Multi-version Concurrency
【24h】

Reducing Database Locking Contention Through Multi-version Concurrency

机译:通过多版本并发减少数据库锁定争用

获取原文

摘要

In multi-version databases, updates and deletions of records by transactions require appending a new record to tables rather than performing in-place updates. This mechanism incurs non-negligible performance overhead in the presence of multiple indexes on a table, where changes need to be propagated to all indexes. Additionally, an uncommitted record update will block other active transactions from using the index to fetch the most recently committed values for the updated record. In general, in order to support snapshot isolation and/or multi-version concurrency, either each active transaction is forced to search a database temporary area (e.g., rollback segments) to fetch old values of desired records, or each transaction is forced to scan the entire table to find the older versions of the record in a multi-version database (in the absence of specialized temporal indexes). In this work, we describe a novel kV-lndirection structure to enable efficient (parallelizable) optimistic and pessimistic multi-version concurrency control by utilizing the old versions of records (at most two versions of each record) to provide direct access to the recent changes of records without the need of temporal indexes. As a result, our technique results in higher degree of concurrency by reducing the clashes between readers and writers of data and avoiding extended lock delays. We have a working prototype of our concurrency model and kV-lndirection structure in a commercial database and conducted an extensive evaluation to demonstrate the benefits of our multi-version concurrency control, and we obtained orders of magnitude speed up over the single-version concurrency control.
机译:在多版本数据库中,按事务更新和删除记录需要将新记录追加到表中,而不是执行就地更新。在表上存在多个索引的情况下,这种机制会导致不可忽略的性能开销,在表中需要将更改传播到所有索引。此外,未提交的记录更新将阻止其他活动事务使用索引为已更新的记录获取最新提交的值。通常,为了支持快照隔离和/或多版本并发,或者迫使每个活动事务搜索数据库临时区域(例如,回滚段)以获取所需记录的旧值,或者迫使每个事务进行扫描整个表以在多版本数据库中查找记录的较旧版本(在没有专门的时间索引的情况下)。在这项工作中,我们描述了一种新颖的kV方向结构,该结构通过利用旧版本的记录(每个记录最多两个版本)来提供对最新更改的直接访问,从而能够进行有效的(可并行化的)乐观和悲观的多版本并发控制不需要时间索引的记录。结果,我们的技术通过减少数据读取器和写入器之间的冲突并避免了扩展的锁定延迟来提高并发程度。我们在商业数据库中拥有并发模型和kV方向结构的工作原型,并进行了广泛的评估以展示我们的多版本并发控制的好处,并且比单版本并发控制快了几个数量级。 。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号