Data partitioning and transfer system
Abstract
Disclosed herein are system, method, and computer program product embodiments for providing data partitioning and transferring operations. An embodiment operates by determining a partition size and a number of partitions for an initial data set to be transferred from a first location to a second location. A uniqueness factor for at least a subset of the columns of the dataset is determined, and a set of unique columns is identified from the initial data set based on the uniqueness factor. Based on the partition size, a set of values from the row records from the set of unique columns is identified. Based on the identified set of values, the initial data set is partitioned into the number of partitions. One of transmitting or receiving at least one of the partitions is performed.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 5 · Forward citations: 0.
Claims (9)
- Claim 1Independent Claim
A computer-implemented method comprising: determining a partition size and a number of partitions for each of a plurality of partitions by which to partition an initial data set to be transferred from a first location to a second location, wherein the initial data set comprises a plurality of columns, each column including a plurality of row records to be partitioned; determining a uniqueness factor for each column of a subset comprising two or more of the plurality of columns of the initial dataset, wherein the uniqueness factor indicates a count of how many unique values are stored across the plurality of rows of each column of the subset, and wherein the uniqueness factor for each column of the subset is less than a number of rows for each respective column of the subset; identifying a partition set of two or more columns from the subset to use to partition the initial data set, wherein the identifying is based on a combined uniqueness factor for the identified partition set of two or more columns being greater than or equal to the number of partitions; identifying, based on the partition size, a set of values from the row records from the partition set of columns; partitioning, based on the identified set of values, the initial data set into the number of partitions; and performing one of transmitting or receiving at least one of the partitions.
- Claim 2Depends on #1
The method of claim 1 , wherein determining the uniqueness factor comprises: determining a primary key from metadata associated with the initial data set, wherein the partition set of two or more columns incudes the primary key.
- Claim 3Depends on #1
The method of claim 1 , wherein determining the uniqueness factor comprises: determining a set of defined columns provided by a user; determining the uniqueness factor for each of the columns of the defined set of columns; and determining that the partition set of two or more columns incudes the set of defined columns.
- Claim 4Depends on #1
The method of claim 1 , wherein determining the uniqueness factor comprises: determining a set of a plurality of suggested columns provided by a user; determining the uniqueness factor for the set of suggested columns; and determining that the partition set of two or more columns includes one or more of the plurality of suggested columns, wherein one or more of the plurality of suggested columns is not included in the partition set.
- Claim 5Depends on #1
The method of claim 1 , wherein determining the uniqueness factor comprises: determining a set of suggested columns provided by a user; determining the uniqueness factor for the set of suggested columns; determining that no unique set of columns corresponding to the number of partitions exist amongst the set of suggested columns; determining the uniqueness factor for at least one or more columns other than the set of suggested columns; and identifying the set of unique columns from the set of suggested columns and the one more other columns.
- Claim 6Depends on #1
The method of claim 1 , wherein the identifying the set of values comprises: determining that each of the plurality of the partitions includes a same number of records, except for one partition that includes a different number of records.
- Claim 7Depends on #1
The method of claim 1 , wherein the determining the partition size and the number of partitions comprises: receiving at least one of the partition size or the number of partitions from a user.
- Claim 8Depends on #7
The method of claim 7 , wherein the determining the partition size and the number of partitions comprises: determining at least one of the partition size or the number of partitions based on computing resource availability.
- Claim 9Depends on #2
The method of claim 2 , further comprising: determining a threshold for the partition size, wherein the threshold comprises a value indicating an allowable v
Technical Overview & Description
BACKGROUND It is often difficult to transfer large data sets between different computing systems, such as databases. The size of the dataset may be too large or consume too many resources to be transferred as a single block of data due to limits on available memory, bandwidth, processing resources, and/or storage space. An administrator may attempt to manually analyze the data and manually divide the data into different partitions—with the intent of transmitting each partition individually. However this partitioning process may be difficult if not impossible to be successfully accomplish manually with a large data set—especially if the data set is live being read and/or modified by one or more requests). BRIEF DESCRIPTION OF THE DRAWINGS The accompanying drawings are incorporated herein and form a part of the specification. FIG. 1 is a block diagram illustrating example functionality for providing a data partitioning and transferring system (DPS), according to some embodiments. FIGS. 2A and 2B illustrate an example of how an exemplary data set may be partitioned by the data partitioning and transfer system (DPS), according to some embodiments. FIG. 3 is a flowchart illustrating example operations of a data partitioning and transferring system (DPS), according to some embodiments. FIG. 4 is example computer system useful for implementing various embodiments. In the drawings, like reference numbers generally indicate identical or similar elements. Additionally, generally, the left-most digit(s) of a reference number identifies the drawing in which the reference number first appears. DETAILED DESCRIPTION Provided herein are system, apparatus, device, method and/or computer program product embodiments, and/or combinations and sub-combinations thereof, for providing data partitioning and transferring. FIG. 1 is a block diagram 100 illustrating ex
Cited By — Indexed Forward Citations (0 of 0 total)
No indexed citing patents in this generation yet. Ingest USPTO/PatentsView bulk citation tables via patents-ingest to expand the local forward citation graph.
References Cited — Backward Prior Art (5)
| Patent | Title | Year | Citations |
|---|