<div class="csl-bib-body">
<div class="csl-entry">Merkl, T. (2026). <i>On the Diversity and Space-Time Complexity of Query Answering: Algorithms and Structural Foundations</i> [Dissertation, Technische Universität Wien]. reposiTUm. https://doi.org/10.34726/hss.2026.140927</div>
</div>
-
dc.identifier.uri
https://doi.org/10.34726/hss.2026.140927
-
dc.identifier.uri
http://hdl.handle.net/20.500.12708/227231
-
dc.description
Arbeit an der Bibliothek noch nicht eingelangt - Daten nicht geprüft
-
dc.description.abstract
Conjunctive queries (CQs) form the theoretical and practical backbone of modern database systems. They correspond to the part of SQL responsible for expressing joins, selections, and projections – the most frequent and performance critical operations in relational databases. This thesis advances the study of conjunctive queries by developing new algorithms and frameworks that improve the efficiency of query evaluation. A first line of contributions focuses on computing diverse query answering, addressing situations where a query yields too many results and the system is expected to return a meaningful subset of them. To that end, we study two complementary approaches to compute a diverse subset of query answers. The first provides diversity answers through ultrametric-based diversity measures, which endow query answers with a hierarchical structure that allows computing optimally diverse subsets efficiently. The second introduces a volume-based framework for computing diverse query answers that guarantees an (1 − 1/e)-approximation factor by employing agreedy algorithm. In this framework, we interpret diversity geometrically as the volume occupied by answers in some feature space. A second line of work targets the efficient computation of all query results withdata-dependent worst-case optimal join runtime guarantees. To that end, we propose partition constraints (PCs) as a novel generalization of degree constraints (DCs) to capture skew common in practical datasets. PCs allow us to more tightly bound the worst-case number of answers to a query and we show how existing worst-case optimal join algorithms developed for DCs can be extended to leverage PCs for improved performance. Finally, we study the space-time complexity of query processing. Building upontechniques from both database theory and probabilistic graphical models (PGMs),we show how pseudo-tree (PT) based algorithms developed for PGMs can be lifted toquery evaluation algorithms via generic join style loops. By construction, these algorithms are space-optimal, using only constant additional space. We then investigate controlled space-time trade-offs through caching strategies and tree decompositions, culminating in the novel structure termed recursive pseudo-trees. We show that optimal time complexity is often achievable with asymptotically lower space complexity than traditional approaches.
en
dc.language
English
-
dc.language.iso
en
-
dc.rights.uri
http://rightsstatements.org/vocab/InC/1.0/
-
dc.subject
relational databases
en
dc.subject
query optimization
en
dc.title
On the Diversity and Space-Time Complexity of Query Answering: Algorithms and Structural Foundations
en
dc.type
Thesis
en
dc.type
Hochschulschrift
de
dc.rights.license
In Copyright
en
dc.rights.license
Urheberrechtsschutz
de
dc.identifier.doi
10.34726/hss.2026.140927
-
dc.contributor.affiliation
TU Wien, Österreich
-
dc.rights.holder
Timo Merkl
-
dc.publisher.place
Wien
-
tuw.version
vor
-
tuw.thesisinformation
Technische Universität Wien
-
tuw.publication.orgunit
E192 - Institut für Logic and Computation
-
dc.type.qualificationlevel
Doctoral
-
dc.identifier.libraryid
AC17824082
-
dc.description.numberOfPages
186
-
dc.thesistype
Dissertation
de
dc.thesistype
Dissertation
en
dc.rights.identifier
In Copyright
en
dc.rights.identifier
Urheberrechtsschutz
de
tuw.advisor.staffStatus
staff
-
tuw.advisor.orcid
0000-0002-1760-122X
-
item.mimetype
application/pdf
-
item.cerifentitytype
Publications
-
item.fulltext
with Fulltext
-
item.openaccessfulltext
Open Access
-
item.openairecristype
http://purl.org/coar/resource_type/c_db06
-
item.grantfulltext
open
-
item.openairetype
doctoral thesis
-
item.languageiso639-1
en
-
crisitem.author.dept
E192-02 - Forschungsbereich Databases and Artificial Intelligence