Research and Application of Data Synchronization Mechanism Based on Distributed Databases

Author
DaiWanRong
Advisor
XiongQianXing
School
Wuhan University of Technology
Major
Computer Science and Technology
Classification
TP311.13 Database theory and systems
Degree
Master's thesis
Year
2010
Downloads
309
Citations
6

Request the full text

Abstract

With the rapid development of network applications, more and more people get the accuracy and timeliness of the information requirements. Database systems store data, retrieve information is the most convenient and efficient means of the vast majority of corporate information stored in the database. The current trend of the database system is miniaturized to the large-scale, centralized to distributed development. In a distributed database system, polydispersity data stored in different nodes on the same network to achieve synchronization node database information update on maintenance of data consistency and integrity of a distributed database problem exists. In this context, the distributed database systems, data synchronization research has become a hot topic. This article is based on the practical application of project the \The data synchronization divided into four levels of the provincial bureau, city and county are and grassroots site. Trial occurred during the beginning of a project using SQL Server replication technology to over 200 sites data loss and synchronized untimely By analyzing the research, elaborated some effective improvements to SQL Server replication technology made in the latter part of the application, The four architectures to secondary structure, removing the cascade relations, clean up the system table to solve the problem of system data loss. In addition, the design based on a SQL Server transaction processing, data warehouse ETL technology and XML technology to achieve data synchronization mechanism. New synchronization mechanism first to take advantage of SQL Server's transaction processing and data warehouse ETL technology to build an intermediate layer, or referred to as a data acquisition system, the system extract the need to transfer the incremental data stored in the data warehouse, then compression, transmission decompress data processing. Data upload and download step uses XML technology to achieve. First storage data conversion to XML Schema document, and then generate the XML file to upload, after an XML file and then mapped to the corresponding table of the target server, data download. Synchronization mechanism based on the ETL and XML-depth analysis, mainly from the unstable network environment, such as excessive by the introduction of new technology to ensure the integrity and consistency of the data. New mechanism compared with SQL Server replication has a strong advantage, introduced the ETL technology can effectively alleviate the server loading pressure to reduce the network load XML technology to achieve synchronization advantage of efficient, reliable, and suitable for mass data processing, can be extended to heterogeneous database synchronization.

Table of contents

Abstract 4-5 Abstract 5-10 Chapter 1 Introduction 10-15 the research 1.1 Background 10-11 1.2 data synchronization mechanism Research 11-12 1.3 thesis purpose and meaning 12-13 1.3.1 Objective 12 1.3.2 research significance 12-13 1.4 thesis research 13-15 Chapter 2 Overview of distributed database 15-22 in DDBS the 2.1 basic theory 15-16 2.1.1 DDBS defined 15 2.1.2 DDBS the features 15-16 2.2-DDBS of architecture 16-18 2.2.1 DDBS structure 16 the 2.2.2 DDBS the mode structure 16-18 2.2.3 distribution transparency 18 2.3 Distributed transaction management 18-21 2.3.1 Distributed transaction definition 18 a 2.3.2 distributed transaction recovery 18-21 2.4 distributed database development prospects and trends 21 2.5 This chapter Summary 21-22 Chapter 3 data synchronization technology 22-35 3.1 communication program 22-25 3.1.1 communication program synchronization strategy 22-24 3.1.2 communication program synchronization to achieve 24-25 3.2 database replication technology 25-28 3.2.1 Replication Technology Overview 25-26 3.2.2 synchronization mechanism to achieve 26-28 3.3 ETL technology 28-30 3.3.1 Data extraction 28-29 3.3.2 Data Conversion 29 3.3.3 Data cleaning 29 3.3.4 Data loading 29-30 3.4 transaction processing 30-32 3.4.1 stored procedures 30 3.4.2 triggers 30-31 3.4.3 scheduling jobs 31-32 3.5 an XML technology 32-34 3.6 This chapter Summary 34-35 Chapter 4 new synchronization mechanism analysis and research 35-44 4.1 affect data synchronization performance factors 35-38 4.2 existing mechanisms 38-39 4.2.1 communication program to achieve the synchronization 38-39 4.2.2 synchronous replication technology 39 4.3 new synchronization mechanism network application environment analysis 39-41 4.4 intends to solve the key problem 41-43 4.5 of this chapter Summary 43-44 Chapter 5 based ETL and XML synchronization mechanism of the design and realization of 44-64 5.1 overall framework design 44-45 5.2 data processing flow 45-47 5.2.1 Data Acquisition 46 5.2.2 Data Conversion 46-47 5.2.3 transmission control 47 post-processing 5.2.4 47 5.3 data incremental extraction 47-51 5.3.1 Data Classification 48 5.3.2 data import process 48-50 5.3.3 transactional data storage and constraint rules set 50 5.3.4 data warehouse processing 50 5.3.5 incremental extraction realize 50-51 5.4 with XML data synchronization 51-61 5.4.1 module of the overall design 51-52 5.4.2 module implementation steps 52-53 5.4.3 an XML Schema format documents generated 53-56 5.4.4 from the SQL Server database to XML document mapping 56-57 5.4.5 XML documents to SQL Server database conversion 57-61 5.5 system running interface 61-62 5.6 two mechanisms Comparative Analysis 62-63 5.7 This chapter Summary 63-64 Chapter 6 Summary and Outlook 64-66 6.1 research summarizes 64-65 6.2 Job Outlook 65-66 Acknowledgements 66-67 the References 67-70 the studying for a master's degree during the papers and to participate in the scientific research situation 70

Related dissertations

  1. Research and Implement of Data Exchange System Based on Digital Campus
    DiaoYu ·Northeast Normal University ·2013 ·Master's thesis
  2. Design and implementation of ETL oriented tools and equipment in the data
    GuQing ·Fudan University ·2012 ·Master's thesis
  3. Research and Application of Distributed Database of Bank Monitoring System
    XieJinKe ·Southwest Jiaotong University ·2012 ·Master's thesis
  4. Design and Implementation for Synchronous System in CRM
  5. The Research and Application of Data Synchronization on Distributed Database
  6. The structure of the text information computing
    LiChao ·Beijing Language and Culture University ·2007 ·Master's thesis
  7. Design and Realization of the Logistics Management System Based on CSCW and Distributed Database Technology
    KangRuiHua ·Wuhan University of Technology ·2004 ·Master's thesis
  8. The Application Study of Distributed Database in Digital Forest Eco-station
    ZhangHuiPing ·Beijing Forestry University ·2007 ·Master's thesis
  9. Research and Design for Data Synchronization on Heterogeneous Distributed Database
    LiuYongYi ·Jilin University ·2010 ·Master's thesis
  10. Based on XML and. NET distributed data synchronization Research and Application
    ZuoDong ·Hefei University of Technology ·2009 ·Master's thesis
  11. Research and Implementation of Synchronous Technology in Police Information Network
    PiTao ·Wuhan University of Technology ·2011 ·Master's thesis
  12. Baotou City -based distributed database environment GIS Platform Information Center
    ChenHu ·Shandong Normal University ·2011 ·Master's thesis
  13. The Research and Implement of Data Synchronization of Distributed Database in Solar Wind System Simulation
    LiuJinYang ·Chengdu University of Technology ·2011 ·Master's thesis
  14. Intelligent Transportation Information Collection and Exchange Management Platform Software System
  15. Analysis of High Reliability Main/Standby Switching for Aggregation Ethernet Switch
    LiJie ·WRI ·2012 ·Master's thesis
  16. Research on Data Synchronization Mechanism of the Information Repository Federation in Publish/Subscribe Model
    YangFan ·Harbin Engineering University ·2013 ·Master's thesis
  17. Design and Implementation of the XProc Processor Based on.NET
  18. Design and Implementation of the XML Document Processing System Based on Xproc
  19. Extraction of Social Network Relations and Its Collaborative Recommendation Algorithm
  20. Research of Web Information Extraction Based on XML
    ZhengBangXi ·Dalian Jiaotong University ·2013 ·Master's thesis