Research of Data Locking and Consistency in Distributed Database

Author
CheWuJiang
Advisor
LiZhangBing
School
Hunan University of Science and Technology
Major
Applied Computer Technology
Classification
TP311.13 Database theory and systems
Degree
Master's thesis
Year
2011
Downloads
58
Citations
0

Request the full text

Abstract

With the development of network technology , distributed database applications is increasingly important. In this paper, the Hunan Provincial Science and Technology Program , a distributed database locking algorithm and data consistency control method of distributed database data distribution and redundancy , the distribution of transaction execution and unpredictable software error and hardware failure led to the problem of inconsistent data , pointed out that to solve these problems , there are still difficulties in the maintenance of distributed database data consistency algorithm based on a lot of research and put forward their point of view . The specific contents are as follows : ( 1 ) study the a simple distributed blockade and fully distributed locking algorithm blockade algorithm , the communication overhead required for these algorithms in lock , blocked for a long time , the complex lock management shortcomings , to combine centralized database lock type, a distributed database locking granularity , proposed on the basis of the three - phase locking protocol global catalog and distributed database management algorithm based distributed global directory database blockade . In this algorithm , the global catalog server is responsible for maintaining all blockades , lock in the global lock manager to manage and maintain a global catalog node . ( 2 ) study the distributed database data replication technology to explore the message queue method, transaction control method , copy control method shortcomings in maintaining the consistency of the distributed database data , global directory - based distributed database data The sexual control algorithm . Asynchronous update operation of the algorithm on the basis of the global catalog data , saving network bandwidth and improve transaction processing capabilities . ( 3) the use of tools such as Oracle 10g, myEclipse to write a locking and consistency of the data of the distributed database simulation system using the TPC-C standard benchmarking tool SysBench transaction pressure test , and monitor the testing process with a third-party database management tool Toad . Experimental results show that the two algorithms is a correct and feasible .

Table of contents

Summary 5-6 Abstract 6-9 chapter the introduction 9-15 1.1 Background 9-10 < br /> 1.2 research status 10-12 1.3 Research purpose and meaning 12-13 1.4 of this paper work 13 1.5 paper structure 13-15 Chapter II distributed database theory 15-29 2.1 Distributed database concurrency control 15-17 2.1.1 concurrency control common method of classification to control 2.1.2 concurrency, 15-16, two-phase locking 16-17 2.2 distributed database transaction management the 17-23 2.2.1 Distributed Transaction concept the structure 2.2.2 Distributed Transaction 17-19 19-20 2.2 .3 distributed transactions, two-phase commit protocol 20-22 2.2.4 Distributed Transaction of the three-phase commit protocol 22-23 2.2.5 concurrent transaction serial algorithm 23 2.3 distributed database data directory 23-27 2.3.1 Distributed database data directory contents 23-25 ??<br / > 2.3.2 distributed database data directory management 25-27 2.4 Distributed database data inconsistency detection 27-28 2.5 Summary 28 -29 Chapter global directory-based management of distributed database blockade algorithm 29-39 of 3.1 distributed database system lock manager 29-31 3.1.1 relational database management system blockade the Management Analysis the 29-30 3.1.2 distributed database system theory blockade the 30-31 3.2 global catalog nbsp the role of the global catalog; 31-32 3.2.1 31 the 3.2.2 global catalog creation 31-32 3.3-based global catalog distributed databases blockade management algorithm 32-36 3.3.1 Algorithm locking granularity 33 3.3.2 Algorithms lock type 33 3.3. 3 transaction lock table the 33-34 the 3.3.4 lock management algorithm 34-36 3.4 algorithm analysis 36-37 3.5 Summary 37-39 Chapter distributed database data consistency algorithm based on global directory 39-47 4.1 data consistency 39-41 4.1 .1 concept of data consistency 39-40 4.1.2 distributed database data consistency 40-41 4.2 data replication technology 41-42 42 4.2.1 data replication technology features 41-42 4.2.2 data replication management 4.3 consistency control algorithm based on the global catalog and global affairs 42-45 4.3.1 data consistency maintenance algorithm the 43-44 4.3.2 Access Violation solve 44-45 4.4 algorithm Analysis 45-46 4.5 Summary 46-47 Chapter the data distributed database locking and consistency of simulation 47-61 The the 5.1 simulation experiment environment structures the 47-48 5.2 database management the 48-49 5.2.1 distribution data global naming 48-49 5.2 .2 data storage and processing 49 5.3 Distributed database data consistency management system to achieve 49-57 the 5.3.1 Global Catalog Manager 50 < br /> 5.3.2 replica consistency management implementations 50-55 5.3.3 Global Affairs update controller to achieve 55-57 5.4 during the experiment and results 57-60 5.5 Summary 60-61 Chapter VI Conclusion and Outlook the 61-63 6.1 conclusions 61 6.2 Looking to References 61-63 63-67 Acknowledgements 67-68 Appendix A Master issued during the papers 68

Related dissertations

  1. A multi-platform distributed database backup and recovery mechanism
    LiXingYong ·Hefei University of Technology ·2008 ·Master's thesis
  2. Design of Middle-school and Academy Enrollment System Base on .NET
  3. The Research of Data Sharing Based on Distributed Database and Application in the CCAR-142 Project
  4. Research for Realization of Data Synchronization Technology Based on TimeStamp
    ZhouChunLian ·Nanchang University ·2009 ·Master's thesis
  5. Data Consistency Research in P2P Environment
    PengYang ·Central South University ·2013 ·Master's thesis
  6. An Adaptive Multi-level Caching Strategy for Disributed Database Systems
  7. Application and Research of the Distributed Network Database in Energy Management System
  8. 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
  9. Query Optimization Technique for Distributed Database System Based on Semi-Join Algorithm
  10. The Design and Implementation of Bank Performance Assessment System
    ZhangShiJun ·Hunan University ·2013 ·Master's thesis
  11. 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
  12. Research on Distributed Lock Technology
    ChenWenWu ·South China University of Technology ·2013 ·Master's thesis
  13. Migrating An OSGi Legacy Project to the Cloud
    WangWei ·Zhejiang University ·2014 ·Master's thesis
  14. The Implementation of Data Migration Mechanism for Hierarchical Storage
  15. Study on the scale of data collection and synchronous transmission technology of mine
  16. Research on Join Query Optimization Algorithm in Distributed Database Based on Immune Genetic Algorithm
  17. The Design and Implementation of Distributed Data Management System for Large-Scale Virtual Screening
    YuanChengDa ·Lanzhou University ·2012 ·Master's thesis
  18. Research and Design of Integrated Control Platform for Distributed Data in Space Launch Site
  19. Technology of Data Transfer and Storage
  20. Research and implementation of distributed storage of OLAP query based on P2P