Patent ID: 9607021
Date: 2017-03-28
CPC Classifications: G06F

Claim:
1. A computer implemented method for loading data into a target system having a processor, wherein the data comprises entities, each of the entities having a corresponding unique primary data value and one or more corresponding secondary data values, at least a portion of the secondary data values having associated foreign key relationships, each foreign key relationship linking the corresponding secondary data value to the corresponding primary data value of another entity, the method comprising: splitting the entities into insertion leaf groups by execution of an iteration process by the processor, comprising execution of consecutive iterations, wherein execution of each iteration involves generation of a respective set of the insertion leaf groups, the respective set of the insertion leaf groups containing entities whose secondary data values have either no foreign key relationships or only one or more foreign key relationships with the primary data values of the entities of the insertion leaf groups generated during execution of any prior iteration, wherein the iteration process is executed until there are no entities left whose secondary data values have either no foreign key relationships or only one or more foreign key relationships with the primary data values of the one or more entities of the insertion leaf groups generated during execution of any previous iteration, wherein a sequence of generation of the sets of the insertion leaf groups is recorded; and consecutively loading the sets of the insertion leaf groups of the entities and the foreign key relationships linking their secondary data values with the corresponding primary data values into the target system according to the sequence.