Skip to main content
QUICK REVIEW

[Paper Review] Distributed Dependency Discovery

Hemant Saxena, Lukasz Golab|arXiv (Cornell University)|Mar 12, 2019
Data Quality and ManagementDecision Sciences19 references5 citations
TL;DR

This paper proposes a six-primitive framework to systematically analyze and optimize distributed dependency discovery in big data systems, decoupling logical design from physical implementation. By rearchitecting existing algorithms using these primitives, the authors demonstrate that communication-optimized, distribution-friendly designs can achieve over an order of magnitude better performance than naive distributed ports of centralized algorithms.

ABSTRACT

We analyze the problem of discovering dependencies from distributed big data. Existing (non-distributed) algorithms focus on minimizing computation by pruning the search space of possible dependencies. However, distributed algorithms must also optimize communication costs, especially in shared-nothing settings, leading to a more complex optimization space. To understand this space, we introduce six primitives shared by existing dependency discovery algorithms, corresponding to data processing steps separated by communication barriers. Through case studies, we show how the primitives allow us to analyze the design space and develop communication-optimized implementations. Finally, we support our analysis with an experimental evaluation on real datasets.

Motivation & Objective

  • To address the challenge of efficiently discovering functional, unique column, order, and denial dependencies in distributed big data environments where communication costs are prohibitive.
  • To identify and formalize the core data processing steps—separated by communication barriers—that underlie existing dependency discovery algorithms.
  • To enable systematic exploration of the trade-off space between computation and communication in distributed dependency discovery through logical and physical plan decomposition.
  • To demonstrate that rearchitecting centralized algorithms with distribution-aware optimizations leads to significant performance gains over naive parallelizations.

Proposed method

  • The authors decompose dependency discovery algorithms into six logical primitives representing data processing steps separated by communication barriers, enabling modular analysis of computation and communication costs.
  • They introduce Logical Discovery Plans (LDPs) to represent algorithmic logic using these primitives, decoupling design from implementation.
  • They define Physical Discovery Plans (PDPs) as concrete implementations of LDPs, allowing tuning of distribution strategies and resource allocation.
  • The framework supports case studies where both original (centralized-inspired) and distribution-friendly LDPs are created for algorithms like FastFDs and TANE.
  • Performance is evaluated using real datasets on Spark clusters, comparing communication overhead and execution time across different physical implementations.
  • The approach enables cost-based optimization by modeling the impact of data skew, partitioning, and intermediate result reduction on overall performance.

Experimental results

Research questions

  • RQ1How can existing centralized dependency discovery algorithms be systematically restructured for efficient distribution across shared-nothing clusters?
  • RQ2What are the key communication and computation bottlenecks in naive parallelizations of dependency discovery algorithms?
  • RQ3To what extent can rearchitecting algorithms using distribution-aware primitives reduce communication costs and improve performance?
  • RQ4How do different physical implementations of the same logical plan affect runtime and scalability across varying data sizes and schema dimensions?

Key findings

  • The distribution-friendly version of FastFDs achieved over an order of magnitude speedup compared to a naive distributed port, demonstrating the impact of communication-aware design.
  • For datasets with many columns, such as ncvoter (60 columns), FastFDs ran out of memory due to explosion in the minimal set cover space, while HyFD and TANE scaled better.
  • On the lineitem dataset (6 million rows), TANE and HyFD outperformed FastFDs, which exceeded 48 hours, highlighting the importance of algorithmic choice in distributed settings.
  • The hybrid algorithm HyFD performed best on homicide and fd-reduced datasets by efficiently switching between data-driven and schema-driven phases, reducing overall execution time.
  • In the flight dataset (109 columns), FastFDs completed in 99 seconds, while HyFD took 351 seconds due to high validation cost in the schema-driven phase, showing that data-driven algorithms scale better with high columnarity.
  • The precision of locally discovered FDs dropped sharply with increasing node count—falling below 50% on the TPC-H lineitem table with 10 nodes—proving that naive local discovery is unreliable in distributed settings.

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.