article · Proceedings of the ACM on Management of Data · 2024
Output-sensitive Conjunctive Query Evaluation
Shaleen Deep, Hangdong Zhao, Austen Z. Fan, Paraschos Koutris
Cited by 2Open access
Abstract
Join evaluation is one of the most fundamental operations performed by database systems and arguably the most well-studied problem in the Database community. A staggering number of join algorithms have been developed, and commercial database engines use finely tuned join heuristics that take into account many factors including the selectivity of predicates, memory, IO, etc. However, most of the results have catered to either full join queries or non-full join queries but with degree constraints (such as PK-FK relationships) that makes join evaluation easier. Further, most of the algorithms are also not output-sensitive. In this paper, we present a novel, output-sensitive algorithm for the evaluation of acyclic Conjunctive Queries (CQs) that contain arbitrary free variables. Our result is based on a novel generalization of the Yannakakis algorithm and shows that it is possible to improve the running time guarantee of Yannakakis algorithm by a polynomial factor. Importantly, our algorithmic improvement does not depend on the use of fast matrix multiplication, as a recently proposed algorithm does. The application of our algorithm recovers known prior results and improves on known state-of-the-art results for common queries such as paths and stars. The upper bound is complemented with a matching lower bound for star queries, a restricted subclass of acyclic CQs, and a family of cyclic CQs conditioned on two variants of the k -clique conjecture.
Cite this paper
Deep, S., Zhao, H., Fan, A. Z., & Koutris, P. (2024). Output-sensitive Conjunctive Query Evaluation. Proceedings of the ACM on Management of Data, 2(5), 1–24. https://doi.org/10.1145/3695838
Deep, Shaleen, et al. “Output-sensitive Conjunctive Query Evaluation.” Proceedings of the ACM on Management of Data, vol. 2, no. 5, 2024, pp. 1–24, https://doi.org/10.1145/3695838.
Deep, Shaleen, Hangdong Zhao, Austen Z. Fan, and Paraschos Koutris. 2024. “Output-sensitive Conjunctive Query Evaluation.” Proceedings of the ACM on Management of Data 2 (5): 1–24. https://doi.org/10.1145/3695838.
Deep, S. et al. (2024) ‘Output-sensitive Conjunctive Query Evaluation’, Proceedings of the ACM on Management of Data, 2(5), pp. 1–24. Available at: https://doi.org/10.1145/3695838.
@article{deep2024output,
title = {{Output-sensitive Conjunctive Query Evaluation}},
author = {Deep, Shaleen and Zhao, Hangdong and Fan, Austen Z. and Koutris, Paraschos},
journal = {Proceedings of the ACM on Management of Data},
volume = {2},
number = {5},
pages = {1--24},
year = {2024},
doi = {10.1145/3695838}
}Made from the index record. Check names, capitalisation and page numbers against the paper. Need another style? AI for Research has over 10,000.
Related papers
Analysis of Query Optimizers
Ramineni Sharath Kumar · Journal of Computer Engineering and Information Technology · 2021
Cited by 0
A classification approach to the automatic reformulation of Boolean queries in information retrieval
Nam‐Ho Kim · 1993
Cited by 0
Multiple-query Optimizations in Data Integration
Feng Liu · Science Technology and Engineering · 2009
Cited by 0
Hybrid query plan generation
Carlos-Manuel López-Enríquez, Genoveva Vargas Solar, José-Luis Zechinelli-Martini et al. · HAL · 2012
Cited by 0Open access
An Empirical Study of Query Specificity
Avi Arampatzis, Jaap Kamps · Lecture notes in computer science · 2010
Cited by 3
An Algorithm for Query Rewriting with Refined Criteria for Query Materialization in Deep Web
Peng Pan, Qingzhong Li · Web Information System and Application Conference · 2013
Cited by 0
A classification approach to Boolean query reformulation
James C. French, Donald E. Brown, Nam‐Ho Kim · Journal of the American Society for Information Science · 1997
Cited by 19