Views and Queries: Determinacy and Rewriting

被引:57
|
作者
Nash, Alan
Segoufin, Luc [1 ,2 ]
Vianu, Victor [3 ]
机构
[1] INRIA, F-94235 Cachan, France
[2] ENS, LSV, F-94235 Cachan, France
[3] Univ Calif San Diego, CSE 0404, La Jolla, CA 92093 USA
来源
ACM TRANSACTIONS ON DATABASE SYSTEMS | 2010年 / 35卷 / 03期
基金
美国国家科学基金会;
关键词
Algorithms; Design; Security; Theory; Verification; Queries; views; rewritingg;
D O I
10.1145/1806907.1806913
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
We investigate the question of whether a query Q can be answered using a set V of views. We first define the problem in information-theoretic terms: we say that V determines Q if V provides enough information to uniquely determine the answer to Q. Next, we look at the problem of rewriting Q in terms of V using a specific language. Given a view language V and query language Q, we say that a rewriting language R is complete for V-to-Q rewritings if every Q is an element of Q can be rewritten in terms of V is an element of V using a query in R, whenever V determines Q. While query rewriting using views has been extensively investigated for some specific languages, the connection to the information-theoretic notion of determinacy, and the question of completeness of a rewriting language have received little attention. In this article we investigate systematically the notion of determinacy and its connection to rewriting. The results concern decidability of determinacy for various view and query languages, as well as the power required of complete rewriting languages. We consider languages ranging from first-order to conjunctive queries.
引用
收藏
页数:41
相关论文
共 50 条
  • [21] DATALOG REWRITINGS OF REGULAR PATH QUERIES USING VIEWS
    Francis, Nadime
    Segoufin, Luc
    Sirangelo, Cristina
    LOGICAL METHODS IN COMPUTER SCIENCE, 2015, 11 (04)
  • [22] Answering queries using materialized views with minimum size
    Rada Chirkova
    Chen Li
    Jia Li
    The VLDB Journal, 2006, 15 : 191 - 210
  • [23] Exploiting and Maintaining Materialized Views for XML Keyword Queries
    Liu, Ziyang
    Chen, Yi
    ACM TRANSACTIONS ON INTERNET TECHNOLOGY, 2012, 12 (02)
  • [24] Answering queries using materialized views with minimum size
    Chirkova, Rada
    Li, Chen
    Li, Jia
    VLDB JOURNAL, 2006, 15 (03) : 191 - 210
  • [25] Determinacy in Static Analysis for jQuery
    Andreasen, Esben
    Moller, Anders
    ACM SIGPLAN NOTICES, 2014, 49 (10) : 17 - 31
  • [26] Optimization of Monotonic Linear Progressive Queries Based on Dynamic Materialized Views
    Zhu, Chao
    Zhu, Qiang
    Zuzarte, Calisto
    COMPUTER JOURNAL, 2014, 57 (05) : 708 - 730
  • [27] Optimization of generic progressive queries based on dependency analysis and materialized views
    Zhu, Chao
    Zhu, Qiang
    Zuzarte, Calisto
    Ma, Wenbin
    INFORMATION SYSTEMS FRONTIERS, 2016, 18 (01) : 205 - 231
  • [28] SOLVING QUERIES BY TREE PROJECTIONS
    SAGIV, Y
    SHMUELI, O
    ACM TRANSACTIONS ON DATABASE SYSTEMS, 1993, 18 (03): : 487 - 511
  • [29] MINING QUERY PLANS FOR FINDING CANDIDATE QUERIES AND SUB-QUERIES FOR MATERIALIZED VIEWS IN BI SYSTEMS WITHOUT CUBE GENERATION
    Thakare, Atul
    Deshpande, Srijay
    Kshirsagar, Amit
    Deshpande, Parag
    COMPUTING AND INFORMATICS, 2019, 38 (02) : 473 - 496
  • [30] QFilter: rewriting insecure XML queries to secure ones using non-deterministic finite automata
    Bo Luo
    Dongwon Lee
    Wang-Chien Lee
    Peng Liu
    The VLDB Journal, 2011, 20 : 397 - 415