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

Materialized Views in Probabilistic Databases for Information Exchange and Query Optimization

Christopher Ré, Dan SuciuVLDB 2007

Introduction

Probabilistic databases model uncertainty by assigning probabilities to records. To maintain accuracy during query processing, these systems traditionally rely on lineage (or provenance)—mathematical expressions that track the dependencies of every row back to base facts. However, lineage introduces significant overhead in terms of performance and complicates information exchange between parties, as it may reveal sensitive underlying data structures or be too bulky to transmit.

The Challenge of Lineage

As lineage grows, it can become as large as the database itself, making query-time inspection computationally prohibitive. Furthermore, sharing a view with its full lineage is often impractical for secure or lightweight information exchange. The central question addressed in this research is whether a probabilistic view can be represented as a simple table—specifically using the Block-Independent Disjoint (BID) formalism—without the burden of full lineage.

Example of a probabilistic view output where each tuple is associated with a complex symbolic probability expression representing its lineage.

Proposed Methodology: The BID Representation

The authors propose using BID tables, where rows are grouped into "blocks." Within a block, rows are mutually exclusive (disjoint), while different blocks remain independent. This structure simplifies the representation of uncertainty while maintaining mathematical rigor. To implement this, the researchers developed several key tools:

  • Representability Tests: Algorithms to determine if a conjunctive view can be perfectly mapped to a BID table.
  • The Chase Procedure: A technique utilizing functional dependencies to verify tuple independence within a view.
  • Partial Representations: A fallback for views that cannot be fully simplified, capturing as much independence as possible even if a unique global distribution isn't defined.
Illustration of probabilistic views and the resulting view $V_9^p$. The bottom table demonstrates how joint probabilities vary under different independence assumptions, highlighting the complexity of tracking correlations.

Key Insights and Results

The study reveals that lineage is often unnecessary for practical applications. The researchers found that many real-world views do not create the complex correlations that require full lineage tracking. Key findings include:

  • Real-World Prevalence: In a dataset from iLike.com, 80% of materialized views were representable as BID tables, and 98.5% of the workload could benefit from these optimizations.
  • Massive Speedups: On TPC-H benchmarks, using BID-represented views instead of lineage-based views resulted in a 1,000x improvement in query execution time.
  • Efficiency: The practical algorithm for checking representability usually runs in under one second, making it viable for real-time database optimizers.

This performance gain stems from the ability to use "safe plans"—standard SQL-like processing—instead of the expensive Monte Carlo simulations usually required for probabilistic data.

Conclusion and Future Work

By moving from lineage-heavy views to BID representations, probabilistic databases can achieve massive performance improvements and facilitate safer data sharing. While challenges remain regarding self-joins and the "View Selection Problem" (deciding which views to materialize), this framework provides a robust foundation for efficient uncertain data management.

Summary updated

BibTeX
@inproceedings{re2007materialized,
  author = {Christopher Ré and Dan Suciu},
  title = {{Materialized Views in Probabilistic Databases for Information Exchange and Query Optimization}},
  booktitle = {VLDB},
  year = {2007},
  url = {https://openreview.net/forum?id=cJRqnYdmsg},
}

Loading related content...

Figure