# US 2024/0004844 A1 · Online merging of fragmented computing resources across storage servers by tenant in cloud environments

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

- Number: US 2024/0004844 A1
- Document ID: US20240004844A1
- Status: Published application
- Kind: A1
- Application number: 17/936,143
- Filed: 2022-09-28
- Published: 2024-01-04
- Earliest claimed: 2022-06-30
- Assignees: Oracle International Corporation
- Applicants: Oracle International Corporation
- Inventors: Shushuai Zhu; Bo Zou; Yueying Yang; Nagarajan Muthupandian
- Web page: https://patentgrep.com/patent/US20240004844A1

## CPC

- G06F 16/21: Design, administration or maintenance of databases
- G06F 16/1724: {Details of de-fragmentation performed by the file system (saving storage space on storage systems G06F3/0608; management of blocks in storage devices G06F3/064)}
- G06F 16/2379: {Updates performed during online database operations; commit processing}
- G06F 16/24569: {Query processing with adaptation to specific hardware, e.g. adapted for using GPUs or SSDs}
- G06F 16/256: {in federated or virtual databases}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

Client data corresponding to a single client can be stored. A decision to proceed with a defragmentation of two or more particular core groups can be determined. A destination core group to receive client data can be identified. At least one additional core group can be initiated to manage interim data write requests from the single client. Each of the two or more particular core groups can be closed to data write requests. A defragmentation of the two or more particular core groups can be performed by merging into the destination core group. The destination core group can be availed to data read and delete requests. The two or more fragmented core groups can be reallocated for other uses. The additional core groups continue to receive read and write requests. The destination core groups further can be merged and defragmented further.

## Claims

### Claim 1

A computer-implemented method comprising:
storing client data corresponding to a single client across a plurality of core groups, wherein each of the plurality of core groups includes one or more cores associated with a group coordinator to manage cores in the core group;
in a particular iteration of a plurality of iterations of defragmentation consideration, determining to proceed with a defragmentation of two or more particular core groups in the plurality of core groups;
identifying a destination core group of the plurality of core groups to receive client data from each other of the two or more particular core groups;
initiating at least one additional core group to manage interim data write requests from the single client during a merge of the two or more particular core groups;
closing each of the two or more particular core groups to data write requests;
performing a defragmentation of the two or more particular core groups by merging the two or more particular core groups into the destination core group, wherein the at least one additional core group includes data from write requests that prior to defragmentation would have been written to the two or more particular core groups; and
availing the destination core group to data read requests, wherein subsequent to defragmentation, the destination core group receives read requests for data that would have been received by one of the two or more particular core groups prior to defragmentation.

### Claim 2 (depends on 1)

The computer-implemented method of claim 1, wherein for the particular iteration, determining to proceed with defragmentation occurs in response to determining that a total quantity or size of data in the two or more particular core groups is below a predetermined threshold.

### Claim 3 (depends on 1)

The computer-implemented method of claim 1, wherein for the particular iteration, the determination to proceed with defragmentation is based on a result of a simulation.

### Claim 4 (depends on 1)

The computer-implemented method of claim 1, wherein, for the particular iteration, the determination to proceed with defragmentation is based on a condition being satisfied for the two or more particular core groups that was not satisfied for the two or more particular core groups in a previous iteration.

### Claim 5 (depends on 1)

The computer-implemented method of claim 1, wherein a timestamp of each core group in the plurality of core groups represents an initial time at which at least some data corresponding to the single client and that was written to the core group was received, the computer-implemented method further comprising selecting an earliest timestamp from among those corresponding to the two or more particular core groups and wherein initiating the at least one additional core group comprises adjusting the timestamp of the at least one additional core group to match the earliest timestamp.

### Claim 6 (depends on 1)

The computer-implemented method of claim 1, further comprising:
receiving a data write request from the single client during defragmentation; and
writing data identified in the data write request to storage allocated to the at least one additional core group.

### Claim 7 (depends on 1)

The computer-implemented method of claim 1, wherein determining to proceed is based on determining that a predetermined threshold amount of read-only core groups are present or that a time since each of the two or more particular core groups was initiated exceeds a predetermined threshold.

### Claim 8

A system comprising:
one or more data processors; and
a non-transitory computer-readable storage medium containing instructions which, when executed on the one or more data processors, cause the one or more data processors to perform operations comprising:
storing client data corresponding to a single client across a plurality of groups, wherein each of the plurality of core groups includes one or more cores associated with a group coordinator to manage cores in the core group;
in a particular iteration of a plurality of iterations of defragmentation consideration, determining to proceed with a defragmentation of two or more particular core groups in the plurality of core groups;
identifying a destination core group of the plurality of core groups to receive client data from each other of the two or more particular core groups;
initiating at least one additional core group to manage interim data write requests from the single client during a merge of the two or more particular core groups;
closing each of the two or more particular core groups to data write requests;
performing a defragmentation of the two or more particular core groups by merging the two or more particular core groups into the destination core group, wherein the at least one additional core group includes data from write requests that prior to defragmentation would have been written to the two or more particular core groups; and
availing the destination core group to data read requests, wherein subsequent to defragmentation, the destination core group receives read requests for data that would have been received by one of the two or more particular core groups prior to defragmentation.

### Claim 9 (depends on 8)

The system of claim 8, wherein for the particular iteration, determining to proceed with defragmentation occurs in response to determining that a total quantity or size of data in the two or more particular core groups is below a predetermined threshold.

### Claim 10 (depends on 8)

The system of claim 8, wherein for the particular iteration, the determination to proceed with defragmentation is based on a result of a simulation.

### Claim 11 (depends on 8)

The system of claim 8, wherein, for the particular iteration, the determination to proceed with defragmentation is based on a condition being satisfied for the two or more particular core groups that was not satisfied for the two or more particular core groups in a previous iteration.

### Claim 12 (depends on 8)

The system of claim 8, wherein a timestamp of each core group in the plurality of core groups represents an initial time at which at least some data corresponding to the single client and that was written to the core group was received, the computer-implemented method further comprising selecting an earliest timestamp from among those corresponding to the two or more particular core groups and wherein initiating the at least one additional core group comprises adjusting the timestamp of the at least one additional core group to match the earliest timestamp.

### Claim 13 (depends on 8)

The system of claim 8, the operations further comprising:
receiving a data write request from the single client during defragmentation; and
writing data identified in the data write request to storage allocated to the at least one additional core group.

### Claim 14 (depends on 8)

The system of claim 8, wherein determining to proceed is based on determining that a predetermined threshold amount of read-only core groups are present or that a time since each of the two or more particular core groups was initiated exceeds a predetermined threshold.

### Claim 15

A computer program product tangibly embodied in a non-transitory computer-readable storage medium, including instructions configured to cause one or more data processors to perform operations comprising:
storing client data corresponding to a single client across a plurality of core groups, wherein each of the plurality of core groups includes one or more cores associated with a group coordinator to manage cores in the core group;
in a particular iteration of a plurality of iterations of defragmentation consideration, determining to proceed with a defragmentation of two or more particular core groups in the plurality of core groups;
identifying a destination core group of the plurality of core groups to receive client data from each other of the two or more particular core groups;
initiating at least one additional core group to manage interim data write requests from the single client during a merge of the two or more particular core groups;
closing each of the two or more particular core groups to data write requests;
performing a defragmentation of the two or more particular core groups by merging the two or more particular core groups into the destination core group, wherein the at least one additional core group includes data from write requests that prior to defragmentation would have been written to the two or more particular core groups; and
availing the destination core group to data read requests, wherein subsequent to defragmentation, the destination core group receives read requests for data that would have been received by one of the two or more particular core groups prior to defragmentation.

### Claim 16 (depends on 15)

The computer program product of claim 15, wherein for the particular iteration, determining to proceed with defragmentation occurs in response to determining that a total quantity or size of data in the two or more particular core groups is below a predetermined threshold.

### Claim 17 (depends on 15)

The computer program product of claim 15, wherein for the particular iteration, the determination to proceed with defragmentation is based on a result of a simulation.

### Claim 18 (depends on 15)

The computer program product of claim 15, wherein, for the particular iteration, the determination to proceed with defragmentation is based on a condition being satisfied for the two or more particular core groups that was not satisfied for the two or more particular core groups in a previous iteration.

### Claim 19 (depends on 15)

The computer program product of claim 15, wherein a timestamp of each core group in the plurality of core groups represents an initial time at which at least some data corresponding to the single client and that was written to the core group was received, the computer-implemented method further comprising selecting an earliest timestamp from among those corresponding to the two or more particular core groups and wherein initiating the at least one additional core group comprises adjusting the timestamp of the at least one additional core group to match the earliest timestamp.

### Claim 20 (depends on 15)

The computer program product of claim 15, the operations further comprising:
receiving a data write request from the single client during defragmentation; and
writing data identified in the data write request to storage allocated to the at least one additional core group.
