Skip to main content
QUICK REVIEW

[Paper Review] Equi-depth Histogram Construction for Big Data with Quality Guarantees

Burak Yildiz, Tolga Büyüktanır|arXiv (Cornell University)|Jun 17, 2016
Cloud Computing and Resource ManagementComputer Science27 references6 citations
TL;DR

This paper proposes a novel merge-based method for constructing approximate equi-depth histograms on big data using precomputed exact histograms from data partitions, ensuring a bounded error of at most $2\beta/T$ in bucket size and range queries. The approach enables efficient, on-demand histogram construction in Hadoop with theoretical and empirical guarantees of accuracy, outperforming tuple-level sampling in consistency and precision while incurring only a modest offline computation cost.

ABSTRACT

The amount of data generated and stored in cloud systems has been increasing exponentially. The examples of data include user generated data, machine generated data as well as data crawled from the Internet. There have been several frameworks with proven efficiency to store and process the petabyte scale data such as Apache Hadoop, HDFS and several NoSQL frameworks. These systems have been widely used in industry and thus are subject to several research. The proposed data processing techniques should be compatible with the above frameworks in order to be practical. One of the key data operations is deriving equi-depth histograms as they are crucial in understanding the statistical properties of the underlying data with many applications including query optimization. In this paper, we focus on approximate equi-depth histogram construction for big data and propose a novel merge based histogram construction method with a histogram processing framework which constructs an equi-depth histogram for a given time interval. The proposed method constructs approximate equi-depth histograms by merging exact equi-depth histograms of partitioned data by guaranteeing a maximum error bound on the number of items in a bucket (bucket size) as well as any range on the histogram.

Motivation & Objective

  • To address the challenge of constructing accurate equi-depth histograms for massive, distributed datasets in real-time analytics.
  • To provide a practical solution compatible with Hadoop and NoSQL frameworks for scalable big data processing.
  • To guarantee a user-specified maximum error bound on bucket size and range queries during histogram merging.
  • To enable dynamic, on-demand histogram construction from precomputed sub-histograms of data partitions.
  • To improve upon existing sampling-based methods by ensuring consistent and bounded error across varying data partitions.

Proposed method

  • The method constructs exact equi-depth histograms for each data partition offline using a MapReduce job with sorting and bucketing.
  • It merges $T$-bucket sub-histograms from multiple partitions into a single $\beta$-bucket equi-depth histogram using a novel merging algorithm.
  • The merging process ensures a theoretical maximum error bound of $2\beta/T$ on bucket size and any range query, derived from mathematical analysis.
  • The framework supports on-demand histogram generation for any subset of partitions by combining precomputed histograms without reprocessing raw data.
  • It uses a histogram processing framework that stores and retrieves sub-histograms incrementally, enabling efficient updates and queries.
  • The approach leverages the incremental nature of log and transaction data, allowing daily or hourly precomputation for fast response times.

Experimental results

Research questions

  • RQ1Can we construct accurate equi-depth histograms for big data with provable error bounds using only precomputed sub-histograms of data partitions?
  • RQ2How does the merging of exact sub-histograms compare to tuple-level random sampling in terms of error consistency and accuracy?
  • RQ3What is the impact of the parameter $T$ (number of sub-histograms) on the error bound and performance of the merged histogram?
  • RQ4Can the proposed method maintain bounded error across different data distributions, including skewed data?
  • RQ5How does the offline precomputation cost compare to online sampling in terms of time and scalability for real-world workloads?

Key findings

  • The proposed merge-based method achieves at least 10 times lower boundary error than tuple-level sampling on real-world data, as shown in Figure 16a.
  • The mean bucket error ($\mu_b$) of the merge method is consistently non-increasing with increasing $T$, demonstrating stability and predictability.
  • The tuple-level sampling method shows inconsistent error behavior, with $\mu_b$ not decreasing as $T$ increases, indicating poor reliability.
  • Offline summarization for the merge method takes ~12 minutes per day on real data, while sampling takes ~4 minutes, but the merge method ensures bounded error.
  • The running time for merging daily summaries is comparable to sampling, with the merge method taking 117 seconds on real data and 73 seconds on skewed data (Table II).
  • The framework enables fast on-demand histogram construction over arbitrary subsets of partitions, making it practical for real-time analytics in cloud and big data systems.

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.