Conjunctive Queries with Comparisons

被引:4
|
作者
Wang, Qichen [1 ]
Yi, Ke [2 ]
机构
[1] Hong Kong Baptist Univ, Hong Kong, Peoples R China
[2] HKUST, Hong Kong, Peoples R China
关键词
D O I
10.1145/3514221.3517830
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
Conjunctive queries with predicates in the form of comparisons that span multiple relations have regained interest recently, due to their relevance in OLAP queries, spatiotemporal databases, and machine learning over relational data. The standard technique, predicate pushdown, has limited efficacy on such comparisons. A technique by Willard can be used to process short comparisons that are adjacent in the join tree in time linear in the input size plus output size. In this paper, we describe a new algorithm for evaluating conjunctive queries with both short and long comparisons, and identify an acyclic condition under which linear time can be achieved. We have also implemented the new algorithm on top of Spark, and our experimental results demonstrate order-of-magnitude speedups over SparkSQL on a variety of graph patterns and analytical queries.
引用
收藏
页码:54 / 62
页数:9
相关论文
共 50 条
  • [41] Size and Treewidth Bounds for Conjunctive Queries
    Gottlob, Georg
    Lee, Stephanie Tien
    Valiant, Gregory J.
    PODS'09: PROCEEDINGS OF THE TWENTY-EIGHTH ACM SIGMOD-SIGACT-SIGART SYMPOSIUM ON PRINCIPLES OF DATABASE SYSTEMS, 2009, : 45 - 54
  • [42] Constant delay enumeration for conjunctive queries
    Segoufin, Luc
    SIGMOD RECORD, 2015, 44 (01) : 10 - 17
  • [43] Extremal Fitting Problems for Conjunctive Queries
    ten Cate, Balder
    Dalmau, Victor
    Funk, Maurice
    Lutz, Carsten
    PROCEEDINGS OF THE 42ND ACM SIGMOD-SIGACT-SIGAI SYMPOSIUM ON PRINCIPLES OF DATABASE SYSTEMS, PODS 2023, 2023, : 89 - 98
  • [44] Containment of conjunctive queries with arithmetic expressions
    Kiani, A
    Shiri, N
    ON THE MOVE TO MEANINGFUL INTERNET SYSTEMS 2005: COOPIS, DOA, AND ODBASE, PT 1, PROCEEDINGS, 2005, 3760 : 439 - 452
  • [45] Containment of Conjunctive Queries on Annotated Relations
    Green, Todd J.
    THEORY OF COMPUTING SYSTEMS, 2011, 49 (02) : 429 - 459
  • [46] PROCESSING CONJUNCTIVE PREDICATES AND QUERIES.
    Rosenkrantz, Daniel J.
    Hunt III, Harry B.
    Very Large Data Bases, International Conference on Very Large Data Bases, 1980, : 64 - 67
  • [47] Towards optimizing conjunctive inductive queries
    Fischer, J
    De Raedt, L
    ADVANCES IN KNOWLEDGE DISCOVERY AND DATA MINING, PROCEEDINGS, 2004, 3056 : 625 - 637
  • [48] The Complexity of Conjunctive Queries with Degree 2
    Lanzinger, Matthias
    PROCEEDINGS OF THE 41ST ACM SIGMOD-SIGACT-SIGAI SYMPOSIUM ON PRINCIPLES OF DATABASE SYSTEMS (PODS '22), 2022, : 91 - 102
  • [49] ON CONJUNCTIVE QUERIES CONTAINING INEQUALITIES.
    Klug, Anthony
    Journal of the ACM, 1988, 35 (01): : 146 - 160
  • [50] Generalizing Conjunctive Queries for Informative Answers
    Inoue, Katsumi
    Wiese, Lena
    FLEXIBLE QUERY ANSWERING SYSTEMS, 2011, 7022 : 1 - 12