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] Rewriting OLAP queries using materialized views and dimension hierarchies in data warehouses
    Park, CS
    Kim, MH
    Lee, YJ
    17TH INTERNATIONAL CONFERENCE ON DATA ENGINEERING, PROCEEDINGS, 2001, : 515 - 523
  • [32] An object-oriented representation and reasoning model to rewriting queries using views
    Seriai, A
    SEVENTH INTERNATIONAL DATABASE ENGINEERING AND APPLICATIONS SYMPOSIUM, PROCEEDINGS, 2003, : 407 - 408
  • [33] Finding an efficient rewriting of OLAP queries using materialized views in data warehouses
    Park, CS
    Kim, MH
    Lee, YJ
    DECISION SUPPORT SYSTEMS, 2002, 32 (04) : 379 - 399
  • [34] Rewriting queries using views for RDF-based relational data integration
    Chen, HJ
    Wu, ZH
    Mao, YX
    ICTAI 2005: 17TH IEEE INTERNATIONAL CONFERENCE ON TOOLS WITH ARTIFICIAL INTELLIGENCE, PROCEEDINGS, 2005, : 260 - 264
  • [35] Rewriting Guarded Negation Queries
    Barany, Vince
    Benedikt, Michael
    ten Cate, Balder
    MATHEMATICAL FOUNDATIONS OF COMPUTER SCIENCE 2013, 2013, 8087 : 98 - 110
  • [36] Rewriting Queries with Negated Atoms
    Alfonso, Enrique Matos
    Stamou, Giorgos
    RULES AND REASONING, 2017, 10364 : 151 - 167
  • [37] Ontological Queries: Rewriting and Optimization
    Gottlob, Georg
    Orsi, Giorgio
    Pieris, Andreas
    IEEE 27TH INTERNATIONAL CONFERENCE ON DATA ENGINEERING (ICDE 2011), 2011, : 2 - 13
  • [38] On the equivalence and rewriting of aggregate queries
    Grumbach, S
    Rafanelli, M
    Tininini, L
    ACTA INFORMATICA, 2004, 40 (08) : 529 - 584
  • [39] On the equivalence and rewriting of aggregate queries
    Stéphane Grumbach
    Maurizio Rafanelli
    Leonardo Tininini
    Acta Informatica, 2004, 40 : 529 - 584
  • [40] Determinacy of Real Conjunctive Queries. The Boolean Case
    Kwiecien, Jaroslaw
    Marcinkowski, Jerzy
    Ostropolski-Nalewaja, Piotr
    PROCEEDINGS OF THE 41ST ACM SIGMOD-SIGACT-SIGAI SYMPOSIUM ON PRINCIPLES OF DATABASE SYSTEMS (PODS '22), 2022, : 347 - 358