Concurrent data imports
AssigneeServiceNow, Inc.
InventorsAmila Chinthaka Suriarachchi, Matthew Breckenridge Stoddart, Lubomir Kostadinov Vardin, Francis van Aeken, Pankaj Puniani
Life of this patent
Estimating the term…
Abstract
In accordance with the present approach, concurrent processing is employed to facilitate a data import process. By way of example, in accordance with the present approach, local or external data to be imported is partitioned into multiple, separate import sets. In the subsequent stage, the import sets are processed concurrently to populate the target table.
Claims20
A system, comprising:
- a memory storing instructions;
- and
- one or more processors configured to execute the instructions, wherein a client instance is hosted by one or more data centers comprising the memory and the one or more processors, wherein the client instance is accessible by one or more remote client networks, wherein the one or more processors are configured to perform operations comprising:
- receiving a selection of data stored external to the client instance;
- partitioning the data into two or more import data sets;
- importing the two or more import data sets to a staging table in the client instance, wherein each import data set comprises a different subset of the data;
- modifying one or more target tables by concurrently processing the two or more import data sets from the staging table to update or insert records in the one or more target tables;
- and
- applying a row lock in a respective target table of the one or more target tables based on an insertion operation to avoid duplication of the data during concurrent processing.
A method of importing an external data set to a cloud instance, comprising:
- partitioning a data set stored external to a client instance into two or more import data sets, wherein the client instance is hosted by one or more data centers and is accessible by one or more remote client networks;
- importing the two or more import data sets to a staging table in the client instance, wherein each import data set comprises a different subset of the data set;
- concurrently processing the two or more import data sets stored in the staging table to update or insert records into one or more target tables;
- and
- applying a row lock in a respective target table of the one or more target tables based on an insertion operation to avoid duplication of data during concurrent processing.
A non-transitory machine-readable storage medium storing executable instructions that, when executed by a processor, cause operations to be performed comprising:
- receiving a selection of data stored external to a client instance;
- partitioning the data into two or more import data sets;
- importing the two or more import data sets to a staging table in the client instance, wherein each import data set comprises a different subset of the data;
- modifying one or more target tables by concurrently processing the two or more imports data sets from the staging table to insert or update records in the one or more target tables;
- and
- applying a row lock in a respective target table of the one or more target tables based on an insertion operation to avoid duplication of the data during concurrent processing.
Dependencies are inferred from the claim text.