THE IMPLEMENTATION OF DATA MIGRATION ON SPACEOS DATABASE BASED ON SQL-92 AND JDBC

Taian Ning,Jin Liu
DOI: https://doi.org/10.3969/j.issn.1000-386x.2014.12.015
2014-01-01
Abstract:Aiming at the demand that the PostgreSQL databases data of Space operating system is able to migrate the data of heterogeneous relational databases, based on SQL-92 and JDBC, we introduce the main processes of dealing with metadata and recorded data when the heterogeneous data is in migration, and design a data migration module, which is structured with presentation layer, metadata layer, business logic layer and data access layer.We also analyse in detail the algorithm implementation in regard to two key steps of data type mapping and surrogate primary key values mapping before SQL statement.The data migration module is implemented with JDK1.6.The data migration tests between PostgreSQL and heterogeneous database show that the migration module is reasonable and effective.Meanwhile, it has good versatility and compatibility.
What problem does this paper attempt to address?