Skip to main content
QUICK REVIEW

[Paper Review] Scalable Data Cube Analysis over Big Data

Zhengkui Wang, Yan Chu|arXiv (Cornell University)|Nov 22, 2013
Advanced Database Systems and QueriesComputer Science27 references13 citations
TL;DR

This paper proposes HaCube, a scalable MapReduce extension for efficient data cube analysis over big data, combining MapReduce's scalability with parallel DBMS efficiency. It introduces a novel batched cubing algorithm (CubeGen) and a new computation paradigm (MMRR) that enable load-balanced, incremental, and recomputable view maintenance, achieving 1.6x–2.8x speedup over Hadoop on large-scale TPC-D workloads with billions of tuples.

ABSTRACT

Data cubes are widely used as a powerful tool to provide multidimensional views in data warehousing and On-Line Analytical Processing (OLAP). However, with increasing data sizes, it is becoming computationally expensive to perform data cube analysis. The problem is exacerbated by the demand of supporting more complicated aggregate functions (e.g. CORRELATION, Statistical Analysis) as well as supporting frequent view updates in data cubes. This calls for new scalable and efficient data cube analysis systems. In this paper, we introduce HaCube, an extension of MapReduce, designed for efficient parallel data cube analysis on large-scale data by taking advantages from both MapReduce (in terms of scalability) and parallel DBMS (in terms of efficiency). We also provide a general data cube materialization algorithm which is able to facilitate the features in MapReduce-like systems towards an efficient data cube computation. Furthermore, we demonstrate how HaCube supports view maintenance through either incremental computation (e.g. used for SUM or COUNT) or recomputation (e.g. used for MEDIAN or CORRELATION). We implement HaCube by extending Hadoop and evaluate it based on the TPC-D benchmark over billions of tuples on a cluster with over 320 cores. The experimental results demonstrate the efficiency, scalability and practicality of HaCube for cube analysis over a large amount of data in a distributed environment.

Motivation & Objective

  • To address the growing computational burden of data cube analysis on big data, especially with complex aggregates and frequent updates.
  • To design a scalable and efficient system that leverages the strengths of both MapReduce (scalability) and parallel DBMS (efficiency) for OLAP workloads.
  • To enable efficient cube materialization and view maintenance in distributed, append-only environments with high-frequency updates.
  • To minimize I/O and shuffle overheads in MapReduce-based cube processing through intelligent cuboid batching and load balancing.
  • To support both incremental and recomputation-based view maintenance for diverse aggregate functions, including complex statistical operations.

Proposed method

  • Extends MapReduce with a new computation paradigm called MMRR (MAP-MERGE-REDUCE-REFRESH) to support efficient data cube processing.
  • Introduces a general cubing algorithm, CubeGen, that batches cuboids based on prefix ordering to minimize data shuffling and enable partial work reuse.
  • Employs a local store for intermediate data caching to improve data locality and reduce I/O, especially for iterative or incremental operations.
  • Uses a load-balancing strategy that partitions cuboids based on their prefix order and distributes them across reducers to balance computational load.
  • Supports view maintenance via two modes: incremental computation for algebraic aggregates (e.g., SUM, COUNT), and recomputation for non-algebraic ones (e.g., MEDIAN, CORRELATION).
  • Extends Hadoop to implement HaCube, enabling integration with existing big data pipelines and leveraging HDFS for distributed storage.

Experimental results

Research questions

  • RQ1How can data cube materialization be efficiently parallelized in a large-scale, distributed environment like Hadoop?
  • RQ2Can cuboids be batched and processed together in MapReduce to reduce I/O and shuffle overheads?
  • RQ3How can load balancing be achieved across reducers during cube computation to avoid hotspots and ensure scalability?
  • RQ4What mechanisms enable efficient and scalable view maintenance for frequent updates in append-only data warehouse systems?
  • RQ5Can a hybrid approach combining incremental and recomputation strategies support diverse aggregate functions (e.g., statistical functions) in a distributed cube system?

Key findings

  • HaCube achieves 1.6x to 2.2x speedup over naive MapReduce implementations for data cube materialization on large-scale datasets.
  • For view maintenance, HaCube outperforms standard Hadoop by 2.2x to 2.8x, demonstrating significant performance gains in both incremental and recomputation scenarios.
  • The system scales linearly with the number of nodes from 10 to 20, with execution time halving when resources are doubled, indicating strong horizontal scalability.
  • Beyond 20 nodes, the benefit of additional parallelism diminishes slightly due to framework setup overheads, but performance remains stable and efficient.
  • CubeGen’s batching strategy based on prefix ordering reduces shuffle and read overheads by enabling efficient sorting and partial work reuse in MapReduce.
  • The local store mechanism in HaCube improves performance by avoiding redundant data reloading and reshuffling from HDFS, especially in iterative or incremental workflows.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.