NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Scalable Data Cube Analysis over Big Data

Zhengkui Wang, Yan Chu, Kian-Lee Tan, Divyakant Agrawal, Amr El Abbadi, Xiaolong XuarXiv 2013

Abstract

Data cube materialization and maintenance are critical for On-Line Analytical Processing (OLAP) but face significant scalability challenges in the era of Big Data. This paper introduces HaCube, an extension of the MapReduce framework optimized for massive datasets. HaCube addresses the "Curse of Dimensionality" and the high I/O costs of standard MapReduce through a new Map-Merge-Reduce-Refresh (MMRR) paradigm and a persistent "Local Store" for data reuse. Experimental results on TPC-D benchmarks show that HaCube outperforms standard Hadoop by up to 2.8x in maintenance efficiency while maintaining near-linear scalability.

Introduction

Business intelligence relies heavily on data cubes to provide multi-dimensional views of data (e.g., Sales by Product, Region, and Time). However, as data volumes reach petabyte scales, traditional methods struggle. Two primary issues hinder performance: the exponential growth of cuboids with increasing dimensions (the Curse of Dimensionality) and the "DFS Tax"—the redundant loading and shuffling of base data in standard MapReduce frameworks like Hadoop during incremental updates. HaCube is designed to mitigate these bottlenecks by optimizing data reuse and computation scheduling.

System Architecture and the MMRR Paradigm

HaCube extends the traditional MapReduce flow into a four-stage process: Map-Merge-Reduce-Refresh (MMRR). The core innovation lies in the "Local Store" located on reducer nodes, which persists intermediate data across jobs. Unlike standard MapReduce, which deletes intermediate data after a job, HaCube keeps a persistent local cache. This allows subsequent update jobs to reuse previously sorted base data without hitting the Distributed File System (DFS).

The HaCube system architecture, highlighting the Cube Converting Layer and the MMRR processing nodes.

In the MMRR flow:

  • Map: Distributes data based on dimension prefixes.
  • Merge: Caches and sorts incoming delta data into the Local Store.
  • Reduce: Performs the actual aggregation.
  • Refresh: Updates cached views locally, allowing for efficient incremental maintenance without re-reading the entire dataset from the DFS.

Algorithmic Innovations: CubeGen and LBCCC

To handle the large number of cuboids ($2^n$ for $n$ dimensions), HaCube employs the CubeGen algorithm. This strategy groups cuboids that share common prefixes into batches. By processing these batches together, the system achieves "sorting for free" for descendant cuboids, drastically reducing the number of passes over the data.

CubeGen batching strategy: grouping cuboids with common prefixes to minimize data passes.

Furthermore, to prevent "stragglers" caused by uneven data distribution or varying computation costs, HaCube uses LBCCC (Load Balancing via Computation Complexity Comparison). This mechanism profiles a small data sample to estimate execution times and allocates reducer tasks proportionally, ensuring synchronized completion across the cluster.

Evaluation and Results

The system was evaluated using the TPC-D benchmark with up to 2.4 billion tuples on a 35-node cluster. Key findings include:

  • Efficiency: HaCube's CubeGen algorithm is 1.6x to 2.2x faster than naive MapReduce for initial materialization.
  • Incremental Maintenance: For updates, HaCube is 2.2x to 2.8x faster than standard Hadoop due to its Local Store and affinity scheduling.
  • Scalability: The system scales near-linearly from 10 to 40 nodes.
  • Load Balancing: LBCCC achieved high synchronization, with 95% of reducers finishing within 10 seconds of each other.

Conclusion

HaCube demonstrates that significant performance gains in Big Data OLAP can be achieved by minimizing I/O and maximizing data reuse. By pinning data to specific nodes and extending the MapReduce paradigm, HaCube provides a robust solution for high-frequency data cube updates. Future work includes integrating indexing techniques to further enhance query performance on materialized results.

Summary updated

BibTeX
@misc{wang2013scalable,
  author = {Zhengkui Wang and Yan Chu and Kian-Lee Tan and Divyakant Agrawal and Amr El Abbadi and Xiaolong Xu},
  title = {{Scalable Data Cube Analysis over Big Data}},
  year = {2013},
  eprint = {1311.5663},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1311.5663},
}
Figure