Dynamic Cache Manager Using Machine-Learned Query Prefetching

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Current cache management strategies are suboptimal due to their reliance on fixed algorithms that do not adapt to dynamically changing data traffic and usage patterns, leading to inefficient cache performance.

Innovation Solution

Implement a cache manager with a machine learning model that learns query patterns from historical data to predict upcoming queries, allowing for dynamic caching mechanisms that include prefetching query results based on identified heuristics.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Adaptability or versatility

If fixed algorithms are used for cache management, then the cache manager is simple to implement, but the cache hit ratio is suboptimal when data traffic changes

Engineering Contradiction:
Improvecache hit ratioVSAvoidcache manager complexity
Core Design Contradiction:
Adaptability or versatilityVSDevice complexity

Solution Approach 1:

The cache manager transitions from static fixed algorithms to dynamic adaptive algorithms that automatically adjust caching strategies based on real-time query pattern analysis. The system continuously learns from incoming queries and modifies its behavior without requiring administrator intervention, thereby improving cache hit ratios while adapting to changing data traffic patterns.

Inventive Principle:
Principle #15Dynamics

Solution Approach 2:

The cache manager implements a feedback mechanism where query patterns are analyzed and used to adjust caching decisions in real-time. The system monitors query outcomes and uses this information to refine its predictions and prefetching strategies, creating a closed-loop control system that continuously improves performance based on actual system behavior.

Inventive Principle:
Principle #23Feedback

2Productivity

If fixed algorithms are used for cache management, then the system is easier to operate, but performance deteriorates when data traffic varies dynamically

Engineering Contradiction:
Improvesystem performanceVSAvoidadministrator configuration effort
Core Design Contradiction:
ProductivityVSEase of operation

Solution Approach 1:

The cache manager becomes self-configuring by automatically analyzing query patterns and adjusting its own parameters without administrator intervention. The system performs self-optimization through continuous learning from query data, eliminating the need for manual tuning while maintaining high performance under varying workloads.

Inventive Principle:
Principle #25Self-service

Solution Approach 2:

The cache manager performs preliminary prefetching of data based on predicted query patterns before actual queries are executed. By anticipating future query needs through pattern recognition, the system proactively loads data into the cache in advance, improving response times and overall system performance.

Inventive Principle:
Principle #10Preliminary action

3Reliability

If the cache size is fixed and smaller than the database, then memory usage is controlled, but cache effectiveness is reduced requiring complex eviction decisions

Engineering Contradiction:
Improvecache effectivenessVSAvoideviction strategy complexity
Core Design Contradiction:
ReliabilityVSDevice complexity

Solution Approach 1:

The cache manager uses pattern recognition to predict which data will be queried next and prefetches this data into the cache before it is actually requested. By proactively loading anticipated data, the system reduces cache misses and improves effectiveness without requiring complex eviction strategies, as the focus shifts to intelligent data selection rather than reactive eviction.

Inventive Principle:
Principle #10Preliminary action

Data Source

PatentUS12373435B2Dynamic cache manager
Publication Date: 2025.07.29 ORACLE INT CORP
  • US12373435B2 patent drawing
  • US12373435B2 patent drawing
  • US12373435B2 patent drawing

AI summary

Systems, methods, and other embodiments associated with a dynamic cache manager are described. In one embodiment, a method includes monitoring, by the cache manager, queries that are submitted for execution to a database system. For a given monitored query, parsing the monitored query to identify one or more query heuristics and determine whether the one or more query heuristics matches one or more trigger heuristics from a set of query predictions, wherein the set of query predictions are predicted by a machine learning model. The cache manager prefetches query results corresponding to a predicted query pattern and stores the prefetched query results in a cache.