Persistent Query Service for Real-Time Database Reporting

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Current real-time database systems face challenges in handling large datasets due to slow Extract, Transform, and Load (ETL) processes, which hinder timely and accurate reporting, especially in environments requiring frequent data updates, such as contact centers, where reports are often delayed or inaccurate due to massive memory requirements.

Innovation Solution

A real-time database system that supports persistent queries by creating virtual tables and listeners to monitor data changes, allowing incremental updates and reducing the need for full query re-execution, thereby enabling faster data aggregation and reporting.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Productivity

If traditional ETL processes are used to consolidate and transform data from multiple sources, then data can be aggregated and stored in a unified format, but the process is slow and takes hours or days, preventing real-time reporting

Engineering Contradiction:
Improvedata aggregation speedVSAvoidreport generation time
Core Design Contradiction:
ProductivityVSLoss of time

Solution Approach 1:

The system pre-establishes virtual tables and their relationships before data changes occur. When data changes, the system only needs to update the virtual table structure rather than re-executing entire queries, enabling near-instantaneous report generation without requiring time-consuming ETL processes.

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The patent creates virtual tables that are logical copies or representations of actual data sources rather than physical copies. These virtual tables maintain relationships with source data while allowing rapid querying and aggregation without the overhead of copying and transforming entire datasets.

Inventive Principle:
Principle #26Copying

2Reliability

If full query re-execution is performed when data changes, then reports reflect the latest data, but the process is time-consuming and prevents real-time updates

Engineering Contradiction:
Improvereport accuracyVSAvoidupdate latency
Core Design Contradiction:
ReliabilityVSLoss of time

Solution Approach 1:

The system implements change notification mechanisms that detect when source data changes and automatically trigger updates to dependent virtual tables. This feedback loop ensures reports always reflect current data without requiring manual re-execution of queries, maintaining both accuracy and timeliness.

Inventive Principle:
Principle #23Feedback

Solution Approach 2:

The virtual table structure dynamically adapts to data changes rather than requiring static query re-execution. When source data changes, the system dynamically updates only the affected portions of virtual tables and their relationships, enabling real-time report generation without the overhead of full query re-execution.

Inventive Principle:
Principle #15Dynamics

3Speed

If large datasets are loaded into memory for real-time processing, then queries can be executed quickly, but memory requirements become massive and cost-ineffective

Engineering Contradiction:
Improvequery execution speedVSAvoidmemory consumption
Core Design Contradiction:
SpeedVSQuantity of substance

Solution Approach 1:

The system segments data into virtual tables that represent logical portions of the overall dataset. Instead of loading entire large datasets into memory, the system manages and processes data in segmented virtual tables that can be efficiently queried and updated, reducing memory consumption while maintaining query performance.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

Virtual tables act as intermediaries between data sources and query requests. They provide a layered abstraction that enables fast querying without requiring direct access to or loading of the complete underlying datasets, thus improving query speed while reducing memory requirements.

Inventive Principle:
Principle #24Intermediary (Mediator)

4Adaptability or versatility

If data is consolidated from multiple sources with different schemas, then unified reporting is enabled, but the ETL transformation process is complex and time-consuming

Engineering Contradiction:
Improvedata integration capabilityVSAvoidETL process complexity
Core Design Contradiction:
Adaptability or versatilityVSDevice complexity

Solution Approach 1:

The virtual table system provides a universal interface that can represent data from multiple sources with different schemas. The same virtual table infrastructure handles data from various sources without requiring source-specific ETL processes, simplifying the overall system while maintaining the ability to integrate diverse data types and structures.

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

Data Source

PatentUS10740327B2High performance real-time relational database system and methods for using same
Publication Date: 2020.08.11 TTEC HOLDINGS INC
  • US10740327B2 patent drawing
  • US10740327B2 patent drawing
  • US10740327B2 patent drawing

AI summary

A database system supporting persistent queries, comprising a persistent query service that receives connections and requests from client software applications; and a plurality of network-attached data sources; and a method for providing persistent queries using a persistent query service.