首页> 外国专利> Cache-conscious concurrency control scheme for database systems

Cache-conscious concurrency control scheme for database systems

机译:数据库系统的关注缓存的并发控制方案

摘要

An optimistic, latch-free index traversal (“OLFIT”) concurrency control scheme is disclosed for an index structure for managing a database system. In each node of an index tree, the OLFIT scheme maintains a latch, a version number, and a link to the next node at the same level of the index tree. Index traversal involves consistent node read operations starting from the root. To ensure the consistency of node read operations without latching, every node update operation first obtains a latch and increments the version number after update of the node contents. Every node read operation begins with reading the version number into a register and ends with verifying if the current version number is consistent with the register-stored version number. If they are the same, the read operation is consistent. Otherwise, the node read is retried until the verification succeeds. The concurrency control scheme of the present invention is applicable to many index structures such as the B+-tree and the CSB+-tree.
机译:公开了一种用于管理数据库系统的索引结构的乐观,无闩锁的索引遍历(“ OLFIT”)并发控制方案。在索引树的每个节点中,OLFIT方案在索引树的同一级别维护一个锁存器,一个版本号以及到下一个节点的链接。索引遍历涉及从根开始的一致节点读取操作。为了确保没有锁存的节点读取操作的一致性,每个节点更新操作首先获取一个锁存器,并在更新节点内容后递增版本号。每个节点读取操作都始于将版本号读取到寄存器中,然后结束以验证当前版本号是否与寄存器存储的版本号一致。如果它们相同,则读取操作是一致的。否则,将重试节点读取,直到验证成功。本发明的并发控制方案适用于许多索引结构,例如B +树和CSB +树。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号