首页> 外国专利> System and method for a multi-level locking hierarchy in a database with multi-dimensional clustering

System and method for a multi-level locking hierarchy in a database with multi-dimensional clustering

机译:具有多维集群的数据库中多级锁定层次结构的系统和方法

摘要

A multi-level locking hierarchy for a relational database includes a locking level applied to a multi-dimensionally clustering table, a locking level applied to blocks within the table, and a locking level applied to rows within the blocks. The hierarchy leverages the multi-dimensional clustering of the table data for efficiency and to reduce lock overhead. Data is normally locked in order of coarser to finer granularity to limit deadlock. When data of finer granularity is locked, data of coarser granularity containing the finer granularity data is also locked. Block lock durations may be employed to ensure that a block remains locked if any contained row remains locked. Block level lock attributes may facilitate detection of at least one of a concurrent scan and a row deletion within a block. Detection of the emptying of a block during a scan of the block may bar scan completion in that block.
机译:用于关系数据库的多层锁定层次结构包括应用于多维聚类表的锁定级别,应用于表内的块的锁定级别以及应用于块内的行的锁定级别。层次结构利用表数据的多维集群来提高效率并减少锁定开销。数据通常按粒度从小到大的顺序锁定,以限制死锁。当更细粒度的数据被锁定时,包含更细粒度数据的更粗粒度的数据也被锁定。如果任何包含的行保持锁定,则可以使用块锁定持续时间来确保块保持锁定。块级锁定属性可以促进对块内的并发扫描和行删除中的至少一个的检测。在块扫描期间检测到块为空可能会阻止该块中的扫描完成。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号