Design and Implementation of D-SQL data in a distributed database system update
- Author
- YangYuan
- Advisor
- LiuXinSong
- School
- University of Electronic Science and Technology
- Major
- Computer System Architecture
- Classification
- TP311.13 Database theory and systems
- Degree
- Master's thesis
- Year
- 2001
- Downloads
- 201
- Citations
- 2
Abstract
In recent years, with the extensive application of distributed systems, distributed database has become an important part of information processing. Distributed database to eliminate many of the disadvantages of the traditional centralized database, suitable for a variety of non-centralized architecture. Distributed database is logically belong to the same system of data collection, but physically distributed on each node. It has data sharing, high reliability, availability, and good, and query speed. In a distributed database system, in order to obtain high query speed and high availability, data redundancy is a necessary tool, but data replication across multiple sites, once there are multiple copies of the data to be updated in order to ensure The consistency of the database, it must do the same modifications to all copies of the data at the same time. Data update module is an important module in distributed database implementation, and its task is to do the update operation data, and all copies of the data to do the same modifications. This paper introduces the D-SQL implementations of a distributed database system based on MySQL implementation technology, focused on the data updating mechanism. The operation of the data in the database system are affairs units, the transactions required to meet four properties, atomicity, consistency, isolation, and persistence. Under normal circumstances, the database system is always this transaction run, these transactions may concurrently access the same data, and the resulting lost updates and inconsistent read, undermine the integrity constraints and other issues. D-SQL is a distributed database system to meet the high availability requirements. The system is based on a widely used open source software MySQL database system, the underlying database row-level locking, transaction support Innobase, and modify the source code, and ultimately the formation of a distributed database. D-SQL and most of the distributed database system, one of the rather special place in support transactions premise, efficient implementation of data synchronization update. This paper consists of four parts: ● distributed database and distributed data update ● of MySQL for Innobase, and D-SQI ● common algorithms for distributed data update, D-SQL data update used algorithm ● D-SQL implementation of data update
Table of contents
Chapter Introduction 10-13
distributed database the Overview data update 13-21
2.1 Introduction to transactions 13-14 < br /> 2.2 two-phase commit protocol 14-15
2.3 concurrent transactions conflict nbsp the; 15-18
2.4 transaction serializability theory the 2.5 common concurrency control mechanism 18-19
19-21
Chapter MySQL with the Innobase introduced 21-28
3.1 Introduction to MySQL 21
3.2 MySQL main features of its lack of 21-22
3.3 the MySQL overall structure and process 22-24 < br /> 3.4 Innobase introduced 24-26
3.5 Innobase transaction management mechanisms outlined 26-28
Chapter D-SQL System Overview 29-30
28-32 D-SQL 4.1 introduces 28-29
4.2 D-SQL client and server-side interaction 4.3 D-SQL server-side software architecture 30-32
Chapter D-SQL data updates correlation algorithm analysis and improvement 32-55
5.1 common method of data update 32
5.2 common concurrency control algorithms analyze the 32-38
5.2.1 based locking concurrency control algorithm and its shortcomings 32-36
5.2.2 based on the underlying concurrency control algorithm and its lack of the 36-38
5.2.3 optimistic algorithm analysis and its shortcomings 38 < br /> 5.3 D-SQL update module used algorithm 38-55
5.3.1 update 39-40
5.3.2 the transaction decomposition of ways 40-42
5.3.3 concurrency control mechanism 42-49
5.3.4 deadlock detection mechanism 49-52 < br /> 5.3.5 D-SQL in two stages submit 52-55
Chapter D-SQL synchronized design 55-64 <br / > 6.1 the synchronization process of the implementation of the updated the 55-58
6.2 important data structures interaction between 58-60
6.3 master the THD and agents THD nbsp 60-64
Chapter VII; system performance analysis and test 64-69
7.1 System Reliability Analysis 64
7.2 D- SQL system the update performance test 64-69
Chapter VIII Conclusion 69
Acknowledgements 69-70
Reference 70-72 the
biographical 72
Related dissertations
- Implementation of enterprise distributed database management
- A Study and Discussion of Distributed Database for Management Information System
- Application and Research of Distributed DataBase on Telecommunication Resource Management Based on GIS
- Research of Distributed Database Resource’s High Availability
- Distributed Medical Image Database System Research and Implementation
- Design and implementation of recovery mechanisms in distributed database D-SQL
- Engineering database concurrency control
- Engineering database concurrency control techniques
- 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
- Research of Embedded Linux Device Drivers Concurrency Control
- Design and Implementation of the System of Information Management of Forest Resources Based on ARCGIS Platform
- The Design and Implementation of a Distributed Database Project Management System for Communications Engineering Design
- Research on Optimization Technique for Hardware Transactional Memory System Based on CMP
- Research on Agricultural Data Cloud Storage Based Oil Distributed File System
- A Concurrency Control Scheme for Mobile Transactions in Broadcast Disk Environments
- Research on Data Update Method in Vehicle Electronic Environment
- The System of Collaborative Text Editing Browser-based