Query Resource Caching by Cumulative Execution Time

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing caching systems in multi-tenant cloud architectures are inefficient in caching resources accessed by queries, leading to increased execution times during peak usage and resource overload, without effectively utilizing cache memory.

Innovation Solution

A resource caching system that selectively caches resources based on cumulative execution times of queries, caching those with execution times exceeding predefined thresholds to optimize cache usage and reduce memory consumption.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Loss of time

If resources are cached for all queries, then query execution time is reduced, but cache memory is wasted on frequently accessed low-cost queries

Engineering Contradiction:
Improvequery execution timeVSAvoidcache memory utilization
Core Design Contradiction:
Loss of timeVSQuantity of substance

Solution Approach 1:

The system changes the parameter of cache selection by introducing execution time as a threshold parameter. Queries are evaluated against a threshold execution time parameter, and only those exceeding the threshold are cached. This parameter-based filtering optimizes cache memory utilization by storing only the queries that will benefit from caching, avoiding waste on already-efficient queries.

Inventive Principle:
Principle #35Parameter changes

Solution Approach 2:

Instead of caching all queries (excessive action), the system applies partial caching only to queries that meet specific criteria (execution time exceeds threshold). This partial action approach ensures cache memory is used effectively for high-cost queries while avoiding unnecessary storage of low-cost queries that don't benefit from caching.

Inventive Principle:
Principle #16Partial or excessive action

2Quantity of substance

If no resources are cached, then cache memory is conserved, but query execution times increase during peak usage

Engineering Contradiction:
Improvecache memory conservationVSAvoidquery execution time
Core Design Contradiction:
Quantity of substanceVSLoss of time

Solution Approach 1:

The system uses execution time as a dynamic parameter to determine caching eligibility. By monitoring and comparing actual query execution times against a threshold parameter, the system automatically identifies which queries should be cached, balancing memory conservation with execution time optimization.

Inventive Principle:
Principle #35Parameter changes

Solution Approach 2:

The system implements feedback by monitoring query execution times and using this information to make caching decisions. Queries that exceed the execution time threshold trigger caching actions, creating a feedback loop that continuously optimizes performance based on actual runtime behavior.

Inventive Principle:
Principle #23Feedback

3Quantity of substance

If selective caching based on execution time is implemented, then cache efficiency is improved, but system complexity increases

Engineering Contradiction:
Improvecache efficiencyVSAvoidcaching system complexity
Core Design Contradiction:
Quantity of substanceVSDevice complexity

Solution Approach 1:

The system manages complexity by using a single clear parameter (execution time threshold) for caching decisions. This parameter-based approach simplifies the caching logic compared to more complex multi-factor selection algorithms, while still achieving efficient cache utilization.

Inventive Principle:
Principle #35Parameter changes

Solution Approach 2:

The system performs self-service by automatically monitoring query execution times and making caching decisions without external intervention. The threshold-based mechanism autonomously identifies candidates for caching, reducing the need for complex manual configuration or external control systems.

Inventive Principle:
Principle #25Self-service

Data Source

PatentUS12547628B2System and method for query resource caching
Publication Date: 2026.02.10 NETSUITE INC
  • US12547628B2 patent drawing
  • US12547628B2 patent drawing
  • US12547628B2 patent drawing

AI summary

Operations include determining whether to cache resources accessed by a query based on the execution time of the query. The system identifies a set of executions of a same query. The system determines a cumulative execution time for the set of executions of the same query. If the cumulative execution time exceeds a threshold value, then the system caches a resource used for execution of the query.