Research on Deadlock Detection Algorithm in Distributed Database

Author
ChenPeng
Advisor
LiXiangShu
School
Chongqing University
Major
Computer System Architecture
Classification
TP311.13 Database theory and systems
Degree
Master's thesis
Year
2004
Downloads
341
Citations
5

Request the full text

Abstract

Deadlock detection in distributed database is an important problem in the area of concurrency control. In the research area of distributed systems, deadlock conditions are commonly determined by resource request mode.According to different resource request that issued by transactions, existing deadlock detection algorithms of distributed database are commonly presented for certain resource request model. Distributed database is different from general distributed system, it’s deadlock condition is not only related with resource request mode, but also related with resource grant mode. Moreover, because existing deadlock detection algorithms of distributed database commonly adopt X lock mode or S/X lock mode, and lose sight of multiple lock mode which is applied widely in distributed database systems, these algorithms can not be applied availably in distributed database systems. In this paper, distirbuted transaction, concurrency control and resource request model are introduced in detail. The universal deadlock condition in distirbuted database system is summarized. Deadlock detection algorithms of distributed database can be classified into centralized, layered and distributed. Centralized and layered algorithms commonly have higer correctness, but their number of messages are too great. By contraries, for distributed algorithms, their number of messages are commonly petty, but their correctness is poor. Because distirbuted algorithms are more agile and efficient, this paper will lucubrate disitributed deadlock detection algorithms and bring forward a new distributed algorithm—an deadlock detection algorithm based DDA and modifyed probe. This algorithm combinate the ideal of the global state detection method (DDA algorithm) and algorithms based on probe. It presents a new rule of probe transmission, that is when transaction node receives the first probe (contains initial probe), the node will accept and record the probe, when transaction node receives other probe again, the node refuse the probe(stop the probe transmission) and record the probe-couple(refused probe,accepted probe). In this algorithm, the notations of Probe-Couple, Extented-Probe and Probe-Cluster.etc are given, and a new mechanism of deadlock detection is built, if there is a probe-path{(Xi,Yi)}(1<=i<=n),and Ynis the base of X1,then there is a cycle in WFG. This algorithm can reduce the number of global information transmission by using merge computation of the probe-couple. So this algorithm can avoid false deadlock and phantom deadlock, can avoid undetected deadlock, reduce the number of messages.Finally, the correctness and performance of this algorithm are analysed, and tested by <WP=7>simulation experimentation.

Related dissertations

  1. An Adaptive Multi-level Caching Strategy for Disributed Database Systems
  2. Application and Research of the Distributed Network Database in Energy Management System
  3. The Study on Application of the Distributed Database in Bank Card Acquiring Professional Service System
    GuoZhiJie ·South China University of Technology ·2013 ·Master's thesis
  4. Query Optimization Technique for Distributed Database System Based on Semi-Join Algorithm
  5. The Design and Implementation of a Distributed Database Project Management System for Communications Engineering Design
    SuHanHui ·South China University of Technology ·2013 ·Master's thesis
  6. The Research of Parallel Deadlock in the Boiler Simulation System
    WangZhiZuo ·Zhejiang Sci-Tech University ·2012 ·Master's thesis
  7. Research on Join Query Optimization Algorithm in Distributed Database Based on Immune Genetic Algorithm
  8. The Design and Implementation of Distributed Data Management System for Large-Scale Virtual Screening
    YuanChengDa ·Lanzhou University ·2012 ·Master's thesis
  9. Research on the Method of Distributed Transaction Processing in the Financial Field
  10. Research and Design of Integrated Control Platform for Distributed Data in Space Launch Site
  11. Technology of Data Transfer and Storage
  12. Research and Application of Distributed Database Synchronization Technology Based on Snapshot Isolation
    WangZuo ·PLA Information Engineering University ·2012 ·Master's thesis
  13. A Study of Data Storage System and Indexing Structure for the Railway Dispatching System
    WangXingZhong ·China Academy of Railway Sciences ·2011 ·Doctoral dissertation
  14. Design and Research of SAAS-Based Database Archi Tecture
    XuJiangMan ·Shandong University ·2012 ·Master's thesis
  15. A Study of Multi-join Query Optimization Algorithm in Distributed Database
    QianLei ·Yanshan University ·2012 ·Master's thesis
  16. Research and Application of Distributed Database of Bank Monitoring System
    XieJinKe ·Southwest Jiaotong University ·2012 ·Master's thesis
  17. A Deadlock Detection Method for Cross-organizational Business Process
    ZuoXingHua ·Dalian University of Technology ·2012 ·Master's thesis
  18. Design and implementation of equipment management information system embedded security control module
  19. The Research and Implementation of Middle School English Test Distributed Database Based on Ice
    GaoYing ·Northeast Normal University ·2012 ·Master's thesis
  20. Design and Implementation of the Oil and Gas Gathering and Transportation PDMS Distributed Database Maintenance System