首页> 外文期刊>Computer Communications >Efficient detection and resolution of deadlocks in distributed databases
【24h】

Efficient detection and resolution of deadlocks in distributed databases

机译:分布式数据库中死锁的有效检测和解决

获取原文
获取原文并翻译 | 示例
获取外文期刊封面目录资料

摘要

Deadlock detection and resolution is one of the major components of a successful distributed database management system. In this article, we discuss deadlock detection and resolution strategies and present two approaches for detecting and resolving deadlocks in both general distributed database systems and distributed real-time database systems. Our first approach is to collect information on the connectivity of nodes of the overal Transaction Wait-For Graph (TWFG) of the distributed database system and then use these connectivities information to build a local TWFG at each node of the overal TWFG. We then detect the deadlocks by locating the cycles in each local TWFG. To resolve the deadlocks, the nodes involved in those cycles in each local TWFG, are removed until there is no cycle in the local TWFGs. Our second approach continuously checks for the occurrence of a deadlock between different transaction trees. As soon as it detects a deadlock, it resolves it by aborting one of the transaction tree which has been initiated more recently. Some of the advantages of our approaches over the approaches which use Probe messages are: (1) no extra storage required to store different probe messages, (2) no false (Phantom) deadlocks are reported, (3) detects and resolves all deadlocks. In addition, our approaches use less message and time to detect and resolve all deadlocks in existing TWFG of the distributed database system.
机译:死锁检测和解决是成功的分布式数据库管理系统的主要组成部分之一。在本文中,我们讨论了死锁检测和解决策略,并提出了两种在通用分布式数据库系统和分布式实时数据库系统中检测和解决死锁的方法。我们的第一种方法是收集有关分布式数据库系统的总事务等待图(TWFG)节点的连通性的信息,然后使用这些连通性信息在总TWFG的每个节点上构建本地TWFG。然后,通过在每个本地TWFG中定位周期来检测死锁。为了解决死锁,将删除每个本地TWFG中与那些周期有关的节点,直到本地TWFG中没有周期为止。我们的第二种方法连续检查不同事务树之间是否出现死锁。一旦检测到死锁,它将通过中止最近启动的事务树之一来解决死锁。与使用探测消息的方法相比,我们的方法的一些优点是:(1)不需要额外的存储来存储不同的探测消息;(2)没有报告错误的(幻影)死锁;(3)检测并解决所有死锁。此外,我们的方法使用更少的消息和时间来检测和解决分布式数据库系统的现有TWFG中的所有死锁。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号