Analytical View Recommendation Engine for Distributed Database Query Optimization

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Distributed databases face challenges in maintaining accelerated system performance due to ever-changing data and reports, requiring continuous evaluation of analytical views to optimize query processing and reduce computational load.

Innovation Solution

An analytical view recommendation engine dynamically identifies poorly performing reports, evaluates queries, creates and deploys recommended analytical views to enhance performance, and merges or drops existing views as necessary, ensuring predictable performance across an increasing data landscape.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Speed

If analytical views are continuously maintained and updated to accelerate query processing, then query performance is improved, but system complexity and computational overhead increase

Engineering Contradiction:
Improvequery processing speedVSAvoidsystem complexity
Core Design Contradiction:
SpeedVSDevice complexity

Solution Approach 1:

The system automatically monitors query performance, identifies poorly performing reports, and generates analytical view recommendations without manual intervention. The recommendation engine self-adjusts by evaluating query patterns and autonomously determining which analytical views to create, update, or drop based on changing data and report characteristics.

Inventive Principle:
Principle #25Self-service

Solution Approach 2:

The analytical view maintenance system is dynamically adapted to changing conditions. It continuously evaluates query performance metrics and adjusts the analytical view portfolio in response to evolving data patterns and report requirements, transitioning from static to dynamic maintenance strategies.

Inventive Principle:
Principle #15Dynamics

2Productivity

If new analytical views are created to handle increasing data volume and new reports, then report performance is improved, but computational load and storage requirements increase

Engineering Contradiction:
Improvereport execution efficiencyVSAvoidcomputational load
Core Design Contradiction:
ProductivityVSUse of energy by moving object

Solution Approach 1:

The system creates analytical views selectively rather than maintaining views for all possible queries. It identifies only the most impactful analytical views that will provide the greatest performance improvement for the majority of queries, avoiding the computational overhead of maintaining excessive views.

Inventive Principle:
Principle #16Partial or excessive action

Solution Approach 2:

The recommendation engine adjusts analytical view parameters such as aggregation granularity, time ranges, and data filters based on observed query patterns. By optimizing these parameters, the system reduces the computational load required to maintain and query analytical views while preserving performance benefits.

Inventive Principle:
Principle #35Parameter changes

3Adaptability or versatility

If the system continuously evaluates and maintains analytical views to adapt to changing data and reports, then system adaptability is improved, but processing overhead and time consumption increase

Engineering Contradiction:
Improvesystem adaptability to changing dataVSAvoidevaluation and maintenance time
Core Design Contradiction:
Adaptability or versatilityVSLoss of time

Solution Approach 1:

The system performs analytical view evaluations and updates at periodic intervals rather than continuously. It schedules recommendation generation and analytical view maintenance operations to occur at optimized times, reducing processing overhead while maintaining adaptability to changing data and report requirements.

Inventive Principle:
Principle #19Periodic action

Solution Approach 2:

The recommendation engine implements feedback loops that monitor query performance and use this information to guide analytical view maintenance decisions. By leveraging performance feedback, the system adapts to changing conditions efficiently, making targeted updates only when and where performance degradation is detected.

Inventive Principle:
Principle #23Feedback

4Loss of energy

If existing analytical views are merged or dropped to optimize system resources, then storage and computational efficiency are improved, but query performance may deteriorate

Engineering Contradiction:
Improvecomputational efficiencyVSAvoidquery processing speed
Core Design Contradiction:
Loss of energyVSSpeed

Solution Approach 1:

The system merges analytical views that have overlapping data or complementary functions to reduce redundancy and improve maintenance efficiency. By consolidating similar views, the system reduces storage requirements and computational overhead while preserving the ability to answer diverse query types.

Inventive Principle:
Principle #5Merging (Combining)

Solution Approach 2:

The recommendation engine identifies and drops analytical views that are no longer relevant or frequently queried, freeing up computational resources and storage. It maintains a dynamic portfolio of analytical views, discarding obsolete ones and recovering resources for creating new views that better serve current query patterns.

Inventive Principle:
Principle #34Discarding and recovering

Data Source

PatentUS11016947B1Apparatus and method for recommending and maintaining analytical views
Publication Date: 2021.05.25 CLOUDERA INC
  • US11016947B1 patent drawing
  • US11016947B1 patent drawing

AI summary

A system has a distributed database with database partitions distributed across worker nodes connected by a network. An analytical view recommendation engine defines an analytical view comprising attributes and measures defined prior to the receipt of a query. The analytical view is maintained as a data unit separate from the distributed database. The analytical view recommendation engine includes instructions executed by a processor to identify a poorly performing report, evaluate queries associated with the poorly performing report, create a recommended analytical view to enhance the performance of the poorly performing report, and deploy the recommended analytical view.