# US 2014/0207740 A1 · Isolating Resources and Performance in a Database Management System

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

- Number: US 2014/0207740 A1
- Document ID: US20140207740A1
- Status: Published application
- Kind: A1
- Application number: 13/747,686
- Filed: 2013-01-23
- Published: 2014-07-24
- Earliest claimed: 2013-01-23
- Assignees: Microsoft Corporation
- Applicants: Microsoft Corporation
- Inventors: Vivek R. Narasayya; Sudipto Das; Manoj A. Syamala; Hyunjung Park; Surajit Chaudhuri; Badrish Chandramouli; Feng Li
- Web page: https://patentgrep.com/patent/US20140207740A1

## CPC

- G06F 16/21: Design, administration or maintenance of databases
- G06F 11/302: {where the computing system component is a software system}
- G06F 11/3409: {for performance assessment}
- G06F 11/3442: {for planning or managing the needed capacity}
- G06F 11/3495: {for systems}
- G06F 16/217: {Database tuning (G06F16/2282 takes precedence; database performance monitoring G06F11/3409)}
- G06F 16/2379: {Updates performed during online database operations; commit processing}
- G06F 16/24561: {Intermediate data storage techniques for performance improvement}
- G06F 11/3485: {for I/O devices}
- G06F 2201/80: Database-specific techniques
- G06F 2201/815: Virtual
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

Techniques for tenant performance isolation in a multiple-tenant database management system are described. These techniques may include providing a reservation of server resources. The server resources reservation may include a reservation of a central processing unit (CPU), a reservation of Input/Output throughput, and/or a reservation of buffer pool memory or working memory. The techniques may also include a metering mechanism that determines whether the resource reservation is satisfied. The metering mechanism may be independent of an actual resource allocation mechanism associated with the server resource reservation.

## Claims

### Claim 1

A computer-implemented method comprising:
providing, in a database server process, a reservation of one or more server resources for a tenant, the one or more server resources including at least one of a central processing unit (CPU), memory, and an Input/Output (I/O) throughput associated with a server; and
metering the reservation to determine whether the reservation for the tenant is met.

### Claim 2 (depends on 1)

The computer-implemented method of claim 1, wherein the database server process hosts multiple databases of multiple tenants, and the reservation includes at least an amount of the one or more server resources.

### Claim 3 (depends on 1)

The computer-implemented method of claim 1, wherein the reservation of the one or more server resources comprises a reservation of a CPU utilization with respect to a metering interval.

### Claim 4 (depends on 3)

The computer-implemented method of claim 3, wherein the CPU utilization specifies a percentage of CPU time for which a task of the tenant runs on a core of a CPU of the server.

### Claim 5 (depends on 1)

The computer-implemented method of claim 1, wherein the reservation of the one or more server resources comprises a reservation of a CPU time associated with the server, and wherein the metering the reservation comprises:
determining that the tenant fails to utilize the CPU time in response to determining that the tenant has a running task or a runnable task on a core of the server; and
establishing an accountability of the server for the tenant.

### Claim 6 (depends on 1)

The computer-implemented method of claim 1, wherein the reservation of the one or more server resources comprises a reservation of an I/O throughput (IOPS) amount of an IOPS capacity of the server.

### Claim 7 (depends on 1)

The computer-implemented method of claim 1, wherein the reservation of the one or more server resources comprises a reservation of at least one of a buffer pool and a working memory of the server.

### Claim 8 (depends on 1)

The computer-implemented method of claim 1, wherein the metering is independent from the providing the reservation for the tenant.

### Claim 9 (depends on 1)

The computer-implemented method of claim 1, wherein the metering the reservation comprises metering the reservation based on a metering algorithm specific to an individual resource of the one or more server resources.

### Claim 10 (depends on 1)

The computer-implemented method of claim 1, further comprising:
enforcing a maximum limit on resource usages of the one or more server resources for the tenant, the resource usages being associated with a predetermined relative priority that is assigned to the tenant.

### Claim 11

One or more computer-readable media storing computer-executable instructions that, when executed on one or more processors, causes the one or more processors to perform acts comprising:
promising an allocation including at least an amount of one or more server resources for a tenant in a database server process; and
metering the allocation to determine whether the tenant is allocated the amount of the one or more server resources.

### Claim 12 (depends on 11)

The one or more computer-readable media of claim 11, wherein the one or more server resources include at least one of a central processing unit (CPU), memory and or an Input/Output (I/O) throughput at a server associated with the database server process.

### Claim 13 (depends on 11)

The one or more computer-readable media of claim 11, wherein the amount of the one or more server resources comprises an amount of I/O throughput associated with a server during a metering interval, and the metering the allocation comprising:
determining that an I/O throughput associated with a pending I/O request of the tenant is less than the amount of the I/O throughput, and
establishing an accountability of the server for the tenant.

### Claim 14 (depends on 11)

The one or more computer-readable media of claim 11, wherein the amount of the one or more server resources comprises an amount of CPU time for which a task of the tenant runs on a core of a CPU of a server associated with the database server process, and the acts further comprise:
determining whether a workload of the tenant has a sufficient demand to consume the amount of CPU time.

### Claim 15 (depends on 14)

The one or more computer-readable media of claim 14, wherein the acts further comprise:
determining whether the server fails to allocate the amount of CPU time; and
in response to determining that the server fails to allocate the amount of the CPU time and that the workload of the tenant has the sufficient demand to consume the amount of CPU time, establishing an accountability of the server for the tenant.

### Claim 16 (depends on 11)

The one or more computer-readable media of claim 11, wherein the amount of the one or more server resources comprises an amount of a CPU time associated with the server, and the metering the allocation comprising:
determining that the tenant fails to utilize the CPU time;
determining that the tenant has a running task or a runnable task on a core of the server; and
establishing an accountability of the server for the tenant.

### Claim 17

A computing device comprising:
one or more processors; and
memory to maintain a plurality of components executable by the one or more processors, the plurality of components comprising:
a reservation module configured to promise a reservation including at least an amount of a server resource associated with a server to a tenant in a database server process that hosts multiple databases of multiple tenant including the tenant, and
a metering module configured to:
audit the reservation, and
establish an accountability of the server for the tenant when the tenant fails to receive the amount of the server resource.

### Claim 18 (depends on 17)

The computing device of claim 17, wherein the server resource comprises at least one of a central processing unit (CPU), memory and an Input/Output (I/O) throughput of the server.

### Claim 19 (depends on 17)

The computing device of claim 17, wherein the amount of the server resource comprises a percentage of CPU time for which a task of the tenant runs on a core of a CPU of the server, and the metering module is further configured to:
determine whether a workload of the tenant has a sufficient demand to consume the percentage of CPU time.

### Claim 20 (depends on 17)

The computing device of claim 17, wherein the scheduling module is further configured to enable a maximum limit on resource usages of the server resource for the tenant, the maximum limit being determined based at least in part on a predetermined relative priority associated with the tenant.
