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 条
  • [31] QFilter: rewriting insecure XML queries to secure ones using non-deterministic finite automata
    Luo, Bo
    Lee, Dongwon
    Lee, Wang-Chien
    Liu, Peng
    VLDB JOURNAL, 2011, 20 (03) : 397 - 415
  • [32] EVALUATION OF QUERIES IN INDEPENDENT DATABASE SCHEMES
    SAGIV, Y
    JOURNAL OF THE ACM, 1991, 38 (01) : 120 - 161
  • [33] Persistent Queries in the Behavioral Theory of Algorithms
    Blass, Andreas
    Gurevich, Yuri
    ACM TRANSACTIONS ON COMPUTATIONAL LOGIC, 2011, 12 (02)
  • [34] Types for path correctness of XML queries
    Colazzo, D
    Ghelli, G
    Manghi, P
    Sartiani, C
    ACM SIGPLAN NOTICES, 2004, 39 (09) : 126 - 137
  • [35] Independence of Containing Patterns Property and Its Application in Tree Pattern Query Rewriting Using Views
    Junhu Wang
    Jeffrey Xu Yu
    Chengfei Liu
    World Wide Web, 2009, 12 : 87 - 105
  • [36] Independence of Containing Patterns Property and Its Application in Tree Pattern Query Rewriting Using Views
    Wang, Junhu
    Yu, Jeffrey Xu
    Liu, Chengfei
    WORLD WIDE WEB-INTERNET AND WEB INFORMATION SYSTEMS, 2009, 12 (01): : 87 - 105
  • [37] View determinacy for preserving selected information in data transformations
    Fan, Wenfei
    Geerts, Floris
    Zheng, Lixiao
    INFORMATION SYSTEMS, 2012, 37 (01) : 1 - 12
  • [38] Classification of Annotation Semirings over Containment of Conjunctive Queries
    Kostylev, Egor V.
    Reutter, Juan L.
    Salamon, Andraz Z.
    ACM TRANSACTIONS ON DATABASE SYSTEMS, 2014, 39 (01):
  • [39] Termination of Rewriting under Strategies
    Gnaedig, Isabelle
    Kirchner, Helene
    ACM TRANSACTIONS ON COMPUTATIONAL LOGIC, 2009, 10 (02)
  • [40] Temporal profiles of queries
    Jones, Rosie
    Diaz, Fernando
    ACM TRANSACTIONS ON INFORMATION SYSTEMS, 2007, 25 (03)