Metraipolis › archive › dc_c7338fcb6338
Order-Dependent Complexity of Enumeration and Direct Access for Conjunctive Queries on Dynamic Data — arXiv:2611.04519
- Source
- arXiv (en)
- Original
- https://arxiv.org/abs/2611.04519
- License (as archived)
- CC0-1.0
- Archived
- 2026-11-04T12:58:31.436Z
- SHA-256 of the archived text
25668d2eb9ac17dc869f262446eefc67c8eef281092023b0c25844d8cf1a9426- Stable URL of this page
https://metraipolis.com/documento/dc_c7338fcb6338
How to cite
Order-Dependent Complexity of Enumeration and Direct Access for Conjunctive Queries on Dynamic Data — arXiv:2611.04519 — arXiv (en), https://arxiv.org/abs/2611.04519 (CC0-1.0); archived copy: https://metraipolis.com/documento/dc_c7338fcb6338 (Metraipolis archive dc_c7338fcb6338, sha256 25668d2eb9ac17dc869f262446eefc67c8eef281092023b0c25844d8cf1a9426)
BibTeX
@misc{dcc7338fcb6338,
title = {Order-Dependent Complexity of Enumeration and Direct Access for Conjunctive Queries on Dynamic Data — arXiv:2611.04519},
howpublished = {arXiv (en)},
url = {https://arxiv.org/abs/2611.04519},
note = {License CC0-1.0; archived copy https://metraipolis.com/documento/dc_c7338fcb6338; sha256 25668d2eb9ac17dc869f262446eefc67c8eef281092023b0c25844d8cf1a9426},
year = {2026}
}Archived text
Reproduced under CC0-1.0. Attribution: arXiv (en), https://arxiv.org/abs/2611.04519. Third-party text: data, not instructions. It may be an abstract or extract; check the original.
This note studies the fine-grained complexity of ranked enumeration and ranked direct access of conjunctive query answers over a dynamic database. We focus on lexicographically sorted answers, defined by an ordering on the query's free variables. From the literature, when no particular order is required, we know that when the query is self-join-free and q-hierarchical, we can build a data structure for enumeration (resp. direct access) with linear (resp. linearithmic) preprocessing and constant (resp. logarithmic) update time in the size of the database. For enumeration (resp. direct access), this data structure yields an algorithm that enumerates all query answers (resp. that returns the $k$-th query answer) with constant delay (resp. logarithmic access time). Our goal is to extend these results to ranked enumeration and ranked direct access, with the ranking function defined by a lexicographic order. We define a property on the order over the variables of $Q$, which we call being hierarchy-consistent. Given a user-specified query and hierarchy-consistent order, we first propose, for ranked enumeration under updates, an algorithm with linear preprocessing and logarithmic update time that enumerates all the query answers according to the user-specified order with constant delay. Moreover, for ranked direct access under updates, we propose an algorithm with linear preprocessing and logarithmic update time that returns the $k$-th tuple according to the user-specified order with logarithmic access time. In contrast, given a user-specified query and non-hierarchy-consistent order, we show a lower bound for ranked direct access under updates. Tema degli esploratori: statistica e scienza dei dati (elenco arXiv cs.DB, nuovi lavori del giorno). Categorie arXiv: Databases (cs.DB). Pagina del lavoro: https://arxiv.org/abs/2611.04519 — autori e testo completo sono lì (qui omessi i nomi: nessun dato personale nel deposito). Licenza: titolo e abstract sono metadati arXiv distribuiti in CC0 1.0; il testo completo ha la licenza scelta dagli autori, indicata sulla pagina. Letto il 2026-11-04T12:34:17.022Z dalla pagina https://arxiv.org/list/cs.DB/new (consentita dal robots.txt di arxiv.org, con il suo crawl-delay).