Approximate Rewriting of Queries Using Views

被引:0
|
作者
Afrati, Foto [1 ]
Chandrachud, Manik [2 ]
Chirkova, Rada [2 ]
Mitra, Prasenjit [3 ]
机构
[1] Natl Tech Univ Athens, GR-10682 Athens, Greece
[2] NC State Univ, Dept Comp Sci, Raleigh, NC USA
[3] Penn State Univ, Coll Informat Sci & Technol, University Pk, PA USA
关键词
CONJUNCTIVE QUERIES;
D O I
暂无
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
We study approximate, that is contained and containing, rewritings of queries using views. We consider conjunctive queries with arithmetic comparisons (CQACs), which capture the full expressive power of SQL select-project-join queries. For contained rewritings, we present a sound and complete algorithm for constructing, for CQAC queries and views, a maximally-contained rewriting (MCR) whose all CQAC disjuncts have up to a predetermined number of view literals. For containing rewritings, we present, a sound and efficient algorithm pruned-MiCR, which computes a CQAC containing rewriting that does not contain any other CQAC containing rewriting (i.e., computes a minimally containing rewriting, MiCR) and that has the minimum possible number of relational subgoals. As a result;, the MiCR rewriting produced by our algorithm may be very efficient to execute. Both algorithms have good scalability and perforin well in many practical cases, due to their extensive pruning of the search space, see [1].
引用
收藏
页码:164 / +
页数:3
相关论文
共 50 条
  • [1] Rewriting queries using views
    Flesca, S
    Greco, S
    [J]. IEEE TRANSACTIONS ON KNOWLEDGE AND DATA ENGINEERING, 2001, 13 (06) : 980 - 995
  • [2] Rewriting Union Queries Using Views
    J. Wang
    R. Topor
    M. Maher
    [J]. Constraints, 2005, 10 : 219 - 251
  • [3] Rewriting queries using views with negation
    Afrati, Foto
    Pavlaki, Vassia
    [J]. AI COMMUNICATIONS, 2006, 19 (03) : 229 - 237
  • [4] Rewriting union queries using views
    Wang, J
    Topor, R
    Maher, M
    [J]. CONSTRAINTS, 2005, 10 (03) : 219 - 251
  • [5] Rewriting Fuzzy Queries Using Imprecise Views
    Jaudoin, Helene
    Pivert, Olivier
    [J]. ADVANCES IN DATABASES AND INFORMATION SYSTEMS, 2011, 6909 : 257 - 270
  • [6] Views and Queries: Determinacy and Rewriting
    Nash, Alan
    Segoufin, Luc
    Vianu, Victor
    [J]. ACM TRANSACTIONS ON DATABASE SYSTEMS, 2010, 35 (03):
  • [7] Filtering Techniques for Rewriting XPath Queries Using Views
    Zhou, Rui
    Liu, Chengfei
    Li, Jianxin
    Wang, Junhu
    [J]. WEB INFORMATION SYSTEMS ENGINEERING - WISE 2008, PROCEEDINGS, 2008, 5175 : 307 - +
  • [8] Rewriting queries using views in the presence of arithmetic comparisons
    Afrati, Foto
    Li, Chen
    Mitra, Prasenjit
    [J]. THEORETICAL COMPUTER SCIENCE, 2006, 368 (1-2) : 88 - 123
  • [9] Object oriented mechanisms to rewriting queries using views
    Seriai, Abdelhak
    [J]. Lecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics), 2003, 2736 : 672 - 682
  • [10] Rewriting queries with arbitrary aggregation functions using views
    Cohen, Sara
    Nutt, Werner
    Sagiv, Yehoshua
    [J]. ACM TRANSACTIONS ON DATABASE SYSTEMS, 2006, 31 (02): : 672 - 715