Joins via Geometric Resolutions: Worst Case and Beyond

被引:28
作者
Khamis, Mahmoud Abo [1 ,2 ]
Ngo, Hung Q. [1 ]
Re, Christopher [3 ]
Rudra, Atri [4 ]
机构
[1] LogicBlox, 1900 Addison St Ste 200, Berkeley, CA 94704 USA
[2] Univ Buffalo, 1900 Addison St Ste 200, Berkeley, CA 94704 USA
[3] Stanford Univ, 353 Serra Mall, Stanford, CA 94305 USA
[4] Univ Buffalo, 319 Davis Hall, Buffalo, NY 14260 USA
来源
ACM TRANSACTIONS ON DATABASE SYSTEMS | 2016年 / 41卷 / 04期
关键词
Relational join; resolution; bounded-width join queries; indices; beyond worst-case analysis; CONSTRAINT SATISFACTION; BOUNDS; ALGORITHMS; NUMBER;
D O I
10.1145/2967101
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
We present a simple geometric framework for the relational join. Using this framework, we design an algorithm that achieves the fractional hypertree-width bound, which generalizes classical and recent worst-case algorithmic results on computing joins. In addition, we use our framework and the same algorithm to show a series of what are colloquially known as beyond worst-case results. The framework allows us to prove results for data stored in BTrees, multidimensional data structures, and even multiple indices per table. A key idea in our framework is formalizing the inference one does with an index as a type of geometric resolution, transforming the algorithmic problem of computing joins to a geometric problem. Our notion of geometric resolution can be viewed as a geometric analog of logical resolution. In addition to the geometry and logic connections, our algorithm can also be thought of as backtracking search with memoization.
引用
收藏
页数:45
相关论文
共 75 条
  • [51] Network motifs: Simple building blocks of complex networks
    Milo, R
    Shen-Orr, S
    Itzkovitz, S
    Kashtan, N
    Chklovskii, D
    Alon, U
    [J]. SCIENCE, 2002, 298 (5594) : 824 - 827
  • [52] Moskewicz MW, 2001, DES AUT CON, P530, DOI 10.1109/DAC.2001.935565
  • [53] Ngo H. Q., 2012, PODS, P37
  • [54] Beyond Worst-case Analysis for Joins with Minesweeper
    Ngo, Hung Q.
    Nguyen, Dung T.
    Re, Christopher
    Rudra, Atri
    [J]. PODS'14: PROCEEDINGS OF THE 33RD ACM SIGMOD-SIGACT-SIGART SYMPOSIUM ON PRINCIPLES OF DATABASE SYSTEMS, 2014, : 234 - 245
  • [55] Skew Strikes Back: New Developments in the Theory of Join Algorithms
    Ngo, Hung Q.
    Re, Christopher
    Rudra, Atri
    [J]. SIGMOD RECORD, 2013, 42 (04) : 5 - 16
  • [56] Nguyen D., 2015, P 3 INT WORKSH GRAPH
  • [57] O'Neil P., 1997, SIGMOD Record, V26, P38, DOI 10.1145/253262.253268
  • [58] O'Neil P., 1995, SIGMOD Record, V24, P8, DOI 10.1145/211990.212001
  • [59] Size Bounds for Factorised Representations of Query Results
    Olteanu, Dan
    Zavodny, Jakub
    [J]. ACM TRANSACTIONS ON DATABASE SYSTEMS, 2015, 40 (01):
  • [60] NEW UPPER-BOUNDS IN KLEE MEASURE PROBLEM
    OVERMARS, MH
    YAP, CK
    [J]. SIAM JOURNAL ON COMPUTING, 1991, 20 (06) : 1034 - 1045