Rewriting XPath queries using materialized XPath views

被引:1
|
作者
Ramanan, Prakash [1 ]
机构
[1] Wichita State Univ, Dept EECS, Wichita, KS 67260 USA
关键词
XML; XPath; Query evaluation; Views; Rewriting; Homomorphism; Simulation;
D O I
10.1016/j.jcss.2011.12.001
中图分类号
TP3 [计算技术、计算机技术];
学科分类号
0812 ;
摘要
Let XP(/, //, []) be the fragment of XPath 1.0, consisting of queries that involve only the child and descendant axes, and predicates without disjunction or negation (and no wildcard nodetests); these queries can be represented as tree patterns. We consider the problem of rewriting a query Q using a materialized view V. where Q, V is an element of XP(/, //, []). We present more efficient algorithms for the following: (1) Determine if an equivalent rewriting of Q using V exists; find the smallest such rewriting, when it exists. A previously-known algorithm runs in O(vertical bar Q vertical bar(2) + vertical bar Q vertical bar vertical bar V vertical bar) time. For the special case when Q is known to be minimal, we present an O(vertical bar Q vertical bar vertical bar V vertical bar) algorithm. (2) Determine if a (nonempty) contained rewriting of Q using V exists. We present an O(vertical bar Q vertical bar vertical bar V vertical bar) algorithm, compared to the previous O(vertical bar Q vertical bar vertical bar V vertical bar(2)) algorithm. We also present a more efficient algorithm for finding a maximal such rewriting, when it exists. Then we extend this result to a subset of XP(/, //, [], *) that allows restricted occurrences of wildcard nodetests. (C) 2011 Elsevier Inc. All rights reserved.
引用
收藏
页码:1006 / 1025
页数:20
相关论文
共 50 条
  • [1] 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 - +
  • [2] Rewriting regular XPath queries on XML views
    Fan, Wenfei
    Geerts, Floris
    Jia, Xibei
    Kementsietsidis, Anastasios
    [J]. 2007 IEEE 23RD INTERNATIONAL CONFERENCE ON DATA ENGINEERING, VOLS 1-3, 2007, : 641 - +
  • [3] Evaluating Contained Rewritings for XPath Queries on Materialized Views
    Zhou, Rui
    Liu, Chengfei
    Li, Jianxin
    Wang, Junhu
    Liu, Jixue
    [J]. DATABASE SYSTEMS FOR ADVANCED APPLICATIONS, PT I, 2011, 6587 : 481 - +
  • [4] XPath rewriting using multiple views
    Wang, Junhu
    Yu, Jeffrey Xu
    [J]. DATABASE AND EXPERT SYSTEMS APPLICATIONS, PROCEEDINGS, 2008, 5181 : 493 - +
  • [5] XPath Rewriting Using Views: The More the Merrier
    Cautis, Bogdan
    [J]. WEB TECHNOLOGIES AND APPLICATIONS, 2011, 6612 : 438 - 439
  • [6] A Materialized View Selection Technique for XPath Queries
    Furuse, Kazutaka
    Sato, Keiichi
    Chen, Hanxiong
    Ohbo, Nobuo
    [J]. PROCEEDINGS OF THE 2ND EUROPEAN COMPUTING CONFERENCE: NEW ASPECTS ON COMPUTERS RESEACH, 2008, : 287 - +
  • [7] Models XP for Rewriting XPath Queries
    Tudor, Nicoleta Liviana
    [J]. STUDIES IN INFORMATICS AND CONTROL, 2011, 20 (02): : 121 - 128
  • [8] Multiple materialized view selection for XPATH query rewriting
    Tang, Nan
    Yu, Jeffrey Xu
    Oezsu, M. Tamer
    Choi, Byron
    Wong, Kam-Fai
    [J]. 2008 IEEE 24TH INTERNATIONAL CONFERENCE ON DATA ENGINEERING, VOLS 1-3, 2008, : 873 - +
  • [9] Efficient Rewriting of XPath Queries Using Query Set Specifications
    Cautis, Bogdan
    Deutsch, Alin
    Onose, Nicola
    Vassalos, Vasilis
    [J]. PROCEEDINGS OF THE VLDB ENDOWMENT, 2009, 2 (01):
  • [10] Contained Rewritings of XPath Queries Using Views Revisited
    Wang, Junhu
    Yu, Jeffrey Xu
    Liu, Chengfei
    [J]. WEB INFORMATION SYSTEMS ENGINEERING - WISE 2008, PROCEEDINGS, 2008, 5175 : 410 - +