Sketched Sum-Product Networks for Joins
Brian Tsan, Abylay Amanbayev, Asoke Datta, Florin Rusu

TL;DR
This paper introduces a novel approach using Sum-Product Networks to dynamically generate sketches for multi-way join cardinality estimation, enabling more flexible and efficient query optimization in relational databases.
Contribution
It proposes a method to approximate existing sketches on-the-fly with Sum-Product Networks, improving their applicability to new queries without costly preconstruction.
Findings
Sum-Product Networks can effectively decompose multivariate distributions.
The approach accurately approximates existing sketch methods like Fast-AGMS and Bound Sketch.
This method enhances join cardinality estimation in query optimization.
Abstract
Sketches have shown high accuracy in multi-way join cardinality estimation, a critical problem in cost-based query optimization. Accurately estimating the cardinality of a join operation -- analogous to its computational cost -- allows the optimization of query execution costs in relational database systems. However, although sketches have shown high efficacy in query optimization, they are typically constructed specifically for predefined selections in queries that are assumed to be given a priori, hindering their applicability to new queries. As a more general solution, we propose for Sum-Product Networks to dynamically approximate sketches on-the-fly. Sum-Product Networks can decompose and model multivariate distributions, such as relations, as linear combinations of multiple univariate distributions. By representing these univariate distributions as sketches, Sum-Product Networks…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Code & Models
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsProduct Development and Customization
