The Research of 3PC Coordinator Substitution Algorithm Based on Redundancy

Author
QuanYuYan
Advisor
ChenJunHua
School
Shanghai Normal University
Major
Applied Computer Technology
Classification
TP311.13 Database theory and systems
Degree
Master's thesis
Year
2010
Downloads
21
Citations
0

Request the full text

Abstract

With the development of database technology and network technology, people are paying more attention on distributed database system. Because of the characteristic of distribution and logic of the distributed database, how to ensure the atomicity of distributed transaction commit, is more concerned by distributed database system. Three-phase commit protocol is advanced based on the two-phase commit protocol. On the basis of ensuring the atomicity of the distributed transaction commit, three-phase commit protocol has in partially improved the shortcomings of the two-phase commit protocol which is easy to blocking, and enhanced system performance and system resource utilization rate. But the three-phase commit protocol has its own inherent disadvantages: a larger network communication. Therefore, how to reduce the three-phase commit protocol’s network communication has an important significance to the distributed database system.First, this paper introduces the common transaction commit protocol, and gives detailed descriptions of several three-phase commit protocols: proxy based three-phase commit protocol (P3PC), heart beat based three-phase commit protocol (HBB-3PC), and redundancy based three-phase commit protocol (R3PC). This paper has analyzed the advantages and disadvantages of these three commit protocol.Then, on the basis of R3PC, in allusion to the coordinator’s blocking, for the purpose of improving the selection of the new efficiency coordinator; this paper ameliorates the three-phase commit protocol and puts forward two new coordinator selection algorithms: the counter selection algorithm and the TTL selection algorithm. At the same time, this paper analyzes the advantages and disadvantages of these two algorithms.Finally, this paper analyzes the failure of the distributed database system and gives a common recovery strategy. And it describes how the new coordinator to supersede the old coordinator’work after the failure occurring.

Table of contents

Abstract 7-8 Abstract 8-11 Chapter 1 Introduction 11-15 1.1 issues raised and research 11-12 1.1.1 make 11-12 1.1.2 research significance 12 1.2 research status 12-13 1.2.1 three-stage protocol status quo 12-13 1.3 research content 13 1.4 article structure 13-15 the commit protocol Chapter 2 existing Affairs 15-24 2.1 distributed database concepts relating 15 2.2 distributed database classification 15-16 the of 2.3 distributed database system characteristics 16-17 2.4 Distributed Transaction 17-18 2.4.1 centralized transaction 17 2.4.2 Distributed Transaction 17-18 2.5 existing distributed transaction commit protocol 18-24 2.5.1 two-phase transaction commit protocol 18-20 2.5.2 phase transaction commit protocol 20-21 2.5.3 three-phase transaction commit protocol 21-22 2.5.4 commit protocol performance 22-24 Chapter 3, improved selection algorithm based on redundant 3PC coordinator 24-36 3.1 three-phase commit protocol analysis 24-26 3.1.1 traditional three-phase commit protocol analysis 24 3.1.2 existing three-phase commit protocol analysis 24-26 3.2 Improved redundancy-based three-phase commit protocol 26-31 3.2.1 improvements based 3PC protocol redundancy 27-28 3.2.2 improved protocol described 28-31 3.3 coordinator selection algorithm improvements 31-36 3.3.1 Counter selection algorithm 31-32 3.3.2 TTL selection algorithm 32-34 3.3.3 two algorithms analyze 34-36 Chapter 4 of the new agreement for failure handling 36-39 4.1 distributed database failure type 36 4.2 Distributed database recovery techniques 36-37 4.3 new agreement of failure recovery 37-39 4.3.1 participant 37 4.3.2 new coordinator select 37-39 Chapter 5 Conclusions and Outlook 39-41 5.1 Conclusion of papers 39 5.2 Job Outlook 39-41 Acknowledgements 41-42 the References 42-45 the studying for a degree during the academic involved in the project 45

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. Research on Join Query Optimization Algorithm in Distributed Database Based on Immune Genetic Algorithm
  7. The Design and Implementation of Distributed Data Management System for Large-Scale Virtual Screening
    YuanChengDa ·Lanzhou University ·2012 ·Master's thesis
  8. Research and Design of Integrated Control Platform for Distributed Data in Space Launch Site
  9. Technology of Data Transfer and Storage
  10. Research and Application of Distributed Database Synchronization Technology Based on Snapshot Isolation
    WangZuo ·PLA Information Engineering University ·2012 ·Master's thesis
  11. A Study of Data Storage System and Indexing Structure for the Railway Dispatching System
    WangXingZhong ·China Academy of Railway Sciences ·2011 ·Doctoral dissertation
  12. Design and Research of SAAS-Based Database Archi Tecture
    XuJiangMan ·Shandong University ·2012 ·Master's thesis
  13. A Study of Multi-join Query Optimization Algorithm in Distributed Database
    QianLei ·Yanshan University ·2012 ·Master's thesis
  14. Research and Application of Distributed Database of Bank Monitoring System
    XieJinKe ·Southwest Jiaotong University ·2012 ·Master's thesis
  15. Design and implementation of equipment management information system embedded security control module
  16. The Research and Implementation of Middle School English Test Distributed Database Based on Ice
    GaoYing ·Northeast Normal University ·2012 ·Master's thesis
  17. Design and Implementation of the Oil and Gas Gathering and Transportation PDMS Distributed Database Maintenance System
  18. Design and Implementation of Production Management System in Shanghai Tool Works
    WangZuo ·Dalian University of Technology ·2013 ·Master's thesis
  19. Based on the Web Army Personnel Information Management System Design and Implementation
  20. Implementation of integrated office management information system based on Distributed Database