Some Amelioration to Two-phase Commitment Protocol of Distributed Database Management System
- Author
- ChenJunWei
- Advisor
- XiongZhongYang
- School
- Chongqing University
- Major
- Applied Computer Technology
- Classification
- TP311.13 Database theory and systems
- Degree
- Master's thesis
- Year
- 2007
- Downloads
- 241
- Citations
- 1
Abstract
Transaction processing in a distributed database system, in order to ensure the atomicity of the transaction is committed, in the practical application of widely used two-phase commit protocol. Two-phase commit protocol local atomicity submit behavior extended to a distributed transaction to ensure the atomicity of a distributed transaction commits, which guarantee the consistency of distributed transactions and data consistency, without missing log records can be more effective under the premise of the fault recovery, and improve the reliability of a distributed database system. This technique is simple, practical, more reliable, and has become the de facto industry standard. However, this agreement is the inherent flaw: when failure in failure, the transaction may not be able to properly commit or rollback, easy to fall into the blocking state, seriously affecting the system performance and system resources utilization efficiency. In this paper, the characteristics of the distributed transaction, the problems faced by the distributed transaction management and distributed transaction management objectives analyzed on the basis, of to guarantee distributed transaction commits atoms are used in the two-phase commit protocol and its The improved version of the basic ideas and content, and in-depth analysis on the basis of the two-phase commit protocol and its improved version advantage of its defects. In this paper, the two-stage agreement inherent defects, the study and improvement of the two-phase commit protocol used in the communication structure; study and improvement of the two-phase commit protocol algorithm and proposed a complete improved algorithm effective to improve the performance of the two-phase commit protocol reduces the probability of occurrence of the blocking phenomenon; based on improved two-phase commit protocol design a perfect end of the agreement and recovery protocol, improved protocol failure in a distributed database system still be able to maximize the case of failure of the normal operation, improve the reliability and availability of the agreement. Finally, comparison and analysis of the similarities and differences of the two-phase commit protocol and improved two-phase commit protocol fault handling and its impact on the performance of the agreement; based on various factors that affect the two-phase commit protocol execution efficiency improvement of the two-phase commit protocol The performance boost research and analysis; process algebra and use of the improved two-phase commit protocol correctness proof. In summary, a complete program of improvements from the communication structure, protocols, algorithms, end of protocol and recovery protocol design of the two-phase commit protocol, and prove the improved protocol correctness. The improved agreement protocol can effectively enhance the performance, reliability and availability has the academic theoretical significance and practical value.
Table of contents
Summary 3-4
ABSTRACT 4-8
1 Introduction 8-14
1.1 issues raised and research significance - 9
1.1.1 issues raised 8
1.1.2 Research significance 8-9
1.2 research status and Analysis 9-12
1.2.1 two-phase commit protocol Research 9-11
1.2.2 Analysis nbsp are; the 11-12
1.3 of this article research purposes and research contents 12-13
1.3.1 Objective 12
the 1.3.2 contents 12-13
1.4 of this article chapters 13 - 14
2 two-phase commit protocol synthesis 14-22
2.1 Introduction 14-16
2.1.1 Distributed Transaction 14-15
2.1.2 distributed database transaction management 15-16
2.2 The basic idea of ??the two-phase commit protocol and content 16-20
2.2.1 in two phases submitted The basic idea of ??the agreement 16-17
2.2.2 two-phase commit protocol algorithm described characteristics of the two-phase commit protocol and its a major drawback 17-20
2.3 20-21
2.4 Chapter Summary 21-22
3 two-phase commit protocol improvements 22-46
3.1 for two-phase commit protocol communication structural improvements 22-26
3.1.1 two-phase commit protocol communication structure 22-25
the 3.1.2 class stratification communication structure 25 - 26
3.2 for two-phase commit protocol algorithm improvements 26-33
3.2.1 The basic idea of ??the improved algorithm 26-28
3.2.2 improved two phase commit protocol algorithm described 28-33
3.2.3 improved two-stage the submitted protocol algorithms instructions 33
3.3 to improve the two-phase commit protocol end protocol design the 33-36
3.3.1 coordinating Sites timeout 34
3.3.2 participating sites timeout 34-35
3.3.3 End of protocol design 35-36
3.4 improved the design of the two-phase commit protocol recovery protocol 36-37
Troubleshooting similarities and differences and their impact on the performance of the agreement before and after the 3.5 protocol improvements 37-45
3.5.1 distributed database system fault type the 37-38
3.5.2 of the traditional two-phase commit protocol fault handling 38 - 41
two-phase commit protocol fault handling 3.5.3 improved 41-43
3.5.4 of the protocol performance 43-45
3.6 This chapter Summary 45-46 April
improve the correctness of the two-phase commit protocol and its proof 46-54
4.1 improvement of two-phase commit protocol correctness of theoretical analysis 46-47
4.2 improved the performance of the two-phase commit protocol analysis 47-48
4.3 Improved two-phase commit protocol correctness proof 48-53
4.3.1 improvement of two-phase commit protocol formal description 48-49
4.3.2 Improved two-phase commit protocol correctness Formal Proof 49-53
4.4 This chapter Summary the 53-54
5 Conclusion Looking the 54-56
5.1 paper summarizes 54
5.2 Job Outlook 54-56 < br /> Acknowledgements to References 56-57
57-59
Appendix 59
Related dissertations
- Research on the Data Restoration Technology of Distributed Database System
- The Synchronization Strategy Research of Distributed Database under Network Environment
- 2-Phase Commitment Protocol Based on Heart-Beating Technology
- Study of Multi-moving Pedestrians' Detection and Tracking
- An Adaptive Multi-level Caching Strategy for Disributed Database Systems
- Application and Research of the Distributed Network Database in Energy Management System
- The Study on Application of the Distributed Database in Bank Card Acquiring Professional Service System
- Query Optimization Technique for Distributed Database System Based on Semi-Join Algorithm
- The Design and Implementation of a Distributed Database Project Management System for Communications Engineering Design
- Research on the Application of the Techniques of Chinese Women’s Volleyball Team
- Synthesis and Application Characteristics of an Aminosilicone Polyether Block Copolymer
- Synthesis and Characterization of the Block Copolyimides and Nanocomposite Photoluminescent Polyimide Films
- The Uplift in the Northeastern Margin of the BaYan Har Block since the Quaternary
- Simulation Study on the Translocation and Separation of Copolymer
- The Comparison of Roles of Civil Secretary and Affairs Secretary
- The Application of Denoising Algorithm Based on Document Image
- Research on Block Kernel Independent Component Analysis of Face Recognition Method
- The Research of More Focus Image Fusion Method
- Research on Join Query Optimization Algorithm in Distributed Database Based on Immune Genetic Algorithm
- The Design and Implementation of Distributed Data Management System for Large-Scale Virtual Screening