Sampling over Union of Joins

03/02/2023
by   Yurong Liu, et al.
0

Data scientists often draw on multiple relational data sources for analysis. A standard assumption in learning and approximate query answering is that the data is a uniform and independent sample of the underlying distribution. To avoid the cost of join and union, given a set of joins, we study the problem of obtaining a random sample from the union of joins without performing the full join and union. We present a general framework for random sampling over the set union of chain, acyclic, and cyclic joins, with sample uniformity and independence guarantees. We study the novel problem of the union of joins size evaluation and propose two approximation methods based on histograms of columns and random walks on data. We propose an online union sampling framework that initializes with cheap-to-calculate parameter approximations and refines them on the fly during sampling. We evaluate our framework on workloads from the TPC-H benchmark and explore the trade-off of the accuracy of union approximation and sampling efficiency.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
11/05/2020

Towards a more perfect union type

We present a principled theoretical framework for inferring and checking...
research
04/14/2021

Computing the Union Join and Subset Graph of Acyclic Hypergraphs in Subquadratic Time

We investigate the two problems of computing the union join graph as wel...
research
10/03/2018

Inner Approximation of Minkowski Sums: A Union-Based Approach and Applications to Aggregated Energy Resources

This paper develops and compares algorithms to compute inner approximati...
research
01/07/2022

Weighted Random Sampling over Joins

Joining records with all other records that meet a linkage condition can...
research
04/03/2023

Guaranteeing the Õ(AGM/OUT) Runtime for Uniform Sampling and OUT Size Estimation over Joins

We propose a new method for estimating the number of answers OUT of a sm...
research
12/07/2019

Joins on Samples: A Theoretical Guide for Practitioners

Despite decades of research on approximate query processing (AQP), our u...
research
07/04/2018

TripleID-Q: RDF Query Processing Framework using GPU

Resource Description Framework (RDF) data represents information linkage...

Please sign up or login with your details

Forgot password? Click here to reset