# US 2026/0086932 A1 · Method, system, and computer program product for adaptive memory management for data ingestion and flush

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

- Number: US 2026/0086932 A1
- Document ID: US20260086932A1
- Status: Published application
- Kind: A1
- Application number: 18/924,947
- Filed: 2024-10-23
- Published: 2026-03-26
- Earliest claimed: 2024-09-23
- Assignees: Oracle International Corporation
- Applicants: Oracle International Corporation
- Inventors: Aurosish Mishra; Kam Shergill; Naga Balaji Thirukondaa
- Web page: https://patentgrep.com/patent/US20260086932A1

## CPC

- G06F 12/023: {Free address space management}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

Described is an improved approach to implement memory management. A predicted ingest rate and a predicted flush rate is determined for a memory area of a global memory for a database. A memory management task is determined for the memory area based at least in part upon the predicted ingest rate and the predicted flush rate. A buffer accessibility map is modified based at least in part upon the memory management task; and the memory area is adaptively resized at least by executing the memory management task on the memory area.

## Claims

### Claim 1

A method, comprising:
identifying a memory area of a global memory of a computing system, the memory area comprising a buffer memory area and allocated for ingesting data for a database;
identifying a persistent storage device into which data stored in the memory area is to be flushed;
determining a predicted ingest rate and a predicted flush rate for the memory area of the global memory for the database; and
adaptively resizing the memory area at least by executing a memory management task on the memory area based at least in part upon the predicted ingest rate and the predicted flush rate.

### Claim 2 (depends on 1)

The method of claim 1, determining the predicted ingest rate and the predicted flush rate comprising:
determining the memory management task for the memory area based at least in part upon the predicted ingest rate and the predicted flush rate;
modifying a buffer accessibility map based at least in part upon the memory management task;
determining an adaptive growth criterion and an adaptive growth size or rate for the memory area; and
determining an adaptive shrink criterion and an adaptive shrink size or rate for the memory area.

### Claim 3 (depends on 1)

The method of claim 1, determining the predicted ingest rate and the predicted flush rate comprising:
identifying multiple snapshots pertaining to ingestion of first data into the memory area or flush of second data to the database or a persistent storage device therefor; and
for a snapshot of the multiple snapshots, determining an ingest rate and a flush rate, wherein multiple ingest rates and multiple flush rates are respectively determined for the multiple snapshots.

### Claim 4 (depends on 3)

The method of claim 3, determining the predicted ingest rate and the predicted flush rate comprising:
determining a statistical ingest rate as the predicted ingest rate using at least the ingest rate determined for the snapshot of the multiple snapshots; and
determining a statistical flush rate as the predicted flush rate using at least the flush rate determined for the snapshot of the multiple snapshots.

### Claim 5 (depends on 4)

The method of claim 4, determining the predicted ingest rate and the predicted flush rate comprising:
training a model into a trained model using training data for data ingestion and data flushing, wherein the training data comprises the predicted ingest rate and the predicted flush rate; and
determining, by the trained model, the predicted ingest rate and the predicted flush rate.

### Claim 6 (depends on 4)

The method of claim 4, determining the memory management task for the memory area comprising:
comparing the statistical ingest rate to or with the statistical flush rate for generating a comparison result; and
determining the memory management task based at least in part upon the comparison result.

### Claim 7 (depends on 4)

The method of claim 4, determining the statistical ingest rate or the statistical flush rate comprising:
determining one or more ingestion metrics or characteristics for ingestion of the first data or one or more flush metrics or characteristics for flushing the second data;
determining respective weights or multipliers for the multiple snapshots; and
determining the statistical ingest rate based at least in part the multiple ingest rates and the respective weights or multipliers or the statistical flush rate based at least in part the multiple flush rates and the respective weights or multipliers.

### Claim 8 (depends on 4)

The method of claim 4, determining the memory management task for the memory area comprising:
determining total waited ingestion time after shrinkage of the memory area; and
determining whether to override the memory management task based at least in part upon whether the total waited ingestion time after the shrinkage of the memory area exceeds ac threshold.

### Claim 9 (depends on 4)

The method of claim 4, determining the statistical ingest rate or the statistical flush rate comprising:
determining a plurality of attributes pertaining to the database; and
determining a signature for an object of a plurality of objects, wherein the plurality of objects comprise data stored in the memory area, and a plurality of signatures are respectively determined for the plurality of objects, wherein the signature comprises a pattern of multiple bits each of which respectively represents presence or absence of a respective attribute of the plurality of attributes.

### Claim 10 (depends on 9)

The method of claim 9, determining the statistical ingest rate or the statistical flush rate further comprising:
for a signature of the plurality of signatures or an attribute of the plurality of attributes, identifying the snapshot from the multiple snapshots; and
for the signature identified from the plurality of signatures and the snapshot identified from the multiple snapshots, determining the ingest rate and the flush rate based at least in part upon the plurality of attributes, wherein the multiple ingest rates and the multiple flush rates are respectively determined for the multiple snapshots.

### Claim 11 (depends on 10)

The method of claim 10, determining the statistical ingest rate or the statistical flush rate further comprising:
determining the statistical ingest rate at least by performing a first statistical operation on the multiple ingest rates; and
determining the statistical flush rate at least by performing a second statistical operation on the multiple flush rates.

### Claim 12 (depends on 11)

The method of claim 11, further comprising:
determining a total number of tables that are enabled or are to be enabled for ingestion of the first data;
determining the statistical ingest rate for the signature of the plurality of signatures based at least in part upon a count of objects for the signature across the multiple snapshots and a current number of objects for signature across the multiple snapshots; and
determining the statistical flush rate for the signature of the plurality of signatures based at least in part upon the count of objects for the signature across the multiple snapshots and the current number of objects for signature across the multiple snapshots.

### Claim 13

A system, comprising:
a processor;
a memory storing a sequence of instructions which, when executed by the processor, causes the processor to perform a set of acts, the set of acts comprising:
identifying a memory area of a global memory of a computing system, the memory area comprising a buffer memory area and allocated for ingesting data for a database;
identifying a persistent storage device into which data stored in the memory area is to be flushed;
determining a predicted ingest rate and a predicted flush rate for a memory area of a global memory for a database; and
adaptively resizing the memory area at least by executing the memory management task on the memory area based at least in part upon the predicted ingest rate and the predicted flush rate.

### Claim 14 (depends on 13)

The system of claim 13, wherein the memory further comprises the sequence of instructions which, when executed by the processor, causes the processor to perform the set of acts, the set of acts further comprising:
determining the memory management task for the memory area based at least in part upon the predicted ingest rate and the predicted flush rate;
modifying a buffer accessibility map based at least in part upon the memory management task;
identifying multiple snapshots pertaining to ingestion of first data into the memory area or flush of second data to the database or a persistent storage device therefor; and
for a snapshot of the multiple snapshots, determining an ingest rate and a flush rate, wherein multiple ingest rates and multiple flush rates are respectively determined for the multiple snapshots.

### Claim 15 (depends on 14)

The system of claim 14, wherein the memory further comprises the sequence of instructions which, when executed by the processor, causes the processor to perform the set of acts, the set of acts further comprising:
determining a plurality of attributes pertaining to the database; and
determining a signature for an object of a plurality of objects, wherein the plurality of objects comprise data stored in the memory area, and a plurality of signatures are respectively determined for the plurality of objects, wherein the signature comprises a pattern of multiple bits each of which respectively represents presence or absence of a respective attribute of the plurality of attributes.

### Claim 16 (depends on 15)

The system of claim 15, wherein the memory further comprises the sequence of instructions which, when executed by the processor, causes the processor to perform the set of acts, the set of acts further comprising:
for a signature of the plurality of signatures or an attribute of the plurality of attributes, identifying the snapshot from the multiple snapshots;
for the signature identified from the plurality of signatures and the snapshot identified from the multiple snapshots, determining the ingest rate and the flush rate, wherein the multiple ingest rates and the multiple flush rates are respectively determined for the multiple snapshots;
determining the statistical ingest rate at least by performing a first statistical operation on the multiple ingest rates; and
determining the statistical flush rate at least by performing a second statistical operation on the multiple flush rates.

### Claim 17

A computer program product embodied on a non-transitory computer readable medium, the non-transitory computer readable medium having stored thereon a sequence of instructions which, when executed by a processor, causes the processor to execute a set of acts, the set of acts comprising:
identifying a memory area of a global memory of a computing system, the memory area comprising a buffer memory area and allocated for ingesting data for a database;
identifying a persistent storage device into which data stored in the memory area is to be flushed;
determining a predicted ingest rate and a predicted flush rate for a memory area of a global memory for a database;
adaptively resizing the memory area at least by executing the memory management task on the memory area.

### Claim 18 (depends on 17)

The computer program product of claim 17, wherein the non-transitory computer readable medium further comprises the sequence of instructions which, when executed by the processor, causes the processor to perform the set of acts, the set of acts further comprising:
determining the memory management task for the memory area based at least in part upon the predicted ingest rate and the predicted flush rate;
modifying a buffer accessibility map based at least in part upon the memory management task;
identifying multiple snapshots pertaining to ingestion of first data into the memory area or flush of second data to the database or a persistent storage device therefor; and
for a snapshot of the multiple snapshots, determining an ingest rate and a flush rate, wherein multiple ingest rates and multiple flush rates are respectively determined for the multiple snapshots.

### Claim 19 (depends on 18)

The computer program product of claim 18, wherein the non-transitory computer readable medium further comprises the sequence of instructions which, when executed by the processor, causes the processor to perform the set of acts, the set of acts further comprising:
determining a plurality of attributes pertaining to the database; and
determining a signature for an object of a plurality of objects, wherein the plurality of objects comprise data stored in the memory area, and a plurality of signatures are respectively determined for the plurality of objects, wherein the signature comprises a pattern of multiple bits each of which respectively represents presence or absence of a respective attribute of the plurality of attributes.

### Claim 20 (depends on 19)

The computer program product of claim 19, wherein the non-transitory computer readable medium further comprises the sequence of instructions which, when executed by the processor, causes the processor to perform the set of acts, the set of acts further comprising:
for a signature of the plurality of signatures or an attribute of the plurality of attributes, identifying the snapshot from the multiple snapshots;
for the signature identified from the plurality of signatures and the snapshot identified from the multiple snapshots, determining the ingest rate and the flush rate, wherein the multiple ingest rates and the multiple flush rates are respectively determined for the multiple snapshots;
determining the statistical ingest rate at least by performing a first statistical operation on the multiple ingest rates; and
determining the statistical flush rate at least by performing a second statistical operation on the multiple flush rates.
