Metadata-Driven Query Processing for Distributed Data Analysis

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

The traditional approach to analyzing large data sets becomes impractical and cost-prohibitive as the size of the data grows, requiring excessive memory and infrastructure to keep data in memory and scale efficiently.

Innovation Solution

The method involves generating a data flow graph using metadata documents associated with consistency zones, allowing query nodes to service requests efficiently by distributing data and query processing across nodes, with metadata stored as a series of events, reducing the need to maintain metadata state and minimizing storage requests.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Speed

If data is loaded into memory for analysis, then analysis speed is improved, but memory cost and infrastructure overhead increase significantly

Engineering Contradiction:
Improveanalysis speedVSAvoidmemory cost
Core Design Contradiction:
SpeedVSQuantity of substance

Solution Approach 1:

The patent segments the data analysis system into multiple query nodes that can independently process different portions of data. Each query node maintains only the metadata it needs in memory, while the actual data remains distributed across storage systems. This segmentation allows the system to achieve parallel processing speed improvements without requiring all data to be loaded into memory simultaneously, thereby reducing overall memory costs.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The patent introduces a new dimension of metadata-driven query processing that operates independently from the physical data storage layer. By using metadata documents that describe data locations, schemas, and relationships, the system can perform analysis operations without loading the actual data into memory. This dimensional separation allows fast query processing while minimizing memory requirements.

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

2Productivity

If larger amounts of memory are provisioned to keep data in memory, then data analysis capability is improved, but infrastructure overhead and cost increase

Engineering Contradiction:
Improvedata analysis capabilityVSAvoidinfrastructure overhead
Core Design Contradiction:
ProductivityVSDevice complexity

Solution Approach 1:

The patent introduces metadata documents as an intermediary layer between the query processing system and the physical data storage. These metadata documents contain information about data locations, schemas, and relationships, allowing query nodes to process analysis requests without directly accessing or loading the actual data into memory. This intermediary approach enables sophisticated data analysis capabilities while keeping infrastructure overhead minimal, as only lightweight metadata structures need to be maintained in memory rather than large data sets.

Inventive Principle:
Principle #24Intermediary (Mediator)

3Quantity of substance

If data set size increases, then analytical value is improved, but scaling hardware and software infrastructure becomes difficult and costly

Engineering Contradiction:
Improvedata set sizeVSAvoidscaling difficulty
Core Design Contradiction:
Quantity of substanceVSDevice complexity

Solution Approach 1:

The patent segments the data infrastructure into distributed query nodes that can independently scale. Each query node processes a portion of the data set using metadata-driven approaches, allowing the system to scale horizontally by adding more nodes rather than vertically by increasing the capacity of single systems. This segmentation enables the system to handle larger data sets while maintaining manageable infrastructure complexity, as each node operates autonomously with its own metadata cache and processing logic.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The patent uses metadata documents that can be replicated and distributed across multiple query nodes. Instead of duplicating the entire data set across infrastructure components, the system copies only the lightweight metadata structures, which are then used by multiple nodes to access and process the actual data. This copying approach allows the system to scale to handle larger data sets while keeping infrastructure complexity low, as the replicated metadata is minimal in size compared to the actual data.

Inventive Principle:
Principle #26Copying

Data Source

PatentUS11481378B1Method and system for servicing query requests using document-based metadata
Publication Date: 2022.10.25 ANAPLAN INC
  • US11481378B1 patent drawing
  • US11481378B1 patent drawing
  • US11481378B1 patent drawing

AI summary

In general, the invention relates to a method for servicing query requests in a distributed system. The method includes generating a data flow graph for a data model using a plurality of metadata documents, where each of the metadata documents is associated with a consistency zone, and servicing a query request using the data flow graph and data associated with the data model.