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 条
  • [1] Abiteboul S, 1995, FDN DATABASES
  • [2] AFSHANI P, 2009, FOCS, P129, DOI DOI 10.1109/FOCS.2009.34
  • [3] Allender E, 2006, ANN IEEE CONF COMPUT, P237
  • [5] [Anonymous], 1951, NIEUW ARCH WISKD
  • [6] [Anonymous], 2011, INT WORLD WIDE WEB C, DOI DOI 10.1145/1963405.1963491
  • [7] [Anonymous], 1983, The Theory of Relational Database
  • [8] LINEAR TIME ALGORITHMS FOR NP-HARD PROBLEMS RESTRICTED TO PARTIAL K-TREES
    ARNBORG, S
    PROSKUROWSKI, A
    [J]. DISCRETE APPLIED MATHEMATICS, 1989, 23 (01) : 11 - 24
  • [9] Size Bounds and Query Plans for Relational Joins
    Atserias, Albert
    Grohe, Martin
    Marx, Daniel
    [J]. PROCEEDINGS OF THE 49TH ANNUAL IEEE SYMPOSIUM ON FOUNDATIONS OF COMPUTER SCIENCE, 2008, : 739 - +
  • [10] Barbay J, 2002, SIAM PROC S, P390