Unknown

Dataset Information

0

Optimal Algorithms for Ranked Enumeration of Answers to Full Conjunctive Queries.


ABSTRACT: We study ranked enumeration of join-query results according to very general orders defined by selective dioids. Our main contribution is a framework for ranked enumeration over a class of dynamic programming problems that generalizes seemingly different problems that had been studied in isolation. To this end, we extend classic algorithms that find the k-shortest paths in a weighted graph. For full conjunctive queries, including cyclic ones, our approach is optimal in terms of the time to return the top result and the delay between results. These optimality properties are derived for the widely used notion of data complexity, which treats query size as a constant. By performing a careful cost analysis, we are able to uncover a previously unknown trade-off between two incomparable enumeration approaches: one has lower complexity when the number of returned results is small, the other when the number is very large. We theoretically and empirically demonstrate the superiority of our techniques over batch algorithms, which produce the full result and then sort it. Our technique is not only faster for returning the first few results, but on some inputs beats the batch algorithm even when all results are produced.

SUBMITTER: Tziavelis N 

PROVIDER: S-EPMC7955775 | biostudies-literature | 2020 May

REPOSITORIES: biostudies-literature

altmetric image

Publications

Optimal Algorithms for Ranked Enumeration of Answers to Full Conjunctive Queries.

Tziavelis Nikolaos N   Ajwani Deepak D   Gatterbauer Wolfgang W   Gatterbauer Wolfgang W   Riedewald Mirek M   Yang Xiaofeng X  

Proceedings of the VLDB Endowment. International Conference on Very Large Data Bases 20200501 9


We study ranked enumeration of join-query results according to very general orders defined by selective dioids. Our main contribution is a framework for ranked enumeration over a class of dynamic programming problems that generalizes seemingly different problems that had been studied in isolation. To this end, we extend classic algorithms that find the <i>k</i>-shortest paths in a weighted graph. For full conjunctive queries, including cyclic ones, our approach is optimal in terms of the time to  ...[more]

Similar Datasets

| S-EPMC7037061 | biostudies-literature
| S-EPMC3382443 | biostudies-literature
| S-EPMC7904180 | biostudies-literature
| S-EPMC7893858 | biostudies-literature
| S-EPMC7872590 | biostudies-literature
| S-EPMC7175693 | biostudies-literature
| S-EPMC5944932 | biostudies-literature
| S-EPMC3317236 | biostudies-literature
| S-EPMC2872879 | biostudies-other
| S-EPMC7221084 | biostudies-literature