Generating Low-cost Plans From Proofs

被引:9
作者
Benedikt, Michael [1 ]
ten Cate, Balder [2 ,3 ]
Tsamoura, Efthymia [1 ]
机构
[1] Univ Oxford, Oxford, England
[2] LogicBlox Inc, Atlanta, GA USA
[3] UC Santa Cruz, Santa Cruz, CA USA
来源
PODS'14: PROCEEDINGS OF THE 33RD ACM SIGMOD-SIGACT-SIGART SYMPOSIUM ON PRINCIPLES OF DATABASE SYSTEMS | 2014年
基金
英国工程与自然科学研究理事会;
关键词
INTERPOLATION; QUERIES;
D O I
10.1145/2594538.2594550
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
We look at generating plans that answer queries over restricted interfaces, making use of information about source integrity constraints, access restrictions, and access costs. Our method can exploit the integrity constraints to find low-cost access plans even when there is no direct access to relations appearing in the query. The key idea of our method is to move from a search for a plan to a search for a proof that a query is answerable, and then generate a plan from a proof. Discovery of one proof allows us to find a single plan that answers the query; exploration of several alternative proofs allows us to find low-cost plans. We start by mapping out a correspondence between proofs and restricted interface plans in the context of arbitrary first-order constraints, based on interpolation. The correspondence clarifies the connection between preservation and interpolation theorems in predicate logic and reformulation problems, and generalizes it in several dimensions. We then provide algorithms for schemas based on tuple-generating dependencies. These algorithms perform interpolation, but generate plans directly. Finally, we show how the direct plan-generation approach can be adapted to take into account the cost of plans.
引用
收藏
页码:200 / 211
页数:12
相关论文
共 22 条
[1]  
Abiteboul S., 1995, Foundations of databases, V8
[2]  
[Anonymous], 2011, Fundamentals of Physical Design and Query Compilation
[3]  
[Anonymous], 2013, ICDT
[4]  
[Anonymous], THESIS
[5]  
[Anonymous], 1957, J SYMBOLIC LOGIC
[6]  
[Anonymous], TODS
[7]   Hybrid logics: Characterization, interpolation and complexity [J].
Areces, C ;
Blackburn, P ;
Marx, M .
JOURNAL OF SYMBOLIC LOGIC, 2001, 66 (03) :977-1010
[8]   Constructive interpolation in hybrid logic [J].
Blackburn, P ;
Marx, M .
JOURNAL OF SYMBOLIC LOGIC, 2003, 68 (02) :463-480
[9]  
Borgida A., 2010, SEBD
[10]  
Cali A., 2012, J WEB SEM, V14