Migrating data using an intermediate self-describing format
First Claim
1. A machine-implemented method, comprising:
- reading a set of source data, wherein the set of source data conforms to a source schema;
determining, based on a first mapping, that a first conversion mechanism is capable of converting the set of source data into a first set of intermediate data that conforms to a first intermediate schema that differs from the source schema;
determining, based on a second mapping, that a second conversion mechanism is capable of converting the first set of intermediate data into a second set of intermediate data that conforms to a second intermediate schema that differs from both the source schema and the first intermediate schema;
determining, based on one or more third mappings, that one or more third conversion mechanisms are capable of converting the second set of intermediate data into a set of target data that conforms to a target schema that differs from the source schema, the first intermediate schema, and the second intermediate schema;
in response to determining that the first conversion mechanism is capable of converting the set of source data into the first set of intermediate data, automatically converting the set of source data into the first set of intermediate data via the first conversion mechanism;
in response to determining that the second conversion mechanism is capable of converting the first set of intermediate data into the second set of intermediate data, automatically converting the first set of intermediate data into the second set of intermediate data via the second conversion mechanism;
in response to determining that the one or more third conversion mechanisms are capable of converting the second set of intermediate data into the set of target data, automatically converting the second set of intermediate data into the set of target data via the one or more third conversion mechanisms; and
writing the set of target data.
2 Assignments
0 Petitions
Accused Products
Abstract
In accordance with one embodiment of the present invention, there is provided a technique for migrating data using a self-describing format. According to an embodiment of the technique, a first source data set, which is in a source-specific format and which conforms to a source schema, is read from a source database. Based on the structure of the first source data set, a second source data set, which conforms to the source schema but which is in a self-describing format, is generated. The second source data set is automatically converted to a first target data set, which is in the self-describing format but which conforms to a target schema. Based on the structure of the first target data set, a second target data set, which conforms to the target schema but which is in a target-specific format, is generated. The second target data set is written to a target database.
-
Citations
25 Claims
-
1. A machine-implemented method, comprising:
-
reading a set of source data, wherein the set of source data conforms to a source schema; determining, based on a first mapping, that a first conversion mechanism is capable of converting the set of source data into a first set of intermediate data that conforms to a first intermediate schema that differs from the source schema; determining, based on a second mapping, that a second conversion mechanism is capable of converting the first set of intermediate data into a second set of intermediate data that conforms to a second intermediate schema that differs from both the source schema and the first intermediate schema; determining, based on one or more third mappings, that one or more third conversion mechanisms are capable of converting the second set of intermediate data into a set of target data that conforms to a target schema that differs from the source schema, the first intermediate schema, and the second intermediate schema; in response to determining that the first conversion mechanism is capable of converting the set of source data into the first set of intermediate data, automatically converting the set of source data into the first set of intermediate data via the first conversion mechanism; in response to determining that the second conversion mechanism is capable of converting the first set of intermediate data into the second set of intermediate data, automatically converting the first set of intermediate data into the second set of intermediate data via the second conversion mechanism; in response to determining that the one or more third conversion mechanisms are capable of converting the second set of intermediate data into the set of target data, automatically converting the second set of intermediate data into the set of target data via the one or more third conversion mechanisms; and writing the set of target data. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12)
-
-
13. A computer-readable storage medium carrying one or more sequences of instructions, which instructions, when executed by one or more processors, cause the one or more processors to carry out the steps of:
-
reading a set of source data, wherein the set of source data conforms to a source schema; determining, based on a first mapping, that a first conversion mechanism is capable of converting the set of source data into a first set of intermediate data that conforms to a first intermediate schema that differs from the source schema; determining, based on a second mapping, that a second conversion mechanism is capable of converting the first set of intermediate data into a second set of intermediate data that conforms to a second intermediate schema that differs from both the source schema and the first intermediate schema; determining, based on one or more third mappings, that one or more third conversion mechanisms are capable of converting the second set of intermediate data into a set of target data that conforms to a target schema that differs from the source schema, the first intermediate schema, and the second intermediate schema; in response to determining that the first conversion mechanism is capable of converting the set of source data into the first set of intermediate data, automatically converting the set of source data into the first set of intermediate data via the first conversion mechanism; in response to determining that the second conversion mechanism is capable of converting the first set of intermediate data into the second set of intermediate data, automatically converting the first set of intermediate data into the second set of intermediate data via the second conversion mechanism; in response to determining that the one or more third conversion mechanisms are capable of converting the second set of intermediate data into the set of target data, automatically converting the second set of intermediate data into the set of target data via the one or more third conversion mechanisms; and writing the set of target data. - View Dependent Claims (14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24)
-
-
25. An apparatus of a computer system, comprising:
-
a mechanism for reading a set of source data, wherein the set of source data conforms to a source schema; a mechanism for determining, based on a first mapping, that a first conversion mechanism is capable of converting the set of source data into a first set of intermediate data that conforms to a first intermediate schema that differs from the source schema; a mechanism for determining, based on a second mapping, that a second conversion mechanism is capable of converting the first set of intermediate data into a second set of intermediate data that conforms to a second intermediate schema that differs from both the source schema and the first intermediate schema; a mechanism for determining, based on one or more third mappings, that one or more third conversion mechanisms are capable of converting the second set of intermediate data into a set of target data that conforms to a target schema that differs from the source schema, the first intermediate schema, and the second intermediate schema; the first conversion mechanism for automatically converting the set of source data into the first set of intermediate data in response to determining that the first conversion mechanism is capable of converting the set of source data into the first set of intermediate data; the second conversion mechanism for automatically converting the first set of intermediate data into the second set of intermediate data in response to determining that the second conversion mechanism is capable of converting the first set of intermediate data into the second set of intermediate data; the one or more third conversion mechanisms for automatically converting the second set of intermediate data into the set of target data in response to determining that the one or more third conversion mechanisms are capable of converting the second set of intermediate data into the set of target data; and a mechanism for writing the set of target data.
-
Specification