# US 2021/0342197 A1 · NOSQL Database Capacity Configuration Optimization System for Cloud Computing

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

- Number: US 2021/0342197 A1
- Document ID: US20210342197A1
- Status: Published application
- Kind: A1
- Application number: 16/901,861
- Filed: 2020-06-15
- Published: 2021-11-04
- Earliest claimed: 2020-05-04
- Assignees: Accenture Global Solutions Limited
- Applicants: Accenture Global Solutions Limited
- Inventors: Madhan Kumar Srinivasan; Kishore Kumar Gajula
- Web page: https://patentgrep.com/patent/US20210342197A1

## CPC

- G06F 9/5077: {Logical partitioning of resources; Management or configuration of virtualized resources (specific details on emulation or internal functioning of virtual machines G06F9/455)}
- G06F 9/505: {considering the load}
- G06F 11/3442: {for planning or managing the needed capacity}
- G06F 2201/80: Database-specific techniques
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A system includes a multi-layer capacity configuration optimization (CCO) stack to generate a token containing prescriptions for optimize capacity configuration of a database container in a NoSQL database cloud service. The system may aggregate the capacity utilization data; predict, based on the aggregated capacity utilization data, respective prediction-based processing capacity utilizations for the database container; determine a target processing capacity utilization value from the prediction-based processing capacity utilizations; calculate respective provisioned processing capacity utilizations based on the target processing capacity utilization value; evaluate a consumption metric based on the prediction-based processing capacity utilizations and the provisioned processing capacity utilizations; select one of the predetermined capacity modes as a recommended capacity mode for the database container based on the consumption metric. The system may determine a recommended capacity throughput based on the recommended capacity mode selected and the target processing capacity utilization value.

## Claims

### Claim 1

A system comprising:
network interface circuitry configured to:
receive utilization tracking data for a database container in a NoSQL database, the database container configured with a processing capacity configuration, the processing capacity configuration comprising one of a plurality of predetermined capacity modes, each of the capacity modes representing a different manner to provision processing capacity on the database container; and
send a capacity configuration optimization (CCO) token to a host interface, the host interface configured to execute the CCO token to reconfigure the database container with a recommended capacity mode;
optimization circuitry in data communication with the network interface circuitry, the optimization circuitry configured to execute a CCO stack, the CCO stack executable to:
at a prescriptive engine layer of the CCO stack:
obtain capacity utilization data from the utilization tracking data;
aggregate the capacity utilization data according to a predetermined time granularity;
for each of a plurality of subintervals of a CCO interval, predict, with a prediction engine, based on the aggregated capacity utilization data, respective prediction-based processing capacity utilizations for the database container, each of the plurality of subintervals having the predetermined time granularity;
determine a target processing capacity utilization value from the prediction-based processing capacity utilizations;
calculate respective provisioned processing capacity utilizations for each of the subintervals over the CCO interval based on the target processing capacity utilization value;
select one of the capacity modes as the recommended capacity mode based on the prediction-based processing capacity utilizations and the provisioned processing capacity utilizations;
generate the CCO token based on the recommended capacity mode; and
send the CCO token to the host interface via the network interface circuitry.

### Claim 2 (depends on 1)

The system of claim 1, wherein the optimization circuitry is configured to:
evaluate a first consumption metric of the database container under a first capacity mode included in the capacity modes, the first consumption metric being evaluated based on the prediction-based processing capacity utilizations and the provisioned processing capacity utilizations;
evaluate a second consumption metric of the database container under a second capacity mode included in the capacity modes, the second consumption metric being evaluated based on the prediction-based processing capacity utilizations; and
select one of the first capacity mode or the second capacity mode as the recommended capacity mode based on the first consumption metric and the second consumption metric.

### Claim 3 (depends on 2)

The system of claim 2, wherein the processing capacity configuration further comprises a capacity throughput, the capacity throughput representing a processing capacity provisioned on the database container to process data per unit time, the optimization circuitry is further configured to:
determine a recommended capacity throughput based on the recommended capacity mode.

### Claim 4 (depends on 3)

The system of claim 3, wherein the capacity modes comprise:
an on-demand mode that dynamically provisions the database container with the capacity throughput based on workloads of the database container;
a standard mode that provisions the database container with a first specified capacity throughput;
an auto-scaling mode that provisions the database container with a second specified capacity throughput and automatically increases or decreases the second specified capacity throughput in response to a predetermined condition being satisfied; or
a reserved mode that reserves a specified capacity throughput for the database container over at least a predetermined period of time.

### Claim 5 (depends on 4)

The system of claim 4, wherein the optimization circuitry is configured to:
add a processing capacity utilization buffer to the target processing capacity utilization value to obtain a buffered processing capacity utilization value;
determine the recommended capacity throughput as the buffered processing capacity utilization value in response to the recommended capacity mode being the standard mode or the reserved mode; and
determine the recommended capacity throughput as zero in response to the recommended capacity mode being the on-demand mode.

### Claim 6 (depends on 4)

The system of claim 4, wherein the optimization circuitry is further configured to:
in response to the recommended capacity mode being the standard mode,
calculate a consumption ratio based on the recommended capacity throughput and an alarm consumption metric indicative of excessive usage of the capacity throughput; and
update the recommended capacity mode to the auto-scaling mode in response to the consumption ratio being greater than or equal to a cutoff ratio.

### Claim 7 (depends on 4)

The system of claim 4, wherein the optimization circuitry is further configured to:
generate a consumption optimization preview for the database container based on the recommended capacity mode and the recommended capacity throughput, the consumption optimization preview indicating a decrease of a consumption metric of the database container due to the capacity configuration optimization; and
determine a priority to execute the capacity configuration optimization for the database container based on the consumption optimization preview.

### Claim 8 (depends on 4)

The system of claim 4, wherein the optimization circuitry is further configured to:
obtain a utilization time length for the database container; and
determine the first capacity mode and the second capacity mode based on the utilization time length.

### Claim 9 (depends on 8)

The system of claim 8, wherein the optimization circuitry is configured to:
in response to the utilization time length being greater than a first utilization time length threshold and less than or equal to a second utilization time length threshold, determine the first capacity mode as the standard mode and the second capacity mode as the on-demand mode; and
in response to the utilization time length being greater than the second utilization time length threshold, determine the first capacity mode as the reserved mode and the second capacity mode as the on-demand mode.

### Claim 10 (depends on 9)

The system of claim 9, the optimization circuitry is configured to:
select the on-demand mode as the recommended capacity mode in response to the utilization time length being less than or equal to the first utilization time length threshold.

### Claim 11 (depends on 9)

The system of claim 9, wherein the optimization circuitry is configured to:
select the first capacity mode as the recommended capacity mode in response to the second consumption metric being a predetermined consumption metric threshold greater than the first consumption metric.

### Claim 12 (depends on 9)

The system of claim 9, wherein the optimization circuitry is further configured to:
execute the prediction engine as a long-term deep learning model to predict respective prediction-based processing capacity utilizations in response to the utilization time length being greater than the second utilization time length threshold; and
execute the prediction engine as a short-term deep learning model to predict respective prediction-based processing capacity utilizations in response to the utilization time length being greater than a first utilization time length threshold and less than or equal to the second utilization time length threshold;
wherein the long-term deep learning model and the short-term deep learning model are trained to predict the prediction-based processing capacity utilizations for the database container.

### Claim 13 (depends on 1)

The system of claim 1, wherein the optimization circuitry is configured to:
add a predetermined processing capacity utilization buffer to the target processing capacity utilization value to obtain a buffered processing capacity utilization value; and
calculate each of the respective provisioned processing capacity utilizations as being equal to the buffered processing capacity utilization value.

### Claim 14 (depends on 1)

The system of claim 1, wherein the target processing capacity utilization value is greater than processing capacity utilization values of a predetermined portion of the prediction-based processing capacity utilizations.

### Claim 15 (depends on 14)

The system of claim 14, the optimization circuitry is further configured to:
determine the target processing capacity utilization value as a Nth percentile processing capacity utilization value of the prediction-based processing capacity utilizations, wherein the Nth percentile is greater than or equal to a 95th percentile.

### Claim 16 (depends on 1)

The system of claim 1, wherein:
the CCO stack is further executable to, at a presentation layer of the CCO stack, generate a CCO control interface including a CCO-window presentation; and
the CCO-window presentation includes a selectable option to execute the capacity configuration optimization.

### Claim 17 (depends on 16)

The system of claim 16, wherein the CCO-window presentation further includes a selectable option to reject execution of the capacity configuration optimization.

### Claim 18 (depends on 16)

The system of claim 16, wherein the CCO-window presentation is configured to display multiple capacity configuration optimizations, each of the multiple capacity configuration optimizations for a corresponding database container.

### Claim 19

A method comprising:
receiving, at network interface circuitry, utilization tracking data for a database container in a NoSQL database, the database container configured with a processing capacity configuration, the processing capacity configuration comprising one of a plurality of predetermined capacity modes, each of the plurality of capacity modes representing a different scaling of processing capacity on the database container; a manner to provision processing capacity
executing a capacity configuration optimization (CCO) stack at optimization circuitry, the optimization circuitry in data communication with the network interface circuitry, wherein executing the CCO stack comprises:
obtaining, at a prescriptive engine layer of the CCO stack, capacity utilization data from the utilization tracking data;
aggregating, at the prescriptive engine layer, the capacity utilization data according to a predetermined time granularity;
for each of a plurality of subintervals, having the predetermined time granularity, over a CCO interval, predicting respective prediction-based processing capacity utilizations for the database container, the respective prediction-based processing capacity utilizations predicted with a prediction engine, at the prescriptive engine layer, based on the aggregated capacity utilization data;
determining, at the prescriptive engine layer, a target processing capacity utilization value from the prediction-based processing capacity utilizations;
calculating, at the prescriptive engine layer, respective provisioned processing capacity utilizations for each of the subintervals over the CCO interval based on the target processing capacity utilization value;
evaluating, at the prescriptive engine layer, a consumption metric of the database container based on the prediction-based processing capacity utilizations and the provisioned processing capacity utilizations;
selecting, at the prescriptive engine layer, one of the plurality of capacity modes as a recommended capacity mode based on the consumption metric; generating, at the prescriptive engine layer, a CCO token based on the recommended capacity mode; and
sending, via the network interface circuitry, the CCO token to a host interface configured to execute the CCO token to reconfigure the database container with the recommended capacity mode.

### Claim 20

A product including:
machine-readable media other than a transitory signal; and
instructions stored on the machine-readable media, the instructions configured to, when executed, cause a machine to:
at network interface circuitry:
receive, at network interface circuitry, utilization tracking data for a database container in a NoSQL database, the database container configured with a processing capacity configuration, the processing capacity configuration comprising one of a plurality of predetermined capacity modes, each of the capacity modes representing a different scaling of processing capacity on the NoSQL database container;
at optimization circuitry in data communication with the network interface circuitry, the optimization circuitry executing a capacity configuration optimization (CCO) stack:
obtain, at a prescriptive engine layer of the CCO stack, capacity utilization data from the utilization tracking data;
aggregate, at the prescriptive engine layer, the capacity utilization data according to a predetermined time granularity;
for each of a plurality of subintervals having the predetermined time granularity over a CCO interval, predict respective prediction-based processing capacity utilizations for the database container, the respective prediction-based processing capacity utilizations predicted at the prescriptive engine layer based on the aggregated capacity utilization data;
determine, at the prescriptive engine layer, a target processing capacity utilization value from the prediction-based processing capacity utilizations;
calculate, at the prescriptive engine layer, respective provisioned processing capacity utilizations for each of the subintervals over the CCO interval based on the target processing capacity utilization value;
select, at the prescriptive engine layer, one of the capacity modes as a recommended capacity mode based on the prediction-based processing capacity utilizations and the provisioned processing capacity utilizations;
generate, at the prescriptive engine layer, a CCO token based on the recommended capacity mode; and
send, via the network interface circuitry, the CCO token to a host interface configured to execute the CCO token to reconfigure the database container with the recommended capacity mode.
