# US 2020/0394209 A1 · Multi-master with ownership transfer

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

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

## CPC

- G06F 16/27: Replication, distribution or synchronisation of data between databases or within a distributed database system; Distributed database system architectures therefor
- G06F 16/278: {Data partitioning, e.g. horizontal or vertical partitioning}
- G06F 16/273: {Asynchronous replication or reconciliation}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A method, a system and a computer program product for executing management of ownership of 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. The index further corresponds to a partitioning structure that includes a plurality of hierarchically arranged nodes. Each node corresponds to a range of data values stored in at least one database slice. The structure is replicated across a plurality of computing systems. A computing system executes an update to one or more ranges of data values. The system replicates at least one of a database slice including the updated ranges of data values and a node that includes the updated ranges of data values to another computing system for storage of a replicate of the updated ranges of data values.

## 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, the index corresponding to a 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 in at least one database slice, the partitioning structure being replicated across a plurality of computing systems;
executing, by a computing system in the plurality of computing systems, an update to one or more ranges of data values; and
replicating, by the computing system, at least one of: a database slice including the updated one or more ranges of data values and a node including the updated one or more ranges of data values, to another computing system in the plurality of computing systems for storage of a replicate of the updated one or more ranges of data values.

### Claim 2 (depends on 1)

The method according to claim 1, wherein the replicating includes replicating the node including the updated one or more ranges of data values to the another computing system based on a number of updates to the one or more ranges of data values being greater than a predetermined threshold number of updates.

### Claim 3 (depends on 1)

The method according to claim 1, wherein the executing includes generating another database slice configured to store the updated one or more ranges of data values.

### Claim 4 (depends on 1)

The method according to claim 1, wherein one or more slices in the plurality of slices is configured to be owned by one or more computing systems in the plurality of computing systems independently of one or more nodes in the plurality of hierarchically arranged nodes, wherein ownership of one or more slices is configured to be transferred independently of ownership of the one or more nodes in the plurality of hierarchically arranged nodes by one or more computing systems.

### Claim 5 (depends on 3)

The method according to claim 3, further comprising replicating, by the computing system, the generated another database slice to the another database system.

### Claim 6 (depends on 5)

The method according to claim 5, further comprising
storing the generated another database slice by the another computing;
executing, by the another computing system, an update to one or more ranges of data values in the another database slice; and
replicating, by the another computing system, the another database slice to the computing system and storing a replica of the updated one or more ranges of data values in the another database slice by the computing system.

### Claim 7 (depends on 1)

The method according to claim 1, wherein the replicating includes an asynchronous replicating.

### Claim 8 (depends on 1)

The method according to claim 1, wherein the executing includes at least one of the following: an insertion of the update to one or more ranges of data values into one or more database slices, modification of data stored in one or more database slices using the update to one or more ranges of data values, deletion of data one or more database slices, and any combination thereof.

### Claim 9

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, the index corresponding to a 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 in at least one database slice, the partitioning structure being replicated across a plurality of computing systems;
executing, by a computing system in the plurality of computing systems, an update to one or more ranges of data values; and
replicating, by the computing system, at least one of: a database slice including the updated one or more ranges of data values and a node including the updated one or more ranges of data values, to another computing system in the plurality of computing systems for storage of a replicate of the updated one or more ranges of data values.

### Claim 10 (depends on 9)

The system according to claim 9, wherein the replicating includes replicating the node including the updated one or more ranges of data values to the another computing system based on a number of updates to the one or more ranges of data values being greater than a predetermined threshold number of updates.

### Claim 11 (depends on 9)

The system according to claim 9, wherein the executing includes generating another database slice configured to store the updated one or more ranges of data values.

### Claim 12 (depends on 9)

The system according to claim 9, wherein one or more slices in the plurality of slices is configured to be owned by one or more computing systems in the plurality of computing systems independently of one or more nodes in the plurality of hierarchically arranged nodes, wherein ownership of one or more slices is configured to be transferred independently of ownership of the one or more nodes in the plurality of hierarchically arranged nodes by one or more computing systems.

### Claim 13 (depends on 11)

The system according to claim 11, wherein the operations further comprise replicating, by the computing system, the generated another database slice to the another database system.

### Claim 14 (depends on 13)

The system according to claim 13, wherein the operations further comprise storing the generated another database slice by the another computing;
executing, by the another computing system, an update to one or more ranges of data values in the another database slice; and
replicating, by the another computing system, the another database slice to the computing system and storing a replica of the updated one or more ranges of data values in the another database slice by the computing system.

### Claim 15 (depends on 9)

The system according to claim 9, wherein the replicating includes an asynchronous replicating.

### Claim 16 (depends on 9)

The system according to claim 9, wherein the executing includes at least one of the following: an insertion of the update to one or more ranges of data values into one or more database slices, modification of data stored in one or more database slices using the update to one or more ranges of data values, deletion of data one or more database slices, and any combination thereof.

### Claim 17

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, the index corresponding to a 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 in at least one database slice, the partitioning structure being replicated across a plurality of computing systems;
executing, by a computing system in the plurality of computing systems, an update to one or more ranges of data values; and
replicating, by the computing system, at least one of: a database slice including the updated one or more ranges of data values and a node including the updated one or more ranges of data values, to another computing system in the plurality of computing systems for storage of a replicate of the updated one or more ranges of data values.

### Claim 18 (depends on 17)

The computer program product according to claim 17, wherein the replicating includes replicating the node including the updated one or more ranges of data values to the another computing system based on a number of updates to the one or more ranges of data values being greater than a predetermined threshold number of updates.

### Claim 19 (depends on 17)

The computer program product according to claim 17, wherein the executing includes generating another database slice configured to store the updated one or more ranges of data values.

### Claim 20 (depends on 17)

The computer program product according to claim 17, wherein one or more slices in the plurality of slices is configured to be owned by one or more computing systems in the plurality of computing systems independently of one or more nodes in the plurality of hierarchically arranged nodes, wherein ownership of one or more slices is configured to be transferred independently of ownership of the one or more nodes in the plurality of hierarchically arranged nodes by one or more computing systems.
