Sliding Window View Construct for Relational Database Query Language

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing materialized views in relational database query language (RDQL) cannot efficiently store and display aggregated data in a sliding window format, losing historical data and failing to handle aggregate functions based on fixed time slices.

Innovation Solution

The introduction of a sliding window view construct that stores pre-calculated query results and retains previous view results, allowing data to be displayed in a summary format over a fixed time period, with novel syntax for creating, populating, and purging rows based on user-defined intervals and retention criteria.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Productivity

If existing materialized view constructs are used to save pre-calculated query results, then data storage efficiency is improved, but historical view results are lost and aggregate functions cannot be applied to sliding windows

Engineering Contradiction:
Improvedata storage efficiencyVSAvoidhistorical view results
Core Design Contradiction:
ProductivityVSLoss of information

Solution Approach 1:

The patent segments the materialized view into multiple time-based partitions, where each partition stores results for a specific time window. This allows historical results to be preserved in separate partitions while maintaining storage efficiency through selective retention and automatic cleanup of expired partitions.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The patent adds a time dimension to the traditional materialized view by introducing time-based partitioning and retention policies. This transforms the view from a single static snapshot to a multi-temporal structure that can store and query historical aggregates across different time windows.

Inventive Principle:
Principle #17Another dimension (Dimensionality change)

2Speed

If existing materialized views store aggregated data, then query performance is improved, but the data cannot be displayed in sliding window format with fixed time slices

Engineering Contradiction:
Improvequery performanceVSAvoidsliding window format capability
Core Design Contradiction:
SpeedVSAdaptability or versatility

Solution Approach 1:

The patent introduces dynamic time window parameters that allow the sliding window size and position to be adjusted without regenerating the entire materialized view. The view structure adapts to different time slice configurations while maintaining pre-calculated aggregates for efficient querying.

Inventive Principle:
Principle #15Dynamics

Solution Approach 2:

The patent creates a universal materialized view structure that can serve multiple purposes: traditional aggregate queries, sliding window displays with fixed time slices, and historical data retrieval. The same underlying structure supports various query patterns through time-based partitioning and flexible retrieval mechanisms.

Inventive Principle:
Principle #6Universality (Multi-functionality)

3Quantity of substance

If materialized views retain all historical data, then data completeness is improved, but storage requirements and data management complexity increase

Engineering Contradiction:
Improvehistorical data volumeVSAvoiddata management complexity
Core Design Contradiction:
Quantity of substanceVSDevice complexity

Solution Approach 1:

The patent implements periodic retention policies that automatically manage the lifecycle of historical data in the materialized view. Data is retained for specified time periods and then automatically purged or archived, providing structured data completeness while preventing unbounded growth and managing complexity through systematic, time-based operations.

Inventive Principle:
Principle #19Periodic action

Data Source

PatentUS9477722B1Sliding window view constructs in relational database query language
Publication Date: 2016.10.25 ARRIS ENTERPRISES LLC
  • US9477722B1 patent drawing
  • US9477722B1 patent drawing
  • US9477722B1 patent drawing

AI summary

This disclosure relates to populating a sliding window view comprising one or more rows associated with one or more view intervals. In some implementations of this disclosure, the sliding window view can store the history of previous view results and each row in the sliding window view can correspond to a fixed interval of time. In some implementations, the sliding window view can store a constant number of view results by purging existing view results within the sliding window view. The sliding window view can provide a user with a convenient and efficient means for displaying data summary tables corresponding to a period of time.