Conjunctive Queries with Inequalities Under Updates

被引:13
|
作者
Idris, Muhammad [1 ,2 ]
Ugarte, Martin [1 ]
Vansummeren, Stijn [1 ]
Voigt, Hannes [2 ]
Lehner, Wolfgang [2 ]
机构
[1] Univ Libre Bruxelles, Brussels, Belgium
[2] Tech Univ Dresden, Dresden, Germany
来源
PROCEEDINGS OF THE VLDB ENDOWMENT | 2018年 / 11卷 / 07期
关键词
D O I
10.14778/3192965.3192966
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
Modern application domains such as Composite Event Recognition (CER) and real-time Analytics require the ability to dynamically refresh query results under high update rates. Traditional approaches to this problem are based either on the materialization of subresults (to avoid their recomputation) or on the recomputation of subresults (to avoid the space overhead of materialization). Both techniques have recently been shown suboptimal: instead of materializing results and subresults, one can maintain a data structure that supports efficient maintenance under updates and can quickly enumerate the full query output, as well as the changes produced under single updates. Unfortunately, these data structures have been developed only for aggregate-join queries composed of equi-joins, limiting their applicability in domains such as CER where temporal joins are commonplace. In this paper, we present a new approach for dynamically evaluating queries with multi-way theta-joins under updates that is effective in avoiding both materialization and recomputation of results, while supporting a wide range of applications. To do this we generalize Dynamic Yannakakis, an algorithm for dynamically processing acyclic equi-join queries. In tandem, and of independent interest, we generalize the notions of acyclicity and free-connexity to arbitrary theta-joins. We instantiate our framework to the case where theta-joins are only composed of equalities and inequalities (<, <=, =, >, >=) and experimentally compare this algorithm, called IEDYN, to state of the art CER systems as well as incremental view maintenance engines. IEDYN performs consistently better than the competitor systems with up to two orders of magnitude improvements in both time and memory consumption.
引用
收藏
页码:733 / 745
页数:13
相关论文
共 50 条
  • [1] Answering Conjunctive Queries under Updates
    Berkholz, Christoph
    Keppeler, Jens
    Schweikardt, Nicole
    [J]. PODS'17: PROCEEDINGS OF THE 36TH ACM SIGMOD-SIGACT-SIGAI SYMPOSIUM ON PRINCIPLES OF DATABASE SYSTEMS, 2017, : 303 - 318
  • [2] Answering Conjunctive Queries with Inequalities
    Koutris, Paraschos
    Milo, Tova
    Roy, Sudeepa
    Suciu, Dan
    [J]. THEORY OF COMPUTING SYSTEMS, 2017, 61 (01) : 2 - 30
  • [3] Answering Conjunctive Queries with Inequalities
    Paraschos Koutris
    Tova Milo
    Sudeepa Roy
    Dan Suciu
    [J]. Theory of Computing Systems, 2017, 61 : 2 - 30
  • [4] ON CONJUNCTIVE QUERIES CONTAINING INEQUALITIES
    KLUG, A
    [J]. JOURNAL OF THE ACM, 1988, 35 (01) : 146 - 160
  • [5] The resilience of conjunctive queries with inequalities
    Qin, Biao
    Li, Deying
    Zhou, Chunlai
    [J]. INFORMATION SCIENCES, 2022, 613 : 982 - 1002
  • [6] General dynamic Yannakakis: conjunctive queries with theta joins under updates
    Idris, Muhammad
    Ugarte, Martin
    Vansummeren, Stijn
    Voigt, Hannes
    Lehner, Wolfgang
    [J]. VLDB JOURNAL, 2020, 29 (2-3): : 619 - 653
  • [7] General dynamic Yannakakis: conjunctive queries with theta joins under updates
    Muhammad Idris
    Martín Ugarte
    Stijn Vansummeren
    Hannes Voigt
    Wolfgang Lehner
    [J]. The VLDB Journal, 2020, 29 : 619 - 653
  • [8] Responsibility Analysis for Lineages of Conjunctive Queries with Inequalities
    Qin, Biao
    Wang, Shan
    Zhou, Xiaofang
    Du, Xiaoyong
    [J]. IEEE TRANSACTIONS ON KNOWLEDGE AND DATA ENGINEERING, 2014, 26 (06) : 1532 - 1543
  • [9] Enumeration and Updates for Conjunctive Linear Algebra Queries Through Expressibility
    Serrano, Thomas Munoz
    Riveros, Cristian
    Vansummeren, Stijn
    [J]. 27TH INTERNATIONAL CONFERENCE ON DATABASE THEORY, ICDT 2024, 2024, 290
  • [10] Answering Conjunctive Queries with Inequalities in DL-LiteR
    Cima, Gianluca
    Lenzerini, Maurizio
    Poggi, Antonella
    [J]. THIRTY-FOURTH AAAI CONFERENCE ON ARTIFICIAL INTELLIGENCE, THE THIRTY-SECOND INNOVATIVE APPLICATIONS OF ARTIFICIAL INTELLIGENCE CONFERENCE AND THE TENTH AAAI SYMPOSIUM ON EDUCATIONAL ADVANCES IN ARTIFICIAL INTELLIGENCE, 2020, 34 : 2782 - 2789