Database Command Replacer for Query Optimization

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

In client/server database architectures, sub-optimal database commands lead to inefficient execution and increased resource consumption, which current solutions attempt to address through hardware upgrades, but these are costly and temporary.

Innovation Solution

A system and method that intercepts database commands, analyzes them for inefficiencies, and replaces command components likely to result in inefficient execution, using a database command replacer that monitors execution times and employs machine learning to identify and optimize command structures without altering application code.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Speed

If faster computer servers are used to compensate for sub-optimal database commands, then query execution speed is improved, but hardware costs and operating costs increase

Engineering Contradiction:
Improvequery execution speedVSAvoidhardware resources
Core Design Contradiction:
SpeedVSQuantity of substance

Solution Approach 1:

The system changes the parameters of database commands by analyzing execution times and replacing command components with optimized alternatives. This transforms sub-optimal commands into efficient ones, improving query execution speed without requiring additional hardware resources

Inventive Principle:
Principle #35Parameter changes

Solution Approach 2:

A database command replacer is introduced as an intermediary component between the application and database server. This mediator intercepts commands, analyzes them, and replaces inefficient components with optimized ones, resolving the performance issue without hardware upgrades

Inventive Principle:
Principle #24Intermediary (Mediator)

2Productivity

If hardware is upgraded to handle increased demand, then system performance is improved temporarily, but the solution is not sustainable for future demand or software changes

Engineering Contradiction:
Improvesystem performanceVSAvoidlong-term scalability
Core Design Contradiction:
ProductivityVSAdaptability or versatility

Solution Approach 1:

The system implements dynamic command optimization by continuously monitoring execution times and adapting command replacements based on observed performance patterns. This dynamic approach allows the system to adapt to future demand and software changes without requiring hardware upgrades

Inventive Principle:
Principle #15Dynamics

Solution Approach 2:

The database command replacer performs self-learning by monitoring command execution times and automatically identifying patterns of inefficient commands. The system serves itself by continuously improving command structures without external intervention or hardware changes

Inventive Principle:
Principle #25Self-service

3Ease of operation

If database commands are compiled into the underlying software application, then command execution is integrated, but sub-optimal commands cannot be improved without altering application code

Engineering Contradiction:
Improvecommand integrationVSAvoidcommand optimization flexibility
Core Design Contradiction:
Ease of operationVSAdaptability or versatility

Solution Approach 1:

The database command replacer acts as an intermediary that sits between the compiled application and the database server. It transparently intercepts and optimizes commands without requiring changes to the compiled application code, maintaining integration while enabling optimization

Inventive Principle:
Principle #24Intermediary (Mediator)

Solution Approach 2:

The system segments the command optimization function from the application code itself by introducing a separate database command replacer component. This allows command optimization to be handled independently from the application's compiled code, providing flexibility without altering the application

Inventive Principle:
Principle #1Segmentation

Data Source

PatentUS11366785B1Method and system for transparent database command replacement
Publication Date: 2022.06.21 KLEE JR DAVID ANTHONY
  • US11366785B1 patent drawing
  • US11366785B1 patent drawing
  • US11366785B1 patent drawing

AI summary

A database command replacer intercepts database commands to one or more database servers, extracts the database command and defined parameters within the command, and determines if the database command is defined in the list of commands subject to replacement; if not, the command is passed through to the destination database server. If the database command is in the list of commands subject to replacement, the replacement command is retrieved, the mapped parameter values are incorporated into the replacement command, the replacement command is transmitted to the destination database server, and the resultant information is relayed back to the origination program. No changes are required to either the client or server software in existing client/server database arrangements.