Design and Implementation of the Data Migration System for GBase
- Author
- WuWeiPing
- Advisor
- CuiWeiLi
- School
- Jilin University
- Major
- Computer System Architecture
- Classification
- TP311.52 Software Development
- Degree
- Master's thesis
- Year
- 2006
- Downloads
- 80
- Citations
- 2
Abstract
The development of database with independent intellectualproperty is an important step for our information industry. There isurgent requirement of it in national defence and e-government.TheGBase system is a homemade database with independent intellectualproperty ,which nanda general company and a graduate schoolupgrade by their database product archetype. The data migrationsystem(DMS) that this paper introduces is one of basic peripheraltools of GBase database system,which has important meaning ofupdating the information systems and popularizing the wholedatabase product. Most database manufacturer has afforded their data migrationtools.for example the InfoMover of Informix,the data transfer system ofMicrosoft SQL Server,the Oracle Warehouse Builder and so on;In thethird party’s product,the DataStage of Ascential Software companyand the SwisSQL of AdventNet company have offerded data migrationin the various mainstream database.And the migrations offerded bythese products applies to their self-database produce or themainstream database in the world.So there is great requirement todesign the data migration system that fit the property of GBase. This DMS of GBase has consulted the functions of the populardata migration tools in the market,such as the DMS of Microsoft SQLServer and DB2.This paper has analyzed various data types of thosedatabase,and contrasts those types with the data types of GBase.Thesystem uses object oriented programming method,and have muchefficiency with lowest error rate.While migrating a million rows,There isno error took place in the system which provide the credible log.Thesystem is friendly,flexible, practical and.same with migration demandof various databases. The migration system uses the middle-database model,whichdescribes various data types of database with middle language(eg.Java).The information of database will be transmitted into themiddle-database from the source database,and the data structure willbe established in the aim database with the information of themiddle-database.The middle-database just transmit and save theinformation of the database,and data dictionary only contain therelation define and field define except the real data.The system is programmed with Java and can steadily run inmany platforms.The migration system includes five importantmodules:Interface module provides the interface and controls the workflow;JDBC drive module tests the usability of JDBC drivers;Userconnection module tests the connection of the migration system anddatabase syatem.Mapping module automatically maps the databasetypes and JDBC types .Structural extracted module transfers theinformation from the source database to the middle-database.SQLsentence prepared module provides the SQL sertences that othermodules need.Data transfer module gets the data from the sourcedatabase and inserts the data to the aim database.One feature of the system is automatically maps the data types forany database that provides the JDBC driver.The system can map thedatabase types and JDBC types,diminish differences of them,andautomatically work out various range of the database types andparticular information of precision.The automatically mapping willprovide the reference for users.User can modify the mapping for theirparticular demands, and form the most suitable mappings formigration.Using the automatically mapping can decrease the error rateand easily find the problem.Another feature of the system is making choice in various SQLsertences.There are lots of defferences of SQL syntax in the databasewith which dealt in the migration.Since the whole SQL syntax is toocomplex to input by user,the system has contrasted the SQL syntax inthe database in the demand and reference the standard SQL syntax tofind the least intersection.So the system will be more current andfriendly.The migration system has been tested in detail in many platformand compared with other native system.The results of test andcomparison verified that the system can successfully migrateschemas,tables,columns,views and data.The validity and efficiency ofthe system can achieve the level of the native system.There is some work remained to improve and implement,for thatsystem is just the first version and time is restricted.In the function,themigration system can not migrate the stored produce/function betweenthe different databases.And that problems need a lot of workload andhave too much technical difficulty.The native migration systems do nothave successful solution on those cases. The system also has otherproblem,such as can not transfer some restricts of table andview.Those problems will be improved in the next version.In theperformance,the system programs with Java,which make less efficientthan that with C++.Some optimize arithmetic will be added in thesystem to enhance the efficiency of the migration system.
Table of contents
Chapter 1 Introduction 7-9
1.1 Background are found;
1.2 Data Migration System Introduction 7-8
1.3 This article made work 8-9
Chapter 2 Data Migration 9-15
2.1 data migration concept 9
2.2 data migration methods and strategies 9-11
2.3 data migration implementation 11-15
2.3.1 data migration technology to prepare 11-12
2.3.2 data migration tools choose nbsp implementation and migration; 12-13
2.3.3 Data Migration checksum 13-15
3 Chapter GBASE, data migration system needs analysis 15 - 19
3.1 GBASE About 15-16
3.2 migration platform and content requirements 16
3.3 migration function needs 16-18 <br / > 3.3.1 query data demand 17
3.3.2 data type mapping needs 17
3.3.3 Migration Wizard demand 17-18
3.4 migration performance needs 18-19 <br the Data Migration system /> Chapter 4 GBASE design the 19-41 4.1 language, platform and peripheral library selection
19-23
4.1.1 language and platform of choice 19-21
4.1.2 log4j-1.2.7.jar as log database are found; 21-23
4.2 migration the total flow design 23-29
4.2.1 migration theory model 23-25 ??
4.2.2 migration process 25-29 < br /> 4.3 source / destination database type and JDBC type mappings 29-32
4.4 database structure extraction and query 32-34
4.4.1 extract structure to an intermediate library 32-33
4.4.2 query database information 33-34
4.5 migration statement ready 34-39
4.6 data migration 39 -41
of Chapter 5 GBASE data migration system implementation and testing - grooved copper tube has been established with the aid
5.1 system technology 41-45
5.1.1 types of Automatic mapping 41-43
5.1.2 for precision arithmetic 43-45
5.2 System test results 45-47
Chapter 6 Conclusion 47-48
Reference 48-50
Summary 50-52
ABSTRACT 52-55
Acknowledgements 55-56
tutors and Author 56
Related dissertations
- Technology and application of data migration
- The Structural Optimization and Upgrade in Operation Support System of Jiangsu Telecom
- Development of Archive Management System Integration Service for Students
- Research on Data Migration Algorithm Based on Heterogeneous Table Structures
- The Implementation of Data Migration Mechanism for Hierarchical Storage
- Research of Hybrid Storage Based on File Access Randomness and Hotness
- Design and Implementation of a PCM File System
- Design and implementation of ETL oriented tools and equipment in the data
- Reserch on the JTA Transaction Based Method of the Heterogeneous System Data Migration
- Design and Implimention of Data Mining and Migration System Based on Hadoop
- Research on Parallel File System Data Migration and Implementation
- Research on the Application of Message Model in Data Migration
- Design and Implementation of Virtual Network Disk Data Management System
- The Design and Realaziation of Yongkou Television Media Resources Management System
- Research on Edge Cloud Computing Architecture and Data Migration Method
- Data recording the hierarchical storage methods and research based on a comprehensive implementation of frequency index
- Research and implementation of virtual memory technology device driver stack based
- Research and Implementation of Wear Leveling Algorithm Based on Hybrid Mapping Scheme
- Research on Failure Detection and Data Migration Techniques in Intelligent Network Storage System
- Study on Data Migration Technology in HSM