arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2203.16684cs.DB
收藏

DBSP:富查询语言的自动增量视图维护

DBSP: Automatic Incremental View Maintenance for Rich Query Languages

Mihai Budiu, Frank McSherry, Leonid Ryzhyk, Val Tannen

摘要:

增量视图维护一直是数据库理论中的一个核心问题。对于受限的数据库语言类,例如关系代数或Datasheet,已经提出了许多解决方案。这些技术并不能自然地推广到更丰富的语言。本文提出了一个解决这个问题的一般方法,分三个步骤:(1)描述了一种简单而富有表现力的描述数据流计算的语言DBSP;(2)给出了任意DBSP程序的增量视图维护问题的通用算法;(3)给出了如何对多种富数据库查询语言建模的方法(包括全关系查询、分组和聚合、单调和非单调递归以及流聚合)。因此,我们获得了有效的增量视图维护技术,所有这些丰富的语言。

英文摘要:

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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑