# US 2026/0037510 A1 · Dynamic analytical model optimizations

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

- Number: US 2026/0037510 A1
- Document ID: US20260037510A1
- Status: Published application
- Kind: A1
- Application number: 18/887,463
- Filed: 2024-09-17
- Published: 2026-02-05
- Earliest claimed: 2024-08-03
- Assignees: Sap SE
- Applicants: Sap SE
- Inventors: Devicharan Vinnakota; Priyanka Kommanapalli; Jaya Gupta
- Web page: https://patentgrep.com/patent/US20260037510A1

## CPC

- G06F 16/24542: {Plan optimisation}
- G06F 16/24537: {of operators}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

In an example embodiment, a mechanism is provided to dynamically determine optimizations of data model execution at runtime at an engine-by-engine level, meaning that one optimization may be applied to one engine and not others. This mechanism is enabled by also providing a method by which model optimizations are stored and retrieved using a hash representation of each model, allowing past optimizations to be reused. Thus, the next time a similar model is built, optimizations of an earlier model can be reused. A definition store is also used as a basis to create new optimizations dynamically.

## Claims

### Claim 1

A system comprising:
at least one hardware processor; and
a computer-readable medium storing instructions that, when executed by the at least one hardware processor, cause the at least one hardware processor to perform operations comprising:
receiving a call to a database from a first entity;
identifying a data model to handle the call, the data model identifying a joining of data structures in the database;
using a hash function to generate a hash of the data model;
determining whether the hash of the data model matches a hash stored in an optimization data store;
in response to a determination that the hash of the data model does not match a hash stored in the optimization data store:
identifying a plurality of database engines for processing the data model;
for each of the plurality of database engines, generating a different engine-level optimization based on a predicted volume of data to be used to process the call using the data model and based on type of the first entity, each different engine-level optimization indicating a change in process flow for a corresponding database engine; and
processing the call using the data model by applying each different engine-level optimization to a corresponding database engine.

### Claim 2 (depends on 1)

The system of claim 1, wherein the generating comprises:
sending a message to the first entity requesting a separate engine-level database optimization for each of the plurality of database engines requesting, the message including the hash.

### Claim 3 (depends on 1)

The system of claim 1, wherein the processing the call includes stitching each different engine-level database optimization to an information access query to be sent to the database.

### Claim 4 (depends on 3)

The system of claim 3, wherein the operations further comprise:
determining whether a server level database optimization exists for the data model and
prioritizing each different engine-level optimization over the server level database optimization if there are any conflicts.

### Claim 5 (depends on 1)

The system of claim 1, wherein the database is an in-memory database.

### Claim 6 (depends on 1)

The system of claim 1, wherein the generating comprises:
passing the hash and an indication of the first entity to a machine learning model trained by a machine learning algorithm to generate different engine-level optimization based on a predicted volume of data to be used to process the call using the data model and based on type of the first entity.

### Claim 7 (depends on 1)

The system of claim 1, wherein in response to a determination that the hash of the data model matches a hash stored in the optimization data store:
retrieving one or more previously used engine-level database optimizations corresponding to the hash stored in the optimization data store; and
processing the call using the data model by applying each previously used different engine-level optimization to a corresponding database engine.

### Claim 8

A method comprising:
receiving a call to a database from a first entity;
identifying a data model to handle the call, the data model identifying a join of data structures in the database;
using a hash function to generate a hash of the data model;
determining whether the hash of the data model matches a hash stored in an optimization data store;
in response to a determination that the hash of the data model does not match a hash stored in the optimization data store:
identifying a plurality of database engines for processing the data model;
for each of the plurality of database engines, generating a different engine-level optimization based on a predicted volume of data to be used to process the call using the data model and based on type of the first entity, each different engine-level optimization indicating a change in process flow for a corresponding database engine; and
processing the call using the data model by applying each different engine-level optimization to a corresponding database engine.

### Claim 9 (depends on 8)

The method of claim 8, wherein the generating comprises:
sending a message to the first entity requesting a separate engine-level database optimization for each of the plurality of database engines requesting, the message including the hash.

### Claim 10 (depends on 8)

The method of claim 8, wherein the processing the call includes stitching each different engine-level database optimization to an information access query to be sent to the database.

### Claim 11 (depends on 10)

The method of claim 10, further comprising:
determining whether a server level database optimization exists for the data model and
prioritizing each different engine-level optimization over the server level database optimization if there are any conflicts.

### Claim 12 (depends on 8)

The method of claim 8, wherein the database is an in-memory database.

### Claim 13 (depends on 8)

The method of claim 8, wherein the generating comprises:
passing the hash and an indication of the first entity to a machine learning model trained by a machine learning algorithm to generate different engine-level optimization based on a predicted volume of data to be used to process the call using the data model and based on type of the first entity.

### Claim 14 (depends on 8)

The method of claim 8, wherein in response to a determination that the hash of the data model matches a hash stored in the optimization data store:
retrieving one or more previously used engine-level database optimizations corresponding to the hash stored in the optimization data store; and
processing the call using the data model by applying each previously used different engine-level optimization to a corresponding database engine.

### Claim 15

A non-transitory machine-readable medium storing instructions which, when executed by one or more processors, cause the one or more processors to perform operations comprising:
accessing historical time series data regarding workload of a first computer service;
receiving a call to a database from a first entity;
identifying a data model to handle the call, the data model identifying a joining of data structures in the database;
using a hash function to generate a hash of the data model;
determining whether the hash of the data model matches a hash stored in an optimization data store;
in response to a determination that the hash of the data model does not match a hash stored in the optimization data store:
identifying a plurality of database engines for processing the data model;
for each of the plurality of database engines, generating a different engine-level optimization based on a predicted volume of data to be used to process the call using the data model and based on type of the first entity, each different engine-level optimization indicating a change in process flow for a corresponding database engine; and
processing the call using the data model by applying each different engine-level optimization to a corresponding database engine.

### Claim 16 (depends on 15)

The non-transitory machine-readable medium of claim 15, wherein the generating comprises:
sending a message to the first entity requesting a separate engine-level database optimization for each of the plurality of database engines requesting, the message including the hash.

### Claim 17 (depends on 15)

The non-transitory machine-readable medium of claim 15, wherein the processing the call includes stitching each different engine-level database optimization to an information access query to be sent to the database.

### Claim 18 (depends on 17)

The non-transitory machine-readable medium of claim 17, wherein the operations further comprise:
determining whether a server level database optimization exists for the data model and
prioritizing each different engine-level optimization over the server level database optimization if there are any conflicts.

### Claim 19 (depends on 15)

The non-transitory machine-readable medium of claim 15, wherein the database is an in-memory database.

### Claim 20 (depends on 15)

The non-transitory machine-readable medium of claim 15, wherein the generating comprises:
passing the hash and an indication of the first entity to a machine learning model trained by a machine learning algorithm to generate different engine-level optimization based on a predicted volume of data to be used to process the call using the data model and based on type of the first entity.
