Data Warehouse Materialized View Query Routing

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Current data warehouse frameworks lack high performance reporting capabilities without requiring the investment of the ETL process, leading to suboptimal performance in retrieving and reporting information.

Innovation Solution

A computer-implemented method that determines the presence and freshness of materialized views within a data warehouse, translating queries to utilize materialized views when available and relevant, or sending them to original data storage if not, thereby bypassing the need for ETL processing.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Speed

If materialized views are used to improve query performance, then reporting speed is improved, but system complexity increases due to view management and validation

Engineering Contradiction:
Improvequery processing speedVSAvoiddata warehouse system complexity
Core Design Contradiction:
SpeedVSDevice complexity

Solution Approach 1:

The patent introduces a materialized view as an intermediary structure between the original data storage and the query processing system. This materialized view pre-computes and stores aggregated results, acting as a mediator that speeds up query processing while the validation mechanism ensures data integrity without requiring full ETL processes.

Inventive Principle:
Principle #24Intermediary (Mediator)

Solution Approach 2:

The system performs preliminary actions by pre-computing and materializing query results in advance. The materialized view is created and validated before actual query execution, so when queries are run, they can directly utilize the pre-computed results, significantly improving performance without repeating expensive computation operations.

Inventive Principle:
Principle #10Preliminary action

2Reliability

If ETL processes are implemented to ensure data quality, then data reliability is improved, but processing time and resource consumption increase

Engineering Contradiction:
Improvedata qualityVSAvoiddata processing time
Core Design Contradiction:
ReliabilityVSLoss of time

Solution Approach 1:

Instead of implementing complete ETL processes, the patent applies partial validation actions. The system validates only the necessary aspects of data quality relevant to the materialized view, performing sufficient validation to ensure reliability without the overhead of comprehensive ETL processing for all data aspects.

Inventive Principle:
Principle #16Partial or excessive action

3Loss of information

If materialized views are frequently updated to maintain freshness, then data currency is improved, but computational overhead increases

Engineering Contradiction:
Improvedata freshnessVSAvoidcomputational energy
Core Design Contradiction:
Loss of informationVSUse of energy by moving object

Solution Approach 1:

The system implements periodic validation and updates of materialized views rather than continuous updates. The validation occurs at scheduled intervals or triggered by specific events, maintaining data freshness while avoiding the constant computational overhead of continuous synchronization and validation processes.

Inventive Principle:
Principle #19Periodic action

Data Source

PatentUS11822548B2Data warehouse framework for high performance reporting
Publication Date: 2023.11.21 INTERNATIONAL BUSINESS MACHINE CORPORATION
  • US11822548B2 patent drawing
  • US11822548B2 patent drawing
  • US11822548B2 patent drawing

AI summary

A computer-implemented method, system and computer program product for improving performance for retrieving and reporting information from a data warehouse. A query (e.g., SQL query) is received. If a materialized view is present, and if such a materialized view was generated within the designated time frame, then the query is translated to query a materialized view. The translated query is then sent to a first data storage database of the data warehouse storing materialized views to be processed to obtain the materialized object associated with the query. If, on the other hand, the materialized view is not present, or the materialized view is present but has not been generated within the designated time frame, then the query is sent to the second data storage database of the data warehouse storing the original data without any modification to retrieve and report the appropriate information from the second data storage database.