首页> 外国专利> A METHOD RELATING TO THE HANDLING OF TRANSACTIONS IN DATABASES

A METHOD RELATING TO THE HANDLING OF TRANSACTIONS IN DATABASES

机译:一种与数据库中事务处理有关的方法

摘要

The present invention relates to a method of handling the risk of a deadlock between simultaneous transactions (T1, T2) in a database (1). The method is based on allocating to respective objects (01, 02) in the database (1) a lockout queue (L1, L2) in which transactions (T1, T2, T3, ..., T8) that request access to an object (01, 02) are placed to await the access to said object of a preceding transaction. The handling procedure comprises going through, or perusing, the lockout queues (L1) belonging to different objects (01) to detect so-called locking transactions (T1) that can cause a deadlock and, subsequent to detection, comparing said locking transaction with other transactions (T2, T6, T1, T7, T8) in other lockout queues (L2) therewith enabling the risk of deadlock between a first and a second transaction (T1, T2) that have both requested access to the same first and second object (01, 02) to be detected. Combinations of transactions that are ongoing or active in the database and that, according to said comparison, can cause a deadlock are divided into locking and non-locking combinations respectively. Solely the detection of a locking combination will cause further action to be taken.
机译:本发明涉及一种处理数据库(1)中的同时事务(T1,T2)之间的死锁风险的方法。该方法基于将锁定队列(L1,L2)分配给数据库(1)中的各个对象(01、02),其中请求访问对象的事务(T1,T2,T3,...,T8) (01,02)被放置以等待对先前事务的所述对象的访问。处理过程包括遍历或仔细研究属于不同对象(01)的锁定队列(L1),以检测可能导致死锁的所谓锁定事务(T1),并在检测之后将所述锁定事务与其他锁定事务进行比较。因此,其他锁定队列(L2)中的事务(T2,T6,T1,T7,T8)可能会导致同时请求访问同一第一对象和第二对象的第一事务和第二事务(T1,T2)之间发生死锁的风险( 01,02)。根据所述比较,在数据库中正在进行或活动的事务的组合可以导致死锁,这些事务的组合分别分为锁定和非锁定组合。仅检测到锁定组合将导致采取进一步的措施。

著录项

  • 公开/公告号IN2001MN00111A

    专利类型

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

    原文格式PDF

  • 申请/专利权人

    申请/专利号INPCT/2001/00111/MUM

  • 发明设计人 MIKAEL RONSTROM;

    申请日2001-01-31

  • 分类号G06F17/30;

  • 国家 IN

  • 入库时间 2022-08-21 21:38:55

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号