# US 2023/0267097 A1 · Managing fleet of multi-tenant logical databases in relational database management system servers

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

- Number: US 2023/0267097 A1
- Document ID: US20230267097A1
- Status: Published application
- Kind: A1
- Application number: 17/677,450
- Filed: 2022-02-22
- Published: 2023-08-24
- Earliest claimed: 2022-02-22
- Assignees: Sap SE
- Applicants: Sap SE
- Inventors: Abhik GUPTA; Nishtha SRIVASTAVA; Vineet SINGH
- Web page: https://patentgrep.com/patent/US20230267097A1

## CPC

- G06F 16/122: {using management policies (point-in-time backing up or restoration of persistent data G06F11/1446; file migration policies for HSM systems G06F16/185)}
- G06F 16/256: {in federated or virtual databases}
- G06F 16/21: Design, administration or maintenance of databases
- G06F 16/284: {Relational databases}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

According to some embodiments, methods and systems may manage a fleet of multi-tenant logical databases in Relational Database Management System (“RDBMS”) servers for a cloud computing environment. The system may include a pool of physical RDBMS servers (e.g., Postgre-Structured Query Language (“SQL”) servers) and a tenant-aware Application Programming Interface (“API”) that is accessed by tenants. A computer processor of a database allocation engine may receive, from the tenant-aware API, a request to provision a logical database including a tenant identifier associated with a requesting tenant. The database allocation may then select an eligible physical RDBMS server in the pool of physical RDBMS servers and allocate a logical database for the requesting tenant via the selected physical RDBMS server (e.g., using the tenant identifier).

## Claims

### Claim 1

A system to manage a fleet of multi-tenant logical databases in Relational Database Management System (“RDBMS”) servers for a cloud computing environment, comprising:
a pool of physical RDBMS servers;
a tenant-aware Application Programming Interface (“API”) accessed by tenants; and
a database allocation engine, including:
a computer processor, and
a computer memory storing instructions that, when executed by the computer processor, cause the database allocation engine to:
receive, from the tenant-aware API, a request to provision a logical database including a tenant identifier associated with a requesting tenant,
select an eligible physical RDBMS server in the pool of physical RDBMS servers, and
allocate a logical database for the requesting tenant via the selected physical RDBMS server using the tenant identifier,
wherein operational intelligence implements a constraint-oriented rule including a maximum number of tenant databases per physical RDBMS server and a physical RDBMS server scaling limit.

### Claim 2 (depends on 1)

The system of claim 1, wherein the selected physical RDBMS server hosts multiple logical databases for multiple tenants.

### Claim 3 (depends on 1)

The system of claim 1, wherein the database allocation engine enforces Role-Based Access Control (“RBAC”) for physical RDBMS servers to preclude access to the allocated logical database by other tenants.

### Claim 4 (depends on 1)

The system of claim 1, wherein the physical RDBMS servers comprise Postgre-Structured Query Language (“SQL”) servers.

### Claim 5 (depends on 1)

The system of claim 1, wherein the allocated logical database is associated with a physical server node having a resource quota manager to gather resource usage metrics associated with tenants.

### Claim 6 (depends on 1)

The system of claim 1, wherein the allocated logical database is associated with a physical server node having a process health manager for automatic monitoring, maintenance, and restoration of node processes.

### Claim 7 (depends on 1)

The system of claim 1, wherein the allocated logical database is associated with operational intelligence to perform at least one of the following: (i) tune a default system allocation algorithm for tenant databases; (ii) tweak scheduling engine parameters for the physical RDBMS servers; (iii) tune backup schedules for specified logical databases; (iv) execute an offline transition of allocated tenant databases to more eligible physical RDBMS servers; (v) perform health checks for the physical RDBMS servers; and (vi) add or remove policy definitions for tenant database operations.

### Claim 8

(canceled)

### Claim 9 (depends on 1)

The system of claim 1, wherein the constraint-oriented rule further comprises: (i) fill-queue database scheduling, iii) affinity-based scheduling, and (iii) size-based scheduling.

### Claim 10

A computer-implemented method to manage a fleet of multi-tenant logical databases in Relational Database Management System (“RDBMS”) servers for a cloud computing environment, comprising:
receiving, at a computer processor of a database allocation engine from a tenant-aware Application Programming Interface (“API”) accessed by tenants, a request to provision a logical database including a tenant identifier associated with a requesting tenant;
selecting an eligible physical RDBMS server from a pool of physical RDBMS servers; and
allocating a logical database for the requesting tenant via the selected physical RDBMS server using the tenant identifier,.
wherein operational intelligence implements a constraint-oriented rule including a maximum number of tenant databases per physical RDBMS server and a physical RDBMS server scaling limit.

### Claim 11 (depends on 10)

The method of claim 10, wherein the selected physical RDBMS server hosts multiple logical databases for multiple tenants.

### Claim 12 (depends on 11)

The method of claim 11, wherein the database allocation engine enforces Role-Based Access Control (“RBAC”) for physical RDBMS servers to preclude access to the allocated logical database by other tenants.

### Claim 13 (depends on 10)

The method of claim 10, wherein the physical RDBMS servers comprise Postgre Structured Query Language (“SQL”) servers.

### Claim 14 (depends on 10)

The method of claim 10, wherein the allocated logical database is associated with a physical server node having a resource quota manager to gather resource usage metrics associated with tenants.

### Claim 15 (depends on 10)

The method of claim 10, wherein the allocated logical database is associated with a physical server node having a process health manager for automatic monitoring, maintenance, and restoration of node processes.

### Claim 16 (depends on 10)

The method of claim 10, wherein the allocated logical database is associated with operational intelligence to perform at least one of the following: (i) tune a default system allocation algorithm for tenant databases; (ii) tweak scheduling engine parameters for the physical RDBMS servers; (iii) tune backup schedules for specified logical databases; (iv) execute an offline transition of allocated tenant databases to more eligible physical RDBMS servers; (v) perform health checks for the physical RDBMS servers; and (vi) add or remove policy definitions for tenant database operations.

### Claim 17

(canceled)

### Claim 18 (depends on 10)

The method of claim 10, wherein the constraint-oriented rule further comprises: (i) fill-queue database scheduling, ii) affinity-based scheduling, and (iii) size-based scheduling

### Claim 19

A non-transitory, computer-readable medium storing instructions, that, when executed by a processor, cause the processor to perform a method to manage a fleet of multi-tenant logical databases in Relational Database Management System (“RDBMS”) servers for a cloud computing environment, the method comprising:
receiving, at a computer processor of a database allocation engine from a tenant-aware Application Programming Interface (“API”) accessed by tenants, a request to provision a logical database including a tenant identifier associated with a requesting tenant;
selecting an eligible physical RDBMS server from a pool of physical RDBMS servers; and
allocating a logical database for the requesting tenant via the selected physical RDBMS server using the tenant identifier,.
wherein operational intelligence implements a constraint-oriented rule including a maximum number of tenant databases per physical RDBMS server and a physical RDBMS server scaling limit.

### Claim 20 (depends on 19)

The medium of claim 19, wherein the selected physical RDBMS server hosts multiple logical databases for multiple tenants.

### Claim 21 (depends on 20)

The medium of claim 20, wherein the database allocation engine enforces Role-Based Access Control (“RBAC”) for physical RDBMS servers to preclude access to the allocated logical database by other tenants.

### Claim 22 (depends on 19)

The medium of claim 19, wherein the physical RDBMS servers comprise Postgre Structured Query Language (“SQL”) servers.
