Revisiting Answering Tree Pattern Queries Using Views

被引:5
|
作者
Wang, Junhu [1 ]
Yu, Jeffrey Xu [2 ]
机构
[1] Griffith Univ, Sch Informat & Commun Technol, Gold Coast, Australia
[2] Chinese Univ Hong Kong, Dept Syst Engn & Engn Management, Shatin, Hong Kong, Peoples R China
来源
ACM TRANSACTIONS ON DATABASE SYSTEMS | 2012年 / 37卷 / 03期
基金
澳大利亚研究理事会;
关键词
Theory; Algorithms; XML database; query processing; XPath; tree pattern; view; rewriting; CONTAINED REWRITINGS;
D O I
10.1145/2338626.2338631
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
We revisit the problem of answering tree pattern queries using views. We first show that, for queries and views that do not have nodes labeled with the wildcard *, there is an approach which does not require us to find any rewritings explicitly, yet which produces the same answers as the maximal contained rewriting. Then, using the new approach, we give simple conditions and a corresponding algorithm for identifying redundant view answers, which are view answers that can be ignored when evaluating the maximal contained rewriting. We also consider redundant view answers in the case where there are multiple views, the relationship between redundant views and redundant view answers, and discuss how to combine the removal of redundant view answers and redundant rewritings. We show that the aforesaid results can be extended to a number of other special cases. Finally, for arbitrary queries and views in P-{/,P-//,P-*,P-[]}, we provide a method to find the maximal contained rewriting and show how to answer the query using views without explicitly finding the rewritings.
引用
收藏
页数:34
相关论文
共 50 条
  • [1] Answering ordered tree pattern queries over fuzzy XML data
    Liu, Jian
    Ma, Z. M.
    Feng, Xue
    KNOWLEDGE AND INFORMATION SYSTEMS, 2015, 43 (02) : 473 - 495
  • [2] Answering ordered tree pattern queries over fuzzy XML data
    Jian Liu
    Z. M. Ma
    Xue Feng
    Knowledge and Information Systems, 2015, 43 : 473 - 495
  • [3] Minimization of Tree Pattern Queries
    Czerwinski, Wojciech
    Martens, Wim
    Niewerth, Matthias
    Parys, Pawel
    PODS'16: PROCEEDINGS OF THE 35TH ACM SIGMOD-SIGACT-SIGAI SYMPOSIUM ON PRINCIPLES OF DATABASE SYSTEMS, 2016, : 43 - 54
  • [4] 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
  • [5] 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
  • [6] Efficient algorithms for descendant-only tree pattern queries
    Goetz, Michaela
    Koch, Christoph
    Martens, Wim
    INFORMATION SYSTEMS, 2009, 34 (07) : 602 - 623
  • [7] Monadic Datalog and Regular Tree Pattern Queries
    Mazowiecki, Filip
    Murlak, Filip
    Witkowski, Adam
    ACM TRANSACTIONS ON DATABASE SYSTEMS, 2016, 41 (03):
  • [8] Rewriting XPath queries using materialized XPath views
    Ramanan, Prakash
    JOURNAL OF COMPUTER AND SYSTEM SCIENCES, 2012, 78 (04) : 1006 - 1025
  • [9] Rewriting queries with arbitrary aggregation functions using views
    Cohen, Sara
    Nutt, Werner
    Sagiv, Yehoshua
    ACM TRANSACTIONS ON DATABASE SYSTEMS, 2006, 31 (02): : 672 - 715
  • [10] Rewriting union queries using views
    Wang, J
    Topor, R
    Maher, M
    CONSTRAINTS, 2005, 10 (03) : 219 - 251