# US 10,956,379 B2 · Dynamic lifecycle management of temporary storage schemas

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

- Number: US 10,956,379 B2
- Document ID: US10956379B2
- Status: Granted
- Kind: B2
- Application number: 15/961,671
- Filed: 2018-04-24
- Published: 2018-11-01
- Granted: 2021-03-23
- Earliest claimed: 2017-04-26
- Assignees: Oracle International Corporation
- Applicants: Oracle International Corporation
- Inventors: Steve Simon Joseph Fernandez; Ashish Mittal
- Web page: https://patentgrep.com/patent/US10956379B2

## CPC

- G06F 16/211: {Schema design and management}
- G06F 11/302: {where the computing system component is a software system}
- G06F 11/3433: {for load management (allocation of a server based on load conditions G06F9/505; load rebalancing G06F9/5083; redistributing the load in a network by a load balancer H04L67/1029)}
- G06F 16/213: {with details for schema evolution support}
- G06F 16/219: {Managing data history or versioning (querying versioned data G06F16/2474; querying temporal data G06F16/2477)}
- G06F 16/23: Updating
- G06F 2201/865: Monitoring of software
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

Techniques are described that enable the dynamic and automatic life cycle management of database schemas. Temporary database schemas are dynamically and automatically allocated in response to database schema requests. Allocated schemas are also automatically reclaimed upon expiration. A dynamic schema allocation system is provided that is configured to receive database schema requests from one or more clients and dynamically and automatically, substantially free of any manual intervention, serve database schemas in response to the requests. The database schemas may be allocated from multiple database instances available to the dynamic schema allocation system. Attributes specified in a database schema request may be used to find a matching database instance and a schema is allocated for the request from the matching database instance.

## Claims

### Claim 1

A computer-implemented method comprising:
receiving, by a data processing system from a requestor, a request for a database schema;
determining, by the data processing system, a set of one or more attributes specified in the request, wherein the set of one or more attributes specified in the request includes an attribute indicating that the database schema is requested for a first time period;
accessing, by the data processing system, first information associated with a plurality of database instances, wherein, for each database instance in the plurality of database instances, the first information identifies one or more attributes associated with a database instance;
selecting, by the data processing system, based upon the first information and the set of one or more attributes determined from the request, a first database instance from the plurality of database instances, wherein selecting the first database instance comprises comparing the set of one or more attributes specified in the request with the attributes associated with the plurality of database instances to identify a set of one or more database instances from the plurality of database instances that match the set of one or more attributes specified in the request, the set of one or more database instances including the first database instance that was selected;
allocating, by the data processing system, based upon the set of one or more attributes specified in the request, the database schema from the first database instance that was selected;
associating, by the data processing system, the first time period with the allocated database schema, the first time period identifying a period of time when use of the allocated database schema by the requestor is valid;
generating, by the data processing system, a response to the request, wherein the response comprises information that enables the requestor to access and use the allocated database schema for the first time period;
transmitting the response from the data processing system to the requestor;
determining when the first time period has expired; and
upon determining that the first time period has expired, reclaiming the database schema, the reclaiming comprising freeing the database schema in the database instance.

### Claim 2 (depends on 1)

The computer-implemented method of claim 1, wherein the set of one or more attributes specified in the request includes at least one of: a schema type, a schema memory size, a capability to be provided by the database schema, a language to be supported by the database schema, a particular version of a database.

### Claim 3 (depends on 1)

The computer-implemented method of claim 1, wherein:
the set of one or more database instances comprises multiple database instances including the first database instance and a second database instance;
the first database instance is a database instance from a first vendor; and
the second database instance is a database instance from a second vendor, where the second vendor is different from the first vendor.

### Claim 4 (depends on 1)

The computer-implemented method of claim 1 wherein:
the set of one or more database instances comprises multiple database instances; and
selecting the first database instance from the set of one or more database instances comprises:
determining a load value for each database instance in the set of one or more database instances; and
determining, by the data processing system, that the first database instance has a lowest load value compared to other database instances in the set of one or more database instances.

### Claim 5 (depends on 4)

The computer-implemented method of claim 4 wherein determining the load value for each database instance in the set of one or more database instances comprises:
determining, for the database instance, a percentage of memory of the database instance that is already allocated.

### Claim 6 (depends on 4)

The computer-implemented method of claim 4 wherein determining the load value for each database instance in the set of one or more database instances comprises:
determining, for the database instance, a number of current connections to the database instance; or
determining, for the database instance, a number of prior connections to the database instance.

### Claim 7 (depends on 4)

The computer-implemented method of claim 4, further comprising
determining the load value for each database instance in the set of one or more database instances comprises using the first time period to determine the load value.

### Claim 8 (depends on 1)

The computer-implemented method of claim 1, wherein generating the response comprises:
generating, by the data processing system, access credentials for the database schema, the access credentials including one or more credentials for accessing the allocated database schema; and
including the access credentials in the response.

### Claim 9 (depends on 1)

The computer-implemented method of claim 1, wherein:
the set of one or more attributes specified in the request includes an attribute indicating a first format to be used for the response; and
generating the response comprises generating the response according to the first format.

### Claim 10 (depends on 1)

The computer-implemented method of claim 1, wherein:
the set of one or more attributes specified in the request includes an attribute indicating a first protocol to be for the response; and
transmitting the response comprises transmitting the response using the first protocol.

### Claim 11 (depends on 1)

The computer-implemented method of claim 1, wherein generating the response comprises generating the response in a machine-readable format.

### Claim 12

A non-transitory computer-readable memory storing a plurality of instructions executable by one or more processors, the plurality of instructions comprising instructions that cause a first data processing system to:
receive a request for a database schema from a requestor;
determine a set of one or more attributes specified in the request, wherein the set of one or more attributes specified in the request includes an attribute indicating that the database schema is requested for a first time period;
access first information associated with a plurality of database instances, wherein, for each database instance in the plurality of database instances, the first information identifies one or more attributes associated with the database instance;
select, based upon the first information and the set of one or more attributes determined from the request, a first database instance from the plurality of database instances, wherein selecting the first database instance comprises comparing the set of one or more attributes specified in the request with the attributes associated with the plurality of database instances to identify a set of one or more database instances from the plurality of database instances that match the set of one or more attributes specified in the request, the set of one or more database instances including the first database instance that was selected;
allocate, based upon the set of one or more attributes specified in the request, the database schema from the first database instance that was selected;
associate the first time period with the allocated database schema, the first time period identifying a period of time when use of the allocated database schema by the requestor is valid;
generate a response to the request, wherein the response comprises information that enables the requestor to access and use the allocated database schema for the first time period;
transmit the response from the first data processing system to the requestor
determine when the first time period has expired; and
upon determining that the first time period has expired, reclaim the database schema, the reclaiming comprising freeing the database schema in the database instance.

### Claim 13 (depends on 12)

The non-transitory computer-readable memory of claim 12, wherein the set of one or more attributes specified in the request includes at least one of: a schema type, a schema memory size, a capability to be provided by the database schema, a language to be supported by the database schema, a particular version of a database.

### Claim 14 (depends on 12)

The non-transitory computer-readable memory of claim 12, wherein:
the set of one or more database instances comprises multiple database instances including the first database instance and a second database instance;
the first database instance is a database instance from a first vendor; and
the second database instance is a database instance from a second vendor, where the second vendor is different from the first vendor.

### Claim 15 (depends on 12)

The non-transitory computer-readable memory of claim 12, wherein the set of one or more database instances comprises multiple database instances; and
the plurality of instructions further comprise instructions that cause the first data processing system to:
select the first database instance from the set of one or more database instances comprises:
determine a load value for each database instance in the set of one or more database instances; and
determine that the first database instance has a lowest load value compared to other database instances in the set of one or more database instances.

### Claim 16

A system comprising:
one or more processors; and
a memory coupled with the one or more processors, the memory configured to store instructions that when executed by the one or more processors cause the one or more processors to:
receive a request for a database schema by a requestor;
determine a set of one or more attributes specified in the request, wherein the set of one or more attributes specified in the request includes an attribute indicating that the database schema is requested for a first time period;
access first information associated with a plurality of database instances, wherein, for each database instance in the plurality of database instances, the first information identifies one or more attributes associated with the database instance;
select, based upon the first information and the set of one or more attributes determined from the request, a first database instance from the plurality of database instances, wherein selecting the first database instance comprises comparing the set of one or more attributes specified in the request with the attributes associated with the plurality of database instances to identify a set of one or more database instances from the plurality of database instances that match the set of one or more attributes specified in the request, the set of one or more database instances including the first database instance that was selected;
allocate, based upon the set of one or more attributes specified in the request, the database schema from the first database instance that was selected;
associate the first time period with the allocated database schema, the first time period identifying a period of time when use of the allocated database schema by the requestor is valid;
generate a response to the request, wherein the response comprises information that enables the requestor to access and use the allocated database schema for the first time period;
transmit the response from a data processing system to the requestor;
determining when the first time period has expired; and
upon determining that the first time period has expired, reclaiming the database schema, the reclaiming comprising freeing the database schema in the database instance.

### Claim 17 (depends on 16)

The system of claim 16, wherein the set of one or more attributes specified in the request includes at least one of: a schema type, a schema memory size, a capability to be provided by the database schema, a language to be supported by the database schema, a particular version of a database.

### Claim 18 (depends on 16)

The system of claim 16, wherein:
the set of one or more database instances comprises multiple database instances including the first database instance and a second database instance;
the first database instance is a database instance from a first vendor; and
the second database instance is a database instance from a second vendor, where the second vendor is different from the first vendor.

### Claim 19 (depends on 16)

The system of claim 16, wherein the set of one or more database instances comprises multiple database instances; and
the memory configured to store instructions that when executed by the one or more processors further cause the one or more processors to:
select the first database instance from the set of one or more database instances comprises:
determine a load value for each database instance in the set of one or more database instances; and
determine that the first database instance has a lowest load value compared to other database instances in the set of one or more database instances.
