Proceedings of the 36th ACM SIGMOD-SIGACT-SIGAI Symposium on Principles of Database Systems 2017
DOI: 10.1145/3034786.3034789
|View full text |Cite
|
Sign up to set email alerts
|

Answering Conjunctive Queries under Updates

Abstract: We consider the task of enumerating and counting answers to k-ary conjunctive queries against relational databases that may be updated by inserting or deleting tuples.We exhibit a new notion of q-hierarchical conjunctive queries and show that these can be maintained efficiently in the following sense. During a linear time preprocessing phase, we can build a data structure that enables constant delay enumeration of the query results; and when the database is updated, we can update the data structure and restart… Show more

Help me understand this report

Search citation statements

Order By: Relevance

Paper Sections

Select...
2
1
1
1

Citation Types

2
122
0

Year Published

2018
2018
2023
2023

Publication Types

Select...
5
2
2

Relationship

0
9

Authors

Journals

citations
Cited by 93 publications
(124 citation statements)
references
References 41 publications
2
122
0
Order By: Relevance
“…R . An enumeration algorithm A for E R is a 3 RAM that solves E R without repetitions. We say that A enumerates E R with delay d(|x |) if the time before the first output, the time between any two consecutive outputs, and the time between the last output and termination are each bound by d(|x |).…”
Section: Hypergraphsmentioning
confidence: 99%
See 1 more Smart Citation
“…R . An enumeration algorithm A for E R is a 3 RAM that solves E R without repetitions. We say that A enumerates E R with delay d(|x |) if the time before the first output, the time between any two consecutive outputs, and the time between the last output and termination are each bound by d(|x |).…”
Section: Hypergraphsmentioning
confidence: 99%
“…The reduction encodes the hard problem to the relations of a self-join free CQ, such that the answers of the CQ correspond to an answer of this problem [2,3,5,6]. However, using such an encoding for CQs within a union does not always work.…”
Section: Introductionmentioning
confidence: 99%
“…Dynamic Yannakakis (Dyn) is an algorithm to efficiently evaluate free-connex acyclic aggregate-equijoin queries under updates [23]. This algorithm matches two important theoretical lower bounds (for q-hierarchical CQs [7] and free-connex acyclic CQs [5]), and is highly efficient in practice. In this section we present a generalization of Dyn, called GDyn, to dynamically process free-connex acyclic GCQs.…”
Section: Dynamic Yannakakis Over Gcqsmentioning
confidence: 99%
“…Our approach with the relational payload ring strictly subsumes previous work on factorized IVM for acyclic joins [21] as it can support cyclic joins (see Section 6). The so-called q-hierarchical join queries (such as the Housing query in our experiments) are exactly those self-join-free conjunctive queries that admit constant time update [8]. Recent work on in-database maintenance of linear regression models shows how to compute such models using previously computed models over distinct sets of features [19].…”
Section: Related Workmentioning
confidence: 99%