Fine-Grained Dichotomies for Conjunctive Queries with Minimum or Maximum

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Carmeli, Nofar, Tziavelis, Nikolaos
Format: Preprint
Published: 2025
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866908605875224576
author Carmeli, Nofar
Tziavelis, Nikolaos
author_facet Carmeli, Nofar
Tziavelis, Nikolaos
contents We investigate the fine-grained complexity of direct access to Conjunctive Query (CQ) answers according to their position, ordered by the minimum (or maximum) value between attributes. We further use the tools we develop to explore a wealth of related tasks. We consider the task of ranked enumeration under min/max orders, as well as tasks concerning CQs with predicates of the form x <= min X , where X is a set of variables and x is a single variable: counting, enumeration, direct access, and predicate elimination (i.e., transforming the pair of query and database to an equivalent pair without min-predicates). For each task, we establish a complete dichotomy for self-join-free CQs, precisely identifying the cases that are solvable in near-ideal time, i.e., (quasi)linear preprocessing time followed by constant or logarithmic time per output.
format Preprint
id arxiv_https___arxiv_org_abs_2510_19197
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Fine-Grained Dichotomies for Conjunctive Queries with Minimum or Maximum
Carmeli, Nofar
Tziavelis, Nikolaos
Databases
Data Structures and Algorithms
We investigate the fine-grained complexity of direct access to Conjunctive Query (CQ) answers according to their position, ordered by the minimum (or maximum) value between attributes. We further use the tools we develop to explore a wealth of related tasks. We consider the task of ranked enumeration under min/max orders, as well as tasks concerning CQs with predicates of the form x <= min X , where X is a set of variables and x is a single variable: counting, enumeration, direct access, and predicate elimination (i.e., transforming the pair of query and database to an equivalent pair without min-predicates). For each task, we establish a complete dichotomy for self-join-free CQs, precisely identifying the cases that are solvable in near-ideal time, i.e., (quasi)linear preprocessing time followed by constant or logarithmic time per output.
title Fine-Grained Dichotomies for Conjunctive Queries with Minimum or Maximum
topic Databases
Data Structures and Algorithms
url https://arxiv.org/abs/2510.19197