# US 2021/0232586 A1 · Table placement in distributed databases

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

- Number: US 2021/0232586 A1
- Document ID: US20210232586A1
- Status: Published application
- Kind: A1
- Application number: 17/207,512
- Filed: 2021-03-19
- Published: 2021-07-29
- Earliest claimed: 2013-11-26
- Assignees: Sap SE
- Applicants: Sap SE
- Inventors: Hans-Joerg Leu; Christian Bensberg; Johannes Beigel; Jochen Becker; Carsten Mueller
- Web page: https://patentgrep.com/patent/US20210232586A1

## CPC

- G06F 16/24554: {Unary operations; Data partitioning operations}
- G06F 16/2365: {Ensuring data consistency and integrity}
- G06F 16/27: Replication, distribution or synchronisation of data between databases or within a distributed database system; Distributed database system architectures therefor
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A node type of a plurality of distributed nodes to which a table to be added to a distributed database should be assigned can be identified by applying a set of placement rules defined for the table. The set of placement rules can also be applied to determine whether the table should be partitioned into more than one partition. A table group name associated with the table can be obtained and used in conjunction with the node type and determination of whether to partition the table to store the table in the distributed database on at least one node of the plurality of nodes as one or more partitions.

## Claims

### Claim at position 1

1-17. (canceled)

### Claim 18

A system comprising:
at least one programmable processor; and
at least one memory including program code which when executed by the at least one programmable processor causes operations comprising:
dividing, based on table classification information for a table stored across a plurality of partitions in a distributed database, a first partition of the plurality of partitions into more than one partition by creating a new partition for the first partition, the distributed database comprising a plurality of tables located on a plurality of distributed nodes; and
placing, based on the table classification information, the new partition onto at least one available distributed node of the plurality of distributed nodes.

### Claim 19 (depends on 18)

The system of claim 18, wherein the table classification information comprises a schema name.

### Claim 20 (depends on 18)

The system of claim 18, wherein the table classification information comprises a table name.

### Claim 21 (depends on 18)

The system of claim 18, wherein the table classification information comprises an application type.

### Claim 22 (depends on 18)

The system of claim 18, wherein the dividing and/or the placing is further based on a table placement rule defined for the table.

### Claim 23 (depends on 18)

The system of claim 18 further comprising:
collecting information about the distributed database, the information including the table classification information and a table placement rule.

### Claim 24 (depends on 23)

The system of claim 23, wherein the table placement rule defines how the table is partitioned.

### Claim 25 (depends on 23)

The system of claim 23, wherein the table placement rule defines where the new partition is to be placed.

### Claim 26 (depends on 23)

The system of claim 23, wherein the table placement rule includes a partition threshold defined for the table.

### Claim 27

A method comprising:
dividing, based on table classification information for a table stored across a plurality of partitions in a distributed database, a first partition of the plurality of partitions into more than one partition by creating a new partition for the first partition, the distributed database comprising a plurality of tables located on a plurality of distributed nodes; and
placing, based on the table classification information, the new partition onto at least one available distributed node of the plurality of distributed nodes.

### Claim 28 (depends on 27)

The method of claim 27, wherein the table classification information comprises a schema name.

### Claim 29 (depends on 27)

The method of claim 27, wherein the table classification information comprises a table name.

### Claim 30 (depends on 27)

The method of claim 27, wherein the table classification information comprises an application type.

### Claim 31 (depends on 27)

The method of claim 27, wherein the dividing and/or the placing is further based on a table placement rule defined for the table.

### Claim 32 (depends on 27)

The method of claim 27 further comprising:
collecting information about the distributed database, the information including the table classification information and a table placement rule.

### Claim 33 (depends on 32)

The method of claim 32, wherein the table placement rule defines how the table is partitioned.

### Claim 34 (depends on 32)

The method of claim 32, wherein the table placement rule defines where the new partition is to be placed.

### Claim 35 (depends on 32)

The method of claim 32, wherein the table placement rule includes a partition threshold defined for the table.

### Claim 36

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:
dividing, based on table classification information for a table stored across a plurality of partitions in a distributed database, a first partition of the plurality of partitions into more than one partition by creating a new partition for the first partition, the distributed database comprising a plurality of tables located on a plurality of distributed nodes; and
placing, based on the table classification information, the new partition onto at least one available distributed node of the plurality of distributed nodes.

### Claim 37 (depends on 36)

The computer program product of claim 36, wherein the table classification information comprises a schema name, a table name, and/or an application type.

### Claim 38 (depends on 36)

The computer program product of claim 36, wherein the dividing and/or the placing is further based on a table placement rule defined for the table.

### Claim 39 (depends on 36)

The computer program product of claim 36 further comprising:
collecting information about the distributed database, the information including the table classification information and a table placement rule.
