2022
DOI: 10.1145/3531055
|View full text |Cite
|
Sign up to set email alerts
|

Answering (Unions of) Conjunctive Queries using Random Access and Random-Order Enumeration

Abstract: As data analytics becomes more crucial to digital systems, so grows the importance of characterizing the database queries that admit a more efficient evaluation. We consider the tractability yardstick of answer enumeration with a polylogarithmic delay after a linear-time preprocessing phase. Such an evaluation is obtained by constructing, in the preprocessing phase, a data structure that supports polylogarithmic-delay enumeration. In this article, we seek a structure that supports the more demanding task of a … Show more

Help me understand this report

Search citation statements

Order By: Relevance

Paper Sections

Select...
2
1

Citation Types

0
3
0

Year Published

2023
2023
2024
2024

Publication Types

Select...
2
2

Relationship

0
4

Authors

Journals

citations
Cited by 4 publications
(3 citation statements)
references
References 38 publications
0
3
0
Order By: Relevance
“…Concentration theorems such as Hoeffding Inequality imply that it suffices to collect 𝑂 (1/𝜖 2 ) samples and repeat the process 𝑂 (log(1/𝛿)) times (and select the median of the estimates) to get an 𝜖-approximation with probability 1 − 𝛿. So, it suffices to be able to efficiently sample uniformly a random answer of an acyclic JQ; we can do so using linear-time algorithms for constructing a logarithmic-time random-access structure for the answers [6,8].…”
Section: Adaptation For Approximate Quantilesmentioning
confidence: 99%
See 1 more Smart Citation
“…Concentration theorems such as Hoeffding Inequality imply that it suffices to collect 𝑂 (1/𝜖 2 ) samples and repeat the process 𝑂 (log(1/𝛿)) times (and select the median of the estimates) to get an 𝜖-approximation with probability 1 − 𝛿. So, it suffices to be able to efficiently sample uniformly a random answer of an acyclic JQ; we can do so using linear-time algorithms for constructing a logarithmic-time random-access structure for the answers [6,8].…”
Section: Adaptation For Approximate Quantilesmentioning
confidence: 99%
“…To obtain an efficient randomized approximation, it suffices to be able to construct in quasilinear time a direct-access structure for the underlying JQ, regardless of the answer ordering; if so, then one can use a standard median-of-samples approach (with Hoeffding's inequality to guarantee the error bounds). Such algorithms for direct-access structures have been established in the past for arbitrary acyclic JQs [6,8]. Instead, we take on the challenge of deterministic approximation.…”
Section: Introductionmentioning
confidence: 99%
“…Direct-access solutions have been devised for Conjunctive Queries (CQs), first as a way to establish algorithms for enumerating the answers with linear preprocessing time and constant delay [4] (and FO queries with restrictions on the database [2]); the preprocessing phase constructs S, and the enumeration phase retrieves the answers by accessing S with increasing indices i. Later, direct access had a more crucial role within the task of enumerating the answers in a uniformly random order [8]. As a notion of query evaluation, direct access is interesting in its own right, since we can view S itself as the "result" of the query in the case where array-like access is sufficient for downstream processing (e.g., to produce a sample of answers, to return answers by pages, to answer q-quantile queries, etc.).…”
Section: Introductionmentioning
confidence: 99%