OpenIVM: a SQL-to-SQL Compiler for Incremental Computations

被引:0
|
作者
Battiston, Ilaria [1 ]
Kathuria, Kriti [2 ]
Boncz, Peter [1 ]
机构
[1] Ctr Wiskunde & Informat, Amsterdam, Netherlands
[2] Univ Waterloo, Waterloo, ON, Canada
关键词
Incremental view maintenance; HTAP; compiler;
D O I
10.1145/3626246.3654743
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
This demonstration presents a new Open Source SQL-to-SQL compiler for Incremental View Maintenance (IVM). While previous systems, such as DBToaster, implemented computational functionality for IVM in a separate system, the core principle of OpenIVM is to make use of existing SQL query processing engines and perform all IVM computations via SQL. This approach enables the integration of IVM in these systems without code duplication. Also, it eases its use in cross-system IVM, i.e. to orchestrate an HTAP system in which one (OLTP) DBMS provides insertions/updates/deletes (deltas), which are propagated using SQL into another (OLAP) DBMS, hosting materialized views. Our system compiles view definitions into SQL to eventually propagate deltas into the table that materializes the view, following the principles of DBSP. Under the hood, OpenIVM uses the DuckDB library to compile (parse, transform, optimize) the materialized view maintenance logic. We demonstrate OpenIVM in action (i) as the core of a DuckDB extension module that adds IVM functionality to it and (ii) powering cross-system IVM for HTAP, with PostgreSQL handling updates on base tables and DuckDB hosting materialized views on these.
引用
收藏
页码:516 / 519
页数:4
相关论文
共 50 条
  • [21] 基于SQL Server的SQL优化
    杨亚萍
    电脑知识与技术, 2008, 4 (35) : 2536 - 2537
  • [22] Detection of SQL Injection Vulnerability in Embedded SQL
    Jang, Young-Su
    IEICE TRANSACTIONS ON INFORMATION AND SYSTEMS, 2020, E103D (05): : 1173 - 1176
  • [23] SQL Update: SQL Internet resources and other miscellany
    Melton, J.
    Database Programming & Design, 10 (09):
  • [24] 从SQL-92到SQL:1999
    阳国贵
    计算机科学, 2000, (09) : 91 - 94+86
  • [25] SQL:1999, formerly known as SQL3
    Eisenberg, Andrew
    Melton, Jim
    SIGMOD Record (ACM Special Interest Group on Management of Data), 1999, 28 (01): : 131 - 138
  • [26] SQL PLANET - A GAME PROPOSAL TO TEACH SQL LANGUAGE
    Batista, A.
    Martins, R.
    Filho, A.
    12TH INTERNATIONAL CONFERENCE OF EDUCATION, RESEARCH AND INNOVATION (ICERI 2019), 2019, : 4372 - 4377
  • [27] 在ORACLE中使用SQL产生SQL
    赵政
    微型机与应用, 1991, (07) : 25 - 27
  • [28] SQL-G: Efficient Graph Analytics by SQL
    Zhao, Kangfei
    Su, Jiao
    Yu, Jeffrey Xu
    Zhang, Hao
    IEEE TRANSACTIONS ON KNOWLEDGE AND DATA ENGINEERING, 2021, 33 (05) : 2237 - 2251
  • [29] ACCESSING NETWARE SQL FILES WITHOUT NETWARE SQL
    REILLY, D
    DR DOBBS JOURNAL, 1993, 18 (09): : 60 - &
  • [30] S4J-Integrating SQL into Java']Java at Compiler-Level
    Richly, Keven
    Lorenz, Martin
    Oergel, Sebastian
    INFORMATION AND SOFTWARE TECHNOLOGIES, ICIST 2016, 2016, 639 : 300 - 315