Method of transferring data between relational database tables
First Claim
Patent Images
1. A method of operating a computer system to determine a sequence in which data should be moved from a number of source tables to a number of destination tables in a relational database, comprising the steps of:
- determining a number of pairs of database tables, each pair including at least one table in a source relational database and at least one table in a destination database; and
sorting the number of pairs of database tables by determining if each destination table has a foreign key to another destination table in the number of pairs of database tables and, if so,arranging the number of pairs of database tables in a sequence so that tables having a foreign key are filled with data from a source table after the destination table to which the foreign key refers; and
repeating the steps of determining if each destination table has a foreign key to another destination table and arranging the sequence to ensure that the tables are in a least dependent order.
3 Assignments
0 Petitions
Accused Products
Abstract
A method of generating a computer system to determine a sequence of data transfers required to move data from one or more tables in a source database into a corresponding destination table in a relational database. A randomly ordered list of destination tables is created and sorted such that the destination tables are arranged in a least dependent order so that data is moved into tables before data is moved into tables that contain foreign keys.
30 Citations
2 Claims
-
1. A method of operating a computer system to determine a sequence in which data should be moved from a number of source tables to a number of destination tables in a relational database, comprising the steps of:
-
determining a number of pairs of database tables, each pair including at least one table in a source relational database and at least one table in a destination database; and sorting the number of pairs of database tables by determining if each destination table has a foreign key to another destination table in the number of pairs of database tables and, if so, arranging the number of pairs of database tables in a sequence so that tables having a foreign key are filled with data from a source table after the destination table to which the foreign key refers; and repeating the steps of determining if each destination table has a foreign key to another destination table and arranging the sequence to ensure that the tables are in a least dependent order. - View Dependent Claims (2)
-
Specification