DBSP: Automatic Incremental View Maintenance for Rich Query Languages

03/30/2022
by   Mihai Budiu, et al.
0

Incremental view maintenance has been for a long time a central problem in database theory. Many solutions have been proposed for restricted classes of database languages, such as the relational algebra, or Datalog. These techniques do not naturally generalize to richer languages. In this paper we give a general solution to this problem in 3 steps: (1) we describe a simple but expressive language called DBSP for describing computations over data streams; (2) we give a general algorithm for solving the incremental view maintenance problem for arbitrary DBSP programs, and (3) we show how to model many rich database query languages (including the full relational queries, grouping and aggregation, monotonic and non-monotonic recursion, and streaming aggregation) using DBSP. As a consequence, we obtain efficient incremental view maintenance techniques for all these rich languages.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
12/12/2017

Incremental View Maintenance for Property Graph Queries

This paper discusses the challenges of incremental view maintenance for ...
research
07/04/2020

Detecting Opportunities for Differential Maintenance of Extracted Views

Semi-structured and unstructured data management is challenging, but man...
research
09/28/2020

Tempura: A General Cost Based Optimizer Framework for Incremental Data Processing (Extended Version)

Incremental processing is widely-adopted in many applications, ranging f...
research
02/13/2023

Incremental Consistent Updating of Incomplete Databases

Efficient consistency maintenance of incomplete and dynamic real-life da...
research
08/09/2018

Hunting for Tractable Languages for Judgment Aggregation

Judgment aggregation is a general framework for collective decision maki...
research
05/31/2022

What Can Database Query Processing Do for Instance-Spanning Constraints?

In the last decade, the term instance-spanning constraint has been intro...
research
04/27/2018

Certified Graph View Maintenance with Regular Datalog

We employ the Coq proof assistant to develop a mechanically-certified fr...

Please sign up or login with your details

Forgot password? Click here to reset