# US 11,120,049 B2 · Concurrent data imports

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 11,120,049 B2
- Document ID: US11120049B2
- Status: Granted
- Kind: B2
- Application number: 16/195,545
- Filed: 2018-11-19
- Published: 2020-05-21
- Granted: 2021-09-14
- Earliest claimed: 2018-11-19
- Assignees: ServiceNow, Inc.
- Applicants: ServiceNow, Inc.
- Inventors: Amila Chinthaka Suriarachchi; Matthew Breckenridge Stoddart; Lubomir Kostadinov Vardin; Francis van Aeken; Pankaj Puniani
- Web page: https://patentgrep.com/patent/US11120049B2

## CPC

- G06F 16/278: {Data partitioning, e.g. horizontal or vertical partitioning}
- G06F 16/2282: {Tablespace storage structures; Management thereof}
- G06F 16/2379: {Updates performed during online database operations; commit processing}
- G06F 16/254: {Extract, transform and load [ETL] procedures, e.g. ETL data flows in data warehouses}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## 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.

## Claims

### Claim 1

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.

### Claim 2 (depends on 1)

The system of claim 1, wherein the data stored external to the client instance comprises data generated and stored locally by at least one client device on the one or more remote client networks.

### Claim 3 (depends on 1)

The system of claim 1, wherein the data stored external to the client instance comprises data generated by one or more applications external to the client instance.

### Claim 4 (depends on 1)

The system of claim 1, wherein importing the two or more import data sets is performed on a scheduled or periodic basis.

### Claim 5 (depends on 1)

The system of claim 1, wherein concurrently processing the two or more import data sets comprises mapping the import data sets from a staging table layout or format to a target table layout or format.

### Claim 6 (depends on 5)

The system of claim 5, wherein the mapping is based on one or more transform maps.

### Claim 7 (depends on 1)

The system of claim 1, wherein a multi-threaded process is used to concurrently process the two or more import data sets.

### Claim 8 (depends on 1)

The system of claim 1, wherein a number of threads available for concurrently processing the two or more import data sets is based on a number of application nodes running in the client instance.

### Claim 9 (depends on 8)

The system of claim 8, wherein two threads exist for each application node.

### Claim 10

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.

### Claim 11 (depends on 10)

The method of claim 10, wherein concurrently processing the two or more import data sets comprises mapping the import data sets from a staging table layout or format to a target table layout or format.

### Claim 12 (depends on 11)

The method of claim 11, wherein the mapping is based on one or more transform maps.

### Claim 13 (depends on 10)

The method of claim 10, wherein a number of threads available for concurrently processing the two or more import data sets is based on a number of application nodes running in the client instance.

### Claim 14 (depends on 13)

The method of claim 13, wherein two threads exist for each application node.

### Claim 15

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.

### Claim 16 (depends on 15)

The non-transitory machine-readable storage medium of claim 15, wherein concurrently processing the two or more import data sets comprises mapping the import data sets from a staging table layout or format to a target table layout or format.

### Claim 17 (depends on 15)

The non-transitory machine-readable storage medium of claim 15, wherein a multi-threaded process is used to concurrently process the import data sets.

### Claim 18 (depends on 15)

The non-transitory machine-readable storage medium of claim 15, wherein a number of threads available for concurrently processing the two or more import data sets is based on a number of application nodes running in the client instance.

### Claim 19 (depends on 15)

The non-transitory machine-readable storage medium of claim 15, wherein importing the two or more import data sets is performed on a scheduled or periodic basis.

### Claim 20 (depends on 18)

The non-transitory machine-readable storage medium of claim 18, wherein two threads exist for each application node.
