The Data Synchronization and Switch of Main Memory Database
- Author
- RuanQuanBo
- Advisor
- HuangZhongDong
- School
- Zhejiang University
- Major
- Applied Computer Technology
- Classification
- TP311.13 Database theory and systems
- Degree
- Master's thesis
- Year
- 2006
- Downloads
- 252
- Citations
- 2
- futures transaction system
- memory resident database
- transaction log
- Data Synchronization
- data consistency
- database switch
Abstract
As the economy developing, modern Application requires the database more and more quickly. Traditional database can’t satisfy those requirements at some field, so the memory resident database (MMDB) comes true. Data synchronization technology can ensure the data consistency that on different node in distributed system. Many commercial databases have provided their own solution like Oracle and SQL Server. At the other side, as to MMDB, the important thing is how to synchronize the data more efficiently and how to keep the data consistency.The background of this paper is a futures transaction system named JinCheng . It is also a distributed system. The features that transaction area is independent of the system make the data synchronization necessary. On the basis of research of the technology and the project that we are working on, considering the requirement and efficiency of the system, we propose a data synchronization solution based on transaction log. And the advantage is that it can decrease the data quantity transported and lighten the backup database’s burden. In another way, asynchronous mode can improve the whole system’s performance. The problem about delay between Primary database and backup database is analyzed and solved.Following the design, we show how to implement the system that divided into two parts: Primary database and backup database. At last, we introduce the database switch which can recover the system from failure and make the system more usable and strong.
Table of contents
Summary 3-4
ABSTRACT 4-7
Chapter I: Introduction 7-20
1.1 Memory Database Overview - 13
1.1.1 memory database concepts and products 7-9 1.1.2 memory database
emergence and development of the status quo 9-11 1.1.3 Memory
database and the similarities and differences of the traditional database 11-13
1.2 Summary of synchronization technology 13-18
1.2.1 updated simultaneously classification 13-15
sync 1.2.2 update 15
sync 1.2.3 update technology 15-18
1.3 This article 18-20
first Chapter two: synchronous technology 20-28
2.1 middleware technology 20
2.2 commercial database data synchronization 20-28
2.2.1 Sybase synchronization technology the 20-21 2.2.2 Oracle synchronization technology
the 21-23 2.2.3 Informix synchronization technology
2.2.4 SQL on the 23rd Sever synchronization technology 23-28
Chapter: data synchronization design 28-39
3.1 data sync background 28-35
3.1.1 Descriptions of swpf futures trading system 28-31
3.1.2 swpf Memory Database Overview 31-35
3.2 data synchronization design 35-39 <br / > 3.2.1 The general idea 35-36
a 3.2.2 master database data synchronization design 36-37
3.2.3 backup database data synchronization design 37-39
Chapter IV: Data synchronization is achieved nbsp 39-51
4.1 data structure; nbsp the transaction structures 39-40
4.1.1; 39 < br /> 4.1.2 Redo list node structure the 39-40
4.1.3 Undo list node structures 40
4.2 master database synchronization to achieve 40-42 < br /> the 4.2.1 master database data flow 40-41
the 4.2.2 master database of sending threads the 41-42
4.3 backup database synchronization is achieved 42-46
4.3.1 backup database data flow 42
4.3.2 backup database receiving thread 42-44
4.3.3 backup database backup thread the 44-46
4.4 Fault Analysis 46-49
4.5 Chapter Summary 49-51
Chapter: data switching 51-55
5.1 switching process 51-52
5.2 database switch to achieve 52-55
Chapter VI: Conclusion 55 - 56
Reference 56-58
Acknowledgements 58
Related dissertations
- Study on the scale of data collection and synchronous transmission technology of mine
- Research and Implementation for Maintaining Replica Consistency in Distributed Heterogeneous Databases
- Research and Implementation for Technology of Data Consistency Maintenance in Multidatabase System
- Synchronization Technology Research among Remote Heterogeneous Database Systems Based on XML
- Design and Implementation of Data Consistency Management Platform
- Analysis of High Reliability Main/Standby Switching for Aggregation Ethernet Switch
- Research on Data Synchronization Mechanism of the Information Repository Federation in Publish/Subscribe Model
- Data Consistency Research in P2P Environment
- Research and Design on Data Extraction in Multiple Data Sources
- Research and Implementation of Data Synchronization Based on JMS
- The Application of Oracle Data Synchronization Technology in the Data Center of the Guizhou Provincial Local Taxation Bureau
- Research on Data Synchronization Technology of Embedded Mobile Database
- The Design and Implementation of Bank Performance Assessment System
- Design and Realization of Network Video Teaching System Based on J2EE
- Network Recruitment System Design and Implementation and Service Mode Research
- The Design and Implementation of Social Insurance Unified External Service Platform
- Research on Distributed Lock Technology
- Design and Implementation of Web Application Platform under Embedded Systems
- Migrating An OSGi Legacy Project to the Cloud
- The Implementation of Data Migration Mechanism for Hierarchical Storage