MapReduce Data Warehouse with Virtual View and SQL Interface

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

MapReduce systems lack a declarative query interface, requiring significant user effort to write programs and do not optimize data access when data has structure, unlike relational databases with SQL.

Innovation Solution

A data warehouse framework built on top of MapReduce with a virtual view defined on star or snowflake schema, using a SQL-like query language and optimization techniques such as data compression, multi-query optimization, and materialized views to integrate seamlessly with ad-hoc MapReduce jobs.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Adaptability or versatility

If MapReduce is used for large data processing, then scalability and flexibility are improved, but user effort and programming complexity increase significantly

Engineering Contradiction:
ImprovescalabilityVSAvoidprogramming complexity
Core Design Contradiction:
Adaptability or versatilityVSDevice complexity

Solution Approach 1:

The patent introduces a view layer as an intermediary between the user and the MapReduce execution engine. Views provide a declarative interface that automatically translates high-level query specifications into optimized MapReduce jobs, eliminating the need for users to write complex programming code while maintaining full access to MapReduce's distributed processing capabilities

Inventive Principle:
Principle #24Intermediary (Mediator)

Solution Approach 2:

The system segments the data processing architecture into distinct layers: a declarative view definition layer, an optimization layer, and an execution layer. This segmentation allows users to work at the abstract view layer without dealing with implementation details, while the system handles the complexity of translating and executing queries as MapReduce jobs

Inventive Principle:
Principle #1Segmentation

2Adaptability or versatility

If MapReduce execution model is used, then flexibility is improved, but data access optimization for structured data is lost

Engineering Contradiction:
ImproveflexibilityVSAvoiddata access efficiency
Core Design Contradiction:
Adaptability or versatilityVSProductivity

Solution Approach 1:

The system dynamically adapts the data access strategy based on the query type and data structure. For structured data in star/snowflake schemas, the optimizer automatically selects efficient access patterns such as dimension table joins, while for unstructured data, it falls back to generic MapReduce processing, thus achieving both optimization and flexibility

Inventive Principle:
Principle #15Dynamics

Solution Approach 2:

The patent changes the parameter of data access methodology based on data structure characteristics. When structured data with schemas is detected, optimized access paths are selected; when unstructured data is present, flexible MapReduce processing is used, allowing the system to adapt its behavior to match the data characteristics

Inventive Principle:
Principle #35Parameter changes

3Ease of operation

If relational databases are used for structured data, then query simplicity and optimization are improved, but scalability and flexibility for large data processing are reduced

Engineering Contradiction:
Improvequery simplicityVSAvoidscalability
Core Design Contradiction:
Ease of operationVSAdaptability or versatility

Solution Approach 1:

The patent creates a universal system that combines the advantages of relational databases and MapReduce. The view layer provides SQL-like simplicity for structured queries, while the underlying execution engine leverages MapReduce's distributed architecture for scalability, making the system capable of handling both small and large datasets with a unified interface

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

Data Source

PatentUS8918388B1Custom data warehouse on top of mapreduce
Publication Date: 2014.12.23 AMOBEE
  • US8918388B1 patent drawing
  • US8918388B1 patent drawing
  • US8918388B1 patent drawing

AI summary

A method and apparatus for a data warehouse built on top of MapReduce is provided. A virtual view is defined on top of the common star or snowflake data warehouse schema. A SQL-like, but much more succinct, query language is provided to leverage the virtual view. Many advanced query processing features leveraging the virtual view are also provided. Further, several optimization techniques ranging from data compression and access method to multi-query optimization and exploiting materialized views are provided. Further, a technique to seamlessly integrate the data warehouse system into any ad-hoc MapReduce jobs is provided. Thus, fully leveraging the power of both MapReduce and data warehouse technologies is achieved.