Unknown

Dataset Information

0

Beyond Equi-joins: Ranking, Enumeration and Factorization.


ABSTRACT: We study theta-joins in general and join predicates with conjunctions and disjunctions of inequalities in particular, focusing on ranked enumeration where the answers are returned incrementally in an order dictated by a given ranking function. Our approach achieves strong time and space complexity properties: with n denoting the number of tuples in the database, we guarantee for acyclic full join queries with inequality conditions that for every value of k, the k top-ranked answers are returned in O(npolylogn+klogk) time. This is within a polylogarithmic factor of O(n+klogk) , i.e., the best known complexity for equi-joins, and even of O(n+k) , i.e., the time it takes to look at the input and return k answers in any order. Our guarantees extend to join queries with selections and many types of projections (namely those called "free-connex" queries and those that use bag semantics). Remarkably, they hold even when the number of join results is n for a join of relations. The key ingredient is a novel O(npolylogn) -size factorized representation of the query output, which is constructed on-the-fly for a given query and database. In addition to providing the first non-trivial theoretical guarantees beyond equi-joins, we show in an experimental study that our ranked-enumeration approach is also memory-efficient and fast in practice, beating the running time of state-of-the-art database systems by orders of magnitude.

SUBMITTER: Tziavelis N 

PROVIDER: S-EPMC9106312 | biostudies-literature | 2021 Jul

REPOSITORIES: biostudies-literature

altmetric image

Publications

Beyond Equi-joins: Ranking, Enumeration and Factorization.

Tziavelis Nikolaos N   Gatterbauer Wolfgang W   Riedewald Mirek M  

Proceedings of the VLDB Endowment. International Conference on Very Large Data Bases 20210701 11


We study theta-joins in general and join predicates with conjunctions and disjunctions of inequalities in particular, focusing on <i>ranked enumeration</i> where the answers are returned incrementally in an order dictated by a given ranking function. Our approach achieves strong time and space complexity properties: with <i>n</i> denoting the number of tuples in the database, we guarantee for acyclic full join queries with inequality conditions that for <i>every</i> value of <i>k</i>, the <i>k</  ...[more]

Similar Datasets

| S-EPMC10101413 | biostudies-literature
| S-EPMC4562600 | biostudies-literature
| S-EPMC12409607 | biostudies-literature
| S-EPMC5752564 | biostudies-literature
| S-EPMC7398553 | biostudies-literature
2021-05-28 | GSE167862 | GEO
| S-EPMC2821900 | biostudies-literature
| S-EPMC7872589 | biostudies-literature
| S-EPMC3679875 | biostudies-literature
| S-EPMC3611602 | biostudies-literature