CN105677738A - Universal method for migrating heterogeneous relational database - Google Patents

Universal method for migrating heterogeneous relational database Download PDF

Info

Publication number
CN105677738A
CN105677738A CN201511017595.2A CN201511017595A CN105677738A CN 105677738 A CN105677738 A CN 105677738A CN 201511017595 A CN201511017595 A CN 201511017595A CN 105677738 A CN105677738 A CN 105677738A
Authority
CN
China
Prior art keywords
database
data
migration
write
operation interface
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Withdrawn
Application number
CN201511017595.2A
Other languages
Chinese (zh)
Inventor
庞毅
季统凯
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
G Cloud Technology Co Ltd
Original Assignee
G Cloud Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by G Cloud Technology Co Ltd filed Critical G Cloud Technology Co Ltd
Priority to CN201511017595.2A priority Critical patent/CN105677738A/en
Publication of CN105677738A publication Critical patent/CN105677738A/en
Withdrawn legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/21Design, administration or maintenance of databases
    • G06F16/214Database migration support

Landscapes

  • Engineering & Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The invention relates to the technical field of software development, and in particular to a universal method for migrating heterogeneous relational database. The method includes the following steps: compiling operations of each common relational data, such as connecting, increasing, deleting, searching, and modifying, and encapsulating a set of public JAVA application; when data need migration, operation personnel selects corresponding one by one relations between a source database, tables requiring reading and a target database on an operation interface, then selecting synchronous operation. The method of the invention provides a rapid, efficient and convenient heterogeneous relational database migration method, and can be widely applied to data migration of any type of common heterogeneous relational database.

Description

A kind of method of general isomeric relationship type database data migration
Technical field
The present invention relates to technical field of software development, a kind of method being specifically related to general isomeric relationship type database data migration.
Background technology
What Business survival leaned on is profit, and without profit, an enterprise cannot survive. The method improving enterprise profit is varied, and being summarized as is exactly in short " raising work efficiency ", and only work efficiency is up, and enterprise could obtain maximum generation with minimum putting into, and had both generated profit maximization.
In enterprise, data base administrator, run into the situations such as system upgrade particularly heterogeneous database migration, it is necessary to writing substantial amounts of SQL script, the bothersome effort of traditional method, data accuracy is low, extremely inefficient. Method used in the present invention, it is possible to migrating required time decreased 90%, greatly improve work efficiency.
Summary of the invention
Present invention solves the technical problem that a kind of method being in that to provide general isomeric relationship type database data migration; For data base administrator provide a kind of faster, efficient, facilitate heterogeneous database moving method.
This invention address that the technical scheme of above-mentioned technical problem is:
Described method be first to the connection of various conventional relational datas, increase, delete, look into, change operation, write and packaged a set of public JAVA program; When needs migrate data, operator choose the one-to-one relationship between the table that source database, the table needing reading and target database, needs write on operation interface, then select to carry out simultaneously operating.
Described method comprises the steps:
1st step, first write a set of public each conventional coefficient of relationship JAVA method according to storehouse, to the connection of conventional relational data, increase, delete, look into, change operation and be packaged;
2nd step, create storehouse and table relationship by objective (RBO) type data base, first create table major key, index, constraint etc.;
3rd step, operation interface on fill in: source database IP, source database user name, source database password, source data library name, need read table and target database IP, target database user name, target database password, target data library name, need write table between corresponding relation;
" synchronization " button on 4th step, clicking operation interface, background program arranges migration data according to what choose;
5th step, back within the 3rd step, until the whole table of data base has migrated;
6th step, at operation interface testing data transport number;
7th step, create table major key, index, constraint etc. in target database.
The invention has the beneficial effects as follows: isomeric relationship type database data migration function, it is possible to allow and realize Data Migration between different relevant databases, for data base administrator provide a kind of faster, efficient, facilitate heterogeneous database moving method. Reduce the workload of Data Migration, Data Migration error rate.
Accompanying drawing explanation
Below in conjunction with accompanying drawing, the present invention is further described:
Fig. 1 is general isomeric relationship type database migration flow chart.
Detailed description of the invention
The present invention passes through the connection to various conventional relational datas, increases, deletes, looks into, changes operation, write and packaged a set of public JAVA program, when needs do migration data, operator choose the one-to-one relationship between the table that source database, the table needing reading and target database, needs write on operation interface, click " synchronization " button, can easily realize the Data Migration of two heterogeneous databases.
In detail below for mysql database data migration to oracle database.
As shown in Figure 1, it is mysql database data migration to oracle database flow chart; General isomeric relationship type database migration comprises the steps:
1st step, first write a set of public each conventional coefficient of relationship JAVA method according to storehouse, to the connection of conventional relational data, increase, delete, look into, change operation and be packaged;
2nd step, create storehouse and table at oracle relevant database, first create table major key, index, constraint etc.;
3rd step, operation interface on fill in: mysql data base's IP, mysql database user name, mysql database password, mysql database name, need read table and oracle database IP, oracle database user name, oracle database password, oracle database name, need write table between corresponding relation;
" synchronization " button on 4th step, clicking operation interface, background program arranges migration data according to what choose;
5th step, back within the 3rd step, until the whole table of data base has migrated;
6th step, at operation interface testing data transport number;
7th step, create table major key, index, constraint etc. in oracle database.

Claims (2)

1. the method for isomeric relationship type database data migration one kind general, it is characterised in that: described method be first to the connection of various conventional relational datas, increase, delete, look into, change operation, write and packaged a set of public JAVA program; When needs migrate data, operator choose the one-to-one relationship between the table that source database, the table needing reading and target database, needs write on operation interface, then select to carry out simultaneously operating.
2. the method for general isomeric relationship type database data migration according to claim 1, it is characterised in that: described method comprises the steps:
1st step, first write a set of public each conventional coefficient of relationship JAVA method according to storehouse, to the connection of conventional relational data, increase, delete, look into, change operation and be packaged;
2nd step, create storehouse and table relationship by objective (RBO) type data base, first create table major key, index, constraint etc.;
3rd step, operation interface on fill in: source database IP, source database user name, source database password, source data library name, need read table and target database IP, target database user name, target database password, target data library name, need write table between corresponding relation;
" synchronization " button on 4th step, clicking operation interface, background program arranges migration data according to what choose;
5th step, back within the 3rd step, until the whole table of data base has migrated;
6th step, at operation interface testing data transport number;
7th step, create table major key, index, constraint etc. in target database.
CN201511017595.2A 2015-12-28 2015-12-28 Universal method for migrating heterogeneous relational database Withdrawn CN105677738A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201511017595.2A CN105677738A (en) 2015-12-28 2015-12-28 Universal method for migrating heterogeneous relational database

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201511017595.2A CN105677738A (en) 2015-12-28 2015-12-28 Universal method for migrating heterogeneous relational database

Publications (1)

Publication Number Publication Date
CN105677738A true CN105677738A (en) 2016-06-15

Family

ID=56297921

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201511017595.2A Withdrawn CN105677738A (en) 2015-12-28 2015-12-28 Universal method for migrating heterogeneous relational database

Country Status (1)

Country Link
CN (1) CN105677738A (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103440273A (en) * 2013-08-06 2013-12-11 北京航空航天大学 Data cross-platform migration method and device
US20150019488A1 (en) * 2013-07-09 2015-01-15 Oracle International Corporation Automated database migration architecture

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150019488A1 (en) * 2013-07-09 2015-01-15 Oracle International Corporation Automated database migration architecture
CN103440273A (en) * 2013-08-06 2013-12-11 北京航空航天大学 Data cross-platform migration method and device

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
HAPPYQING: "从mysql迁移到db2,迁移工具IBM Migration Toolkit 2.0", 《ITEYE博客HTTP://HAPPYQING.ITEYE.COM/BLOG/2263764》 *

Similar Documents

Publication Publication Date Title
US20230351287A1 (en) Resource grouping for resource dependency system and graphical user interface
US20200278966A1 (en) Optimization of database queries for database systems and environments
US9619549B2 (en) Reporting and summarizing metrics in sparse relationships on an OLTP database
US8589336B1 (en) Framework for automated storage processes and flexible workflow
EP2577507B1 (en) Data mart automation
WO2017186774A1 (en) Systems and methods for querying databases
US20150081666A1 (en) Systems and methods for optimizing database queries
US10977224B2 (en) Dynamic modeling of data in relational databases
CN102426582B (en) Data manipulation management devices and data manipulation management method
US20190102427A1 (en) Online optimizer statistics maintenance during load
US9946702B2 (en) Digital processing system for transferring data for remote access across a multicomputer data network and method thereof
JP2016519810A (en) Scalable analysis platform for semi-structured data
CN103810152A (en) Visualized formula editor
AU2015218513B2 (en) Versatile data model
US20170337040A1 (en) Extendable Framework for Developing Applications
KR20150010655A (en) System and method for modelling data
US20170371903A1 (en) Dynamic modeling of data in relational databases
CN103914290A (en) Operating command processing method and device
US20220269702A1 (en) Intelligent annotation of entity-relationship data models
CN104615713A (en) SQL executing method and device based on multiple database types
CN104866598A (en) Heterogeneous database integrating method based on configurable templates
CN105975489A (en) Metadata-based online SQL code completion method
CN106557307A (en) The processing method and processing system of business datum
CN103678396A (en) Data backup method and device based on data models
Yaish et al. A multi-tenant database architecture design for software applications

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
WW01 Invention patent application withdrawn after publication

Application publication date: 20160615

WW01 Invention patent application withdrawn after publication