Skip to main navigation Skip to search Skip to main content

Conjunctive queries with free access patterns under updates

Research output: Contribution to journalArticlepeer-review

Abstract

We study the problem of answering conjunctive queries with free access patterns (CQAPs) under updates. A free access pattern is a partition of the free variables of the query into input and output. The query returns tuples over the output variables given a tuple of values over the input variables. We introduce a fully dynamic evaluation approach that works for all CQAPs and is optimal for two classes of CQAPs. This approach recovers prior work on the dynamic evaluation of conjunctive queries without access patterns. We first give a syntactic characterisation of all CQAPs that admit constant time per single-tuple update and whose output tuples can be enumerated with constant delay given a tuple of values over the input variables. We further chart the complexity trade-off between the preprocessing time, update time and enumeration delay for a class of CQAPs. For some of these CQAPs, our approach achieves optimal, albeit non-constant, update time and delay. This optimality is predicated on the Online Matrix-Vector Multiplication conjecture. We finally adapt our approach to the dynamic evaluation of tractable CQAPs over probabilistic databases under updates.
Original languageEnglish
Article number23
Pages (from-to)1-50
Number of pages50
JournalLogical Methods in Computer Science
Volume21
Issue number2
DOIs
Publication statusPublished - 16 Jun 2025

Keywords / Materials (for Non-textual outputs)

  • fully dynamic algorithm
  • enumeration delay
  • complexity trade-off
  • dichotomy
  • probabilistic databases

Fingerprint

Dive into the research topics of 'Conjunctive queries with free access patterns under updates'. Together they form a unique fingerprint.
  • Conjunctive Queries with Free Access Patterns under Updates

    Kara, A., Nikolic, M., Olteanu, D. & Zhang, H., 17 Mar 2023, Proceedings of the 26th International Conference on Database Theory (ICDT 2023). Geerts, F. & Vandevoort, B. (eds.). Dagstuhl, Germany: Schloss Dagstuhl - Leibniz-Zentrum für Informatik, Vol. 255. p. 17:1-17:20 56 p. 17. (LIPIcs – Leibniz International Proceedings in Informatics).

    Research output: Chapter in Book/Report/Conference proceedingConference contribution

    Open Access
    File

Cite this