首页> 外国专利> Adaptive lock escalation based on the concept of unescalatable locks

Adaptive lock escalation based on the concept of unescalatable locks

机译:基于不可扩展锁概念的自适应锁升级

摘要

In this invention, we propose an adaptive lock escalation scheme that can significantly enhance the performance of the database management system under excessive lock requests. In existing lock escalation methods, under excessive lock requests, the system's performance degrades abruptly even leading to a live halt in the worst case. ;The present invention, an adaptive lock escalation in database management systems, proposes a new notion of the unescalatable lock, which is the major cause for making the transactions abort due to lack of lock resources. It uses semi lock escalation and lock blocking based on the total number of unescalatable locks to suppress the growth of unescalatable locks. Furthermore, it guarantees that at least one transaction can complete without getting into live halt by using selective relief. Consequently, the present invention significantly enhances the performance and prevents the system from getting into live halt gradually transiting to a serial execution of transactions under excessive lock requests. ;The present invention has the characteristics including the following steps: (a) using semi lock escalation based on the total number of escalatable locks, (b) using lock blocking based on the total number of unescalatable locks, (c) using selective relief when there are no more lock resources available, and all the transactions are blocked waiting for the lock or block resource, and (d) undoing semi lock escalation and lock blocking based on the total number of unescalatable locks of (a) & (b) steps.
机译:在本发明中,我们提出了一种自适应锁定升级方案,该方案可以在过多的锁定请求下显着增强数据库管理系统的性能。在现有的锁升级方法中,在过多的锁请求下,系统的性能突然下降,甚至导致最坏情况下的实时中断。本发明是数据库管理系统中的自适应锁升级,提出了不可扩展锁的新概念,这是由于缺乏锁资源而导致事务中止的主要原因。它基于不可扩展锁的总数使用半锁升级和锁阻塞,以抑制不可扩展锁的增长。此外,它通过使用选择性救济来确保至少一项交易可以完成而不会陷入停顿状态。因此,本发明显着提高了性能,并防止系统在过多的锁定请求下逐渐进入实时停止状态,逐渐过渡到事务的串行执行。 ;本发明具有包括以下步骤的特征:(a)基于可升级的锁的总数使用半锁升级,(b)基于不可升级的锁的总数使用锁阻塞,(c)当有问题时使用选择性解除没有更多的锁资源可用,并且所有事务都在等待锁或块资源的情况下被阻塞,并且(d)根据(a)和(b)步骤的不可伸缩锁的总数撤消半锁升级和锁阻塞。 。

著录项

  • 公开/公告号US6963872B2

    专利类型

  • 公开/公告日2005-11-08

    原文格式PDF

  • 申请/专利权人 KYU YOUNG WHANG;JI WOONG CHANG;

    申请/专利号US20010758184

  • 发明设计人 KYU YOUNG WHANG;JI WOONG CHANG;

    申请日2001-04-13

  • 分类号G06F17/30;G06F12/14;

  • 国家 US

  • 入库时间 2022-08-21 22:19:50

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号