# US 2020/0394195 A1 · Implicit partitioning

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

- Number: US 2020/0394195 A1
- Document ID: US20200394195A1
- Status: Published application
- Kind: A1
- Application number: 16/437,799
- Filed: 2019-06-11
- Published: 2020-12-17
- Earliest claimed: 2019-06-11
- Assignees: Sap SE
- Applicants: Sap SE
- Inventors: Christian Bensberg; Mihnea Andrei
- Web page: https://patentgrep.com/patent/US20200394195A1

## CPC

- G06F 16/24554: {Unary operations; Data partitioning operations}
- G06F 16/2246: {Trees, e.g. B+trees}
- G06F 16/2272: {Management thereof}
- G06F 16/278: {Data partitioning, e.g. horizontal or vertical partitioning}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A method, a system and a computer program product for implicitly partitioning data. An index in a plurality of indexes is selected. The index corresponds to a plurality of ranges of data values stored in a plurality of database slices of a database. A partitioning structure for the selected index is generated. The partitioning structure includes a plurality of hierarchically arranged nodes. Each node corresponds to a range of data values in the plurality of ranges of data values stored and at least one database slice storing corresponding range of data values. Another range of data values is received for storage in the database. Using the partitioning structure, a node in the partitioning structure corresponding to the received range of data values and a corresponding database slice for storing the received range of data values are identified. The received range of data values is stored in the identified database slice.

## Claims

### Claim 1

A computer-implemented method, comprising:
selecting an index in a plurality of indexes, the index corresponding to a plurality of ranges of data values stored in a plurality of database slices of a database;
generating a partitioning structure for the selected index, the partitioning structure including a plurality of hierarchically arranged nodes, each node corresponding to a range of data values in the plurality of ranges of data values stored and at least one database slice storing the corresponding range of data values;
receiving another range of data values for storage in the database;
identifying, using the generated partitioning structure, a node in the generated partitioning structure corresponding to the received another range of data values and at least one corresponding database slice configured to store the received another range of data values; and
storing the received another range of data values in the identified at least one database slice.

### Claim 2 (depends on 1)

The method according to claim 1, wherein the identifying includes identifying another database slice configured to store the received another range of data values upon a determination that the identified database slice is unable to store the received another range of data values.

### Claim 3 (depends on 2)

The method according to claim 2, wherein the storing includes storing the received another range of data values in the identified another database slice.

### Claim 4 (depends on 1)

The method according to claim 1, wherein the identifying includes generating another database slice configured to store the received another range of data values.

### Claim 5 (depends on 4)

The method according to claim 4, further comprising modifying the generated partitioning structure to include at least another node corresponding to the received another range of data values.

### Claim 6 (depends on 4)

The method according to claim 4, wherein the another database slice is generated upon a determination that the identified database slice is unable to store the received another range of data values.

### Claim 7 (depends on 6)

The method according to claim 6, wherein the storing includes storing the received another range of data values in the generated another database slice.

### Claim 8 (depends on 1)

The method according to claim 1, wherein at least one of the node and the database slice are identified using the selected index.

### Claim 9 (depends on 1)

The method according to claim 1, wherein the identifying is performed using at least one insert policy defining at least one of the node in the generated partitioning structure corresponding to the received another range of data values and at least one corresponding database slice configured to store the received another range of data values.

### Claim 10 (depends on 9)

The method according to claim 9, wherein the identifying includes identifying, in accordance with the insert policy, using the generated partitioning structure, another node in the generated partitioning structure corresponding to the received another range of data values using a predetermined threshold hop distance between the identified node and the another node and identifying at least one database slice corresponding to the another node configured to store the received another range of data values.

### Claim 11 (depends on 10)

The method according to claim 10, wherein the predetermined threshold hop distance is at least two hops.

### Claim 12 (depends on 1)

The method according to claim 1, wherein the storing includes at least one of the following: insertion of the received another range of data into the identified at least one database slice, modification of data stored in the identified at least one database slice using the received another range of data, deletion of data stored in the identified at least one database slice, and any combination thereof.

### Claim 13 (depends on 1)

The method according to claim 1, further comprising
selecting another index in a plurality of indexes, the another index corresponding to a another plurality of ranges of data values stored in the plurality of database slices of the database;
generating another partitioning structure for the selected another index, the another partitioning structure including another plurality of hierarchically arranged nodes, each node corresponding to another range of data values in the plurality of another ranges of data values stored and the at least one database slice storing the corresponding another range of data values;
identifying, using the generated another partitioning structure and the generated partitioning structure, at least one database slice configured to store the received another range of data values; and
storing the received another range of data values in the identified at least one database slice.

### Claim 14

A system comprising:
at least one programmable processor; and
a non-transitory machine-readable medium storing instructions that, when executed by the at least one programmable processor, cause the at least one programmable processor to perform operations comprising:
selecting an index in a plurality of indexes, the index corresponding to a plurality of ranges of data values stored in a plurality of database slices of a database;
generating a partitioning structure for the selected index, the partitioning structure including a plurality of hierarchically arranged nodes, each node corresponding to a range of data values in the plurality of ranges of data values stored and at least one database slice storing the corresponding range of data values;
receiving another range of data values for storage in the database;
identifying, using the generated partitioning structure, a node in the generated partitioning structure corresponding to the received another range of data values and at least one corresponding database slice configured to store the received another range of data values; and
storing the received another range of data values in the identified at least one database slice.

### Claim 15 (depends on 14)

The system according to claim 14, wherein the identifying includes identifying another database slice configured to store the received another range of data values upon a determination that the identified database slice is unable to store the received another range of data values;
wherein the storing includes storing the received another range of data values in the identified another database slice.

### Claim 16 (depends on 14)

The system according to claim 14, wherein the identifying includes generating another database slice configured to store the received another range of data values;
the operations further comprise modifying the generated partitioning structure to include at least another node corresponding to the received another range of data values;
the another database slice is generated upon a determination that the identified database slice is unable to store the received another range of data values;
the storing includes storing the received another range of data values in the generated another database slice.

### Claim 17 (depends on 14)

The system according to claim 14, wherein at least one of the node and the database slice are identified using the selected index.

### Claim 18 (depends on 14)

The system according to claim 14, wherein the identifying is performed using at least one insert policy defining at least one of the node in the generated partitioning structure corresponding to the received another range of data values and at least one corresponding database slice configured to store the received another range of data values;
the identifying includes identifying, in accordance with the insert policy, using the generated partitioning structure, another node in the generated partitioning structure corresponding to the received another range of data values using a predetermined threshold hop distance between the identified node and the another node and identifying at least one database slice corresponding to the another node configured to store the received another range of data values.

### Claim 19 (depends on 14)

The system according to claim 14, wherein the operations further comprise
selecting another index in a plurality of indexes, the another index corresponding to a another plurality of ranges of data values stored in the plurality of database slices of the database;
generating another partitioning structure for the selected another index, the another partitioning structure including another plurality of hierarchically arranged nodes, each node corresponding to another range of data values in the plurality of another ranges of data values stored and the at least one database slice storing the corresponding another range of data values;
identifying, using the generated another partitioning structure and the generated partitioning structure, at least one database slice configured to store the received another range of data values; and
storing the received another range of data values in the identified at least one database slice.

### Claim 20

A computer program product comprising a non-transitory machine-readable medium storing instructions that, when executed by at least one programmable processor, cause the at least one programmable processor to perform operations comprising:
selecting an index in a plurality of indexes, the index corresponding to a plurality of ranges of data values stored in a plurality of database slices of a database;
generating a partitioning structure for the selected index, the partitioning structure including a plurality of hierarchically arranged nodes, each node corresponding to a range of data values in the plurality of ranges of data values stored and at least one database slice storing the corresponding range of data values;
receiving another range of data values for storage in the database;
identifying, using the generated partitioning structure, a node in the generated partitioning structure corresponding to the received another range of data values and at least one corresponding database slice configured to store the received another range of data values; and
storing the received another range of data values in the identified at least one database slice.
