Generalized Covers for Conjunctive Queries

Author Paraschos Koutris



PDF
Thumbnail PDF

File

LIPIcs.ICDT.2025.28.pdf
  • Filesize: 0.81 MB
  • 15 pages

Document Identifiers

Author Details

Paraschos Koutris
  • University of Wisconsin-Madison, WI, USA

Cite As Get BibTex

Paraschos Koutris. Generalized Covers for Conjunctive Queries. In 28th International Conference on Database Theory (ICDT 2025). Leibniz International Proceedings in Informatics (LIPIcs), Volume 328, pp. 28:1-28:15, Schloss Dagstuhl – Leibniz-Zentrum für Informatik (2025) https://doi.org/10.4230/LIPIcs.ICDT.2025.28

Abstract

Covers of query results were introduced as succinct lossless representations of join query outputs. A cover is a subset of the query result from which we can efficiently enumerate the output with constant delay and linear preprocessing time. However, covers are dependent on a single tree decomposition of the query. In this work, we generalize the notion of a cover to a set of multiple tree decompositions. We show that this generalization can potentially produce asymptotically smaller covers while maintaining the properties of constant-delay enumeration and linear preprocessing time. In particular, given a set of tree decompositions, we can determine exactly the asymptotic size of a minimum cover, which is tied to the notion of entropic width of the query. We also provide a simple greedy algorithm that computes this cover efficiently. Finally, we relate covers to semiring circuits when the semiring is idempotent.

Subject Classification

ACM Subject Classification
  • Theory of computation → Database theory
Keywords
  • Conjunctive Query
  • tree decomposition
  • cover

Metrics

  • Access Statistics
  • Total Accesses (updated on a weekly basis)
    0
    PDF Downloads

References

  1. Antoine Amarilli and Florent Capelli. Tractable circuits in database theory. SIGMOD Rec., 53(2):6-20, 2024. URL: https://doi.org/10.1145/3685980.3685982.
  2. Albert Atserias, Martin Grohe, and Dániel Marx. Size bounds and query plans for relational joins. In FOCS, pages 739-748. IEEE Computer Society, 2008. URL: https://doi.org/10.1109/FOCS.2008.43.
  3. Guillaume Bagan, Arnaud Durand, and Etienne Grandjean. On acyclic conjunctive queries and constant delay enumeration. In CSL, volume 4646 of Lecture Notes in Computer Science, pages 208-222. Springer, 2007. URL: https://doi.org/10.1007/978-3-540-74915-8_18.
  4. Christoph Berkholz and Nicole Schweikardt. Constant delay enumeration with fpt-preprocessing for conjunctive queries of bounded submodular width. In MFCS, volume 138 of LIPIcs, pages 58:1-58:15. Schloss Dagstuhl - Leibniz-Zentrum für Informatik, 2019. URL: https://doi.org/10.4230/LIPICS.MFCS.2019.58.
  5. Nofar Carmeli and Markus Kröll. On the enumeration complexity of unions of conjunctive queries. ACM Trans. Database Syst., 46(2):5:1-5:41, 2021. URL: https://doi.org/10.1145/3450263.
  6. Shaleen Deep, Xiao Hu, and Paraschos Koutris. General space-time tradeoffs via relational queries. In WADS, volume 14079 of Lecture Notes in Computer Science, pages 309-325. Springer, 2023. URL: https://doi.org/10.1007/978-3-031-38906-1_21.
  7. Shaleen Deep and Paraschos Koutris. Compressed representations of conjunctive query results. In PODS, pages 307-322. ACM, 2018. URL: https://doi.org/10.1145/3196959.3196979.
  8. Arnaud Durand and Yann Strozecki. Enumeration complexity of logical query problems with second-order variables. In CSL, volume 12 of LIPIcs, pages 189-202. Schloss Dagstuhl - Leibniz-Zentrum für Informatik, 2011. URL: https://doi.org/10.4230/LIPICS.CSL.2011.189.
  9. Austen Z. Fan, Paraschos Koutris, and Hangdong Zhao. Tight bounds of circuits for sum-product queries. Proc. ACM Manag. Data, 2(2):87, 2024. URL: https://doi.org/10.1145/3651588.
  10. Todd J. Green, Gregory Karvounarakis, and Val Tannen. Provenance semirings. In PODS, pages 31-40. ACM, 2007. URL: https://doi.org/10.1145/1265530.1265535.
  11. Ahmet Kara, Milos Nikolic, Dan Olteanu, and Haozhe Zhang. Trade-offs in static and dynamic evaluation of hierarchical queries. In PODS, pages 375-392. ACM, 2020. URL: https://doi.org/10.1145/3375395.3387646.
  12. Ahmet Kara, Milos Nikolic, Dan Olteanu, and Haozhe Zhang. Evaluation trade-offs for acyclic conjunctive queries. In CSL, volume 252 of LIPIcs, pages 29:1-29:20. Schloss Dagstuhl - Leibniz-Zentrum für Informatik, 2023. URL: https://doi.org/10.4230/LIPICS.CSL.2023.29.
  13. Ahmet Kara and Dan Olteanu. Covers of query results. In ICDT, volume 98 of LIPIcs, pages 16:1-16:22. Schloss Dagstuhl - Leibniz-Zentrum für Informatik, 2018. URL: https://doi.org/10.4230/LIPICS.ICDT.2018.16.
  14. Mahmoud Abo Khamis, Hung Q. Ngo, and Dan Suciu. What do Shannon-type inequalities, submodular width, and disjunctive datalog have to do with one another? In PODS, pages 429-444. ACM, 2017. URL: https://doi.org/10.1145/3034786.3056105.
  15. Mahmoud Abo Khamis, Hung Q. Ngo, and Dan Suciu. What do shannon-type inequalities, submodular width, and disjunctive datalog have to do with one another?, 2023. URL: https://arxiv.org/abs/1612.02503.
  16. Dan Olteanu and Jakub Závodný. Size bounds for factorised representations of query results. ACM Trans. Database Syst., 40(1):2:1-2:44, 2015. URL: https://doi.org/10.1145/2656335.
  17. Rasmus Pagh and Flemming Friche Rodler. Cuckoo hashing. In ESA, volume 2161 of Lecture Notes in Computer Science, pages 121-133. Springer, 2001. URL: https://doi.org/10.1007/3-540-44676-1_10.
  18. Maximilian Schleich, Dan Olteanu, and Radu Ciucanu. Learning linear regression models over factorized joins. In SIGMOD Conference, pages 3-18. ACM, 2016. URL: https://doi.org/10.1145/2882903.2882939.
  19. Hangdong Zhao, Shaleen Deep, and Paraschos Koutris. Space-time tradeoffs for conjunctive queries with access patterns. In PODS, pages 59-68. ACM, 2023. URL: https://doi.org/10.1145/3584372.3588675.
Questions / Remarks / Feedback
X

Feedback for Dagstuhl Publishing


Thanks for your feedback!

Feedback submitted

Could not send message

Please try again later or send an E-mail