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 条
  • [21] Parameterized XPath views
    Boehme, Timo
    Rahm, Erhard
    [J]. DATA MANAGEMENT: DATA, DATA EVERYWHERE, PROCEEDINGS, 2007, 4587 : 125 - +
  • [22] Using an oracle repository to accelerate XPath queries
    Noonan, Colm
    Durrigan, Cian
    Roantree, Mark
    [J]. DATABASE AND EXPERT SYSTEMS APPLICATIONS, PROCEEDINGS, 2006, 4080 : 73 - 82
  • [23] Using XSLT stylesheets to transform XPath queries
    Groppe, S
    Böttcher, S
    Heckel, R
    Birkenheuer, G
    [J]. ADBIS' 04: EIGHTH EAST-EUROPEAN CONFERENCE ON ADVANCES IN DATABASES AND INFORMATION SYSTEMS, PROCEEDINGS, 2004, : 48 - 63
  • [24] Synchronizing XPath views
    Pedersen, D
    Pedersen, TB
    [J]. INTERNATIONAL DATABASE ENGINEERING AND APPLICATIONS SYMPOSIUM, PROCEEDINGS, 2004, : 149 - 160
  • [25] Efficient processing of XPath queries using indexes
    Madria, Sanjay
    Chen, Yan
    Passi, Kalpdrum
    Bhowmick, Sourav
    [J]. INFORMATION SYSTEMS, 2007, 32 (01) : 131 - 159
  • [26] Information disclosure by XPath queries
    Boettcher, Stefan
    Steinmetz, Rita
    [J]. SECURE DATA MANAGEMENT, 2006, 4165 : 160 - 174
  • [27] Thresholded Debugging of XPath Queries
    Almendros-Jimenez, Jesus M.
    Luna, Alejandro
    Moreno, Gines
    [J]. 2015 IEEE INTERNATIONAL CONFERENCE ON FUZZY SYSTEMS (FUZZ-IEEE 2015), 2015,
  • [28] Fuzzy XPath Queries in XQuery
    Almendros-Jimenez, Jesus M.
    Luna, Alejandro
    Moreno, Gines
    [J]. ON THE MOVE TO MEANINGFUL INTERNET SYSTEMS: OTM 2014 CONFERENCES, 2014, 8841 : 457 - 472
  • [29] An Algorithm for Incremental Maintenance of Materialized XPath View
    Jin, Xueyun
    Liao, Husheng
    [J]. WEB-AGE INFORMATION MANAGEMENT, PROCEEDINGS, 2010, 6184 : 513 - 524
  • [30] Filtering unsatisfiable XPath queries
    Groppe, Jinghua
    Groppe, Sven
    [J]. DATA & KNOWLEDGE ENGINEERING, 2008, 64 (01) : 134 - 169