Based on non-blocking distributed database transaction atomic commit protocol

Author
SangYuZhen
Advisor
ChenJunHua
School
Shanghai Normal University
Major
Computer Software and Theory
Classification
TP311.13 Database theory and systems
Degree
Master's thesis
Year
2011
Downloads
23
Citations
0

Request the full text

Abstract

Distributed transaction systems, the advantages of the distributed system can be widely used in the practical application of these , but the drawback of its structural complexity has also led it prone to failure , In order to guarantee in the transaction can be maintained in the case of site failure ACID four kinds of attributes needed atomic commit protocol . If an atomic commit protocol (ACP) to allow the right of participants to decide matters regardless of whether other transactions fail , we believe that this agreement is non-blocking . So far, researchers have proposed many of the nonblocking the atomic commit protocol , however , do not have any one protocol can be able to guarantee non-blocking , while taking into account the efficient operation of the system in the process of atomic commitment . This paper presents a non-blocking atomic commit protocol PNPC ( A based on the non -blocking distributed database transaction , atomic the commit protocol ) in order to solve the blocking problem in asynchronous distributed systems , the agreement extended the heartbeat failure detector , and a consensus agreement as a final agreement in asynchronous distributed systems . Wherein extended heartbeat failure detector inherits the advantages of a heartbeat failure detector that is , unlike the conventional fault detector using a Time-out technology , instead of using the Counter , and also be able to solve the process failures and link failures , including asynchronous message stationary reliable communication in a communication system . Heartbeat failure detection by defining the extension is still reliable communication , consistent with consensual and still reliable communication , and finally solve the problem of non-blocking in atomic submission process consistent with consensual . Performance analysis shows , atomic commit protocol proposed in this paper is not only to ensure non-blocking atomic commit , but also greatly reduce the cost of distributed transaction commit and reduce message latency and message complexity . Therefore , the existing non-blocking atomic commit protocol compared to the proposed protocol is more applicable to today's commercial systems .

Table of contents

The Chinese summary 4-6 Abstract 6-10 Chapter 1 Introduction 10-14 1.1 thesis background 1.2 research status 10-12 1.3 In this paper, the content and innovation 12 1.4 the significance of the research 12-13 1.5 thesis chapters 13-14 Chapter 2 distributed database system concept 14-20 2.1 distributed database system (DDBS) and distributed The concept of the database (DDB) 14 2.2 distributed database system characteristics 14-16 2.2.1 advantages of distributed database 15 2.2.2 Distributed Database System shortcomings 15-16 2.3 and distributed transactions the 16-17 2.3.1 Affairs 16 2.3.2 Distributed Transaction 16-17 a 2.3.3 distributed transaction execution 17 of 2.4 distributed database system fault type 17-18 < br /> Several Recovery 2.5 at this stage distributed systems technology the Research 18-20 Chapter 3 atomic commit protocol 3.1 2PC 20-29 of the working principle the 20-24 3.2 discusses the several well-known non-blocking atomic commit protocol 24 3.3 3PC works 24-25 3.4 other fault detection technology-based non-blocking atomic commit protocol 25-27 3.5 the fault detector status quo 27-29 Chapter 4 based distribution of non-blocking -database transaction atomic commit protocol 29-42 4.1 extensions heartbeat (Extended Heartbeat EHB) the fault detector design 29 the 4.2 expansion heartbeat failure detection (EHB) definition 29-30 4.3 EHB achieve 30-31 4.4 consensual issues and atomic broadcast algorithm 31-32 4.4.1 desirable problems 31 4.4.2 Atomic Broadcast algorithm 31-32 4.5 extensions heartbeat failure detector to solve the Consensus problem 32-35 4.5.1 the site failure the 32-33 4.5.2 packet lost 33-34 4.5.3 stable storage 34 4.5.4 logical log 34-35 4.6 PNPC protocol works 35-37 4.7 PNPC agreement algorithm described the 37-39 4.8 PNPC agreement, proof of correctness 39-40 4.9 protocol performance 40-42 Chapter 5 Conclusions and Outlook 42-43 5.1 the thesis Conclusion The 42 5.2 Looking 42-43 Acknowledgements to References 43-44 44-48 degree during the academic papers and to participate in the project 48