Database Query Acceleration via Temporary Enumeration Representation

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Database queries involving large data types consume excessive memory and processing resources due to the need for temporary data structures, which are inefficiently managed in traditional database operations.

Innovation Solution

The method involves creating enumerated values and lookup tables to represent and translate data values, allowing for delayed value projection and secondary enumeration to optimize memory usage and processing efficiency during query resolution, while also deleting unnecessary tables to conserve resources.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If data of large data type is propagated through temporary data structures during query processing, then complete data accuracy is maintained, but memory consumption increases and processing resources are exhausted

Engineering Contradiction:
Improvedata accuracyVSAvoidmemory consumption
Core Design Contradiction:
ReliabilityVSQuantity of substance

Solution Approach 1:

The patent creates enumerated copies of large data type values that map to compact integer representations. Instead of propagating actual large data through temporary structures, the system uses these compact enumerated copies that preserve the necessary equality and grouping properties for query processing while consuming minimal memory space.

Inventive Principle:
Principle #26Copying

Solution Approach 2:

The patent transforms the data representation parameter from large data type to compact integer enumeration. By changing how data is represented (from full-value storage to index-based representation), the system maintains query accuracy while dramatically reducing the memory footprint of temporary data structures.

Inventive Principle:
Principle #35Parameter changes

2Productivity

If operations are performed on large data types in temporary data structures, then complete data is processed, but processing time and resource consumption increase

Engineering Contradiction:
Improvequery processing throughputVSAvoidprocessing time
Core Design Contradiction:
ProductivityVSLoss of time

Solution Approach 1:

The system creates lightweight enumerated copies that can be rapidly manipulated in temporary data structures. These copies enable sorting, grouping, and comparison operations to execute much faster than operating on full large data type values, thereby increasing query processing throughput without sacrificing correctness.

Inventive Principle:
Principle #26Copying

Solution Approach 2:

The patent performs preliminary enumeration of distinct data values before query processing begins. This upfront action creates a mapping that enables all subsequent query operations to work with compact integers rather than large data types, significantly reducing processing time for sorting, grouping, and aggregation operations.

Inventive Principle:
Principle #10Preliminary action

3Ease of operation

If temporary data structures are created during query processing, then query calculations can be performed, but memory resources are consumed

Engineering Contradiction:
Improvequery processing capabilityVSAvoidmemory resources
Core Design Contradiction:
Ease of operationVSQuantity of substance

Solution Approach 1:

The patent fundamentally changes the parameter of data representation in temporary structures from full large data type values to compact integer enumerations. This parameter change enables temporary data structures to perform all necessary query calculations (sorting, grouping, aggregation) while consuming minimal memory resources.

Inventive Principle:
Principle #35Parameter changes

Data Source

PatentUS7672925B2Accelerating queries using temporary enumeration representation
Publication Date: 2010.03.02 SYBASE INC
  • US7672925B2 patent drawing
  • US7672925B2 patent drawing
  • US7672925B2 patent drawing

AI summary

A system, method, and computer program product for processing a database query are presented. Steps for identifying a value expression comprising information needed in order to resolve a query, associating enumerated values with the set of distinct values for the value expression, evaluating the query utilizing the enumerated values, and deleting the association are disclosed.