Method and system for data migration from network database to relational database
First Claim
1. A data migration system for migrating a database from a network data model, where records are interrelated by pointers, to a relational data model, comprising:
- record migration means for creating target records for the relational data model which are arranged in the same way that source records are originally arranged in the network data model;
primary key addition means for adding a primary key to each of the target records so as to uniquely identify the target records;
relation key addition means for selecting each child record from among the target records, identifying a parent record of the child record by referring to the pointers added to the source records, and giving a value of the primary key of the parent record to the child record as a relation key thereof; and
set sequence key addition means for giving set sequence keys to the child records so that the set sequence keys will represent a sequential order of the source records.
3 Assignments
0 Petitions
Accused Products
Abstract
A data migration system that enables a database system to migrate from a network data model to a relational data model in a short development time, without degradation in data integrity. A record migration unit creates target records for the relational data model. The records are arranged in the same way as they originally were in the network data model before data migration has been made. A primary key addition unit then adds a primary key to each of the target records so that they can be uniquely identified. To preserve the original parent-child relationships between records, a relation key addition unit selects each child record from among the target records, identifies the parent of the child record by referring to the pointers added to corresponding source records, and gives a value of the primary key of the parent record to the child record as a relation key thereof. Further, a set sequence key addition unit gives set sequence keys to the child records so that they will represent a sequential order of the source records.
79 Citations
6 Claims
-
1. A data migration system for migrating a database from a network data model, where records are interrelated by pointers, to a relational data model, comprising:
-
record migration means for creating target records for the relational data model which are arranged in the same way that source records are originally arranged in the network data model; primary key addition means for adding a primary key to each of the target records so as to uniquely identify the target records; relation key addition means for selecting each child record from among the target records, identifying a parent record of the child record by referring to the pointers added to the source records, and giving a value of the primary key of the parent record to the child record as a relation key thereof; and set sequence key addition means for giving set sequence keys to the child records so that the set sequence keys will represent a sequential order of the source records. - View Dependent Claims (2, 3, 4)
-
-
5. A computer-readable medium encoded with a computer program for migrating a database from a network data model, where records are interrelated by pointers, to a relational data model, the computer program being designed to run on a computer in order to cause the computer to function as:
-
record migration means for creating target records for the relational data model which are arranged in the same way that source records are originally arranged in the network data model; primary key addition means for adding a primary key to each of the target records so as to uniquely identify the target records; relation key addition means for selecting each child record from among the target records, identifying a parent record of the child record by referring to the pointers added to the source records, and giving a value of the primary key of the parent record to the child record as a relation key thereof; and set sequence key addition means for giving set sequence keys to the child records so that the set sequence keys will represent a sequential order of the source records.
-
-
6. A method of migrating a database from a network data model, where records are interrelated by pointers, to a relational data model, comprising the steps of:
-
creating target records for the relational data model which are arranged in the same way that source records are originally arranged in the network data model; adding a primary key to each of the target records so as to uniquely identify the target records; for each child record selected from among the target records, identifying a parent record of the child record by referring to the pointers added to the source records, and giving a value of the primary key of the identified parent record to the child record as a relation key thereof; and giving set sequence keys to the child records so that the set sequence keys will represent a sequential order of the source records.
-
Specification