Skip to main content

MQTree Based Query Rewriting over Multiple XML Views

  • Conference paper
Database and Expert Systems Applications (DEXA 2007)

Part of the book series: Lecture Notes in Computer Science ((LNISA,volume 4653))

Included in the following conference series:

Abstract

Using XML views to answer the XML query is an important query optimization strategy especially in the distributed environment. Although many methods have been proposed to handle the single XML view rewriting, they will lead to the redundant computation cost due to the shared paths among different XML views. This paper handles the query rewriting over multiple views by organizing the multiple XML views into a tree called MQTree, in which the shared sub paths among the multiple views have been merged in a top down fashion. In addition, this paper designs a MQTree based query rewriting method. The candidate query rewriting plans are generated over MQTree directly. In order to reduce the validation cost of the candidate query rewriting plans, the preliminary validation is made at the granularity of the path query {//,/,*} over the MQTree first, which prunes the candidate views further and provides the intermediate results for the plans validation at the granularity of the whole tree. The final experiments show the efficiency and effectiveness of our method.

Supported by Project 2006AA01Z230 under the National High-tech Research and Development of China, Project 60503037 under National Natural Science Foundation of China (NSFC), Project 4062018 under Beijing Natural Science Foundation (BNSF).

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 84.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 109.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

References

  1. Beyer, K., Cochrane, R., Pira-hesh, H., Balmin, A., Ozcan, F.: A framework for using materialized xpath views in xml query processing. In: Proc. VLDB, pp. 60–71 (2004)

    Google Scholar 

  2. Suciu, D., Mandhani, B.: Query caching and view selection for xml databases. In: Proc. VLDB, pp. 469–480 (2005)

    Google Scholar 

  3. Clark, J.: Xml path language(xpath). W3C (1999), http://www.w3.org/TR/XPath

  4. Lenzerini, M., Vardi, M., Calvanese, D., Giacomo, G.D.: Rewriting of regular expressions and regular path queries. In: Proc. PODS, pp. 194–204 (1999)

    Google Scholar 

  5. Schwentick, T., Neven, F.: Xpath containment in the presence of disjunction, dtds, and variables. In: Proc. ICDT, pp. 315–329 (2003)

    Google Scholar 

  6. Mendelzon, A.O., Grahne, G.: Tableau techniques for querying information sources through global schemas. In: Proc. ICDT, pp. 332–347 (1999)

    Google Scholar 

  7. Suciu, D., Miklau, G.: Containment and equivalence for an xpath fragment. In: Proc. PODS, pp. 65–76 (2002)

    Google Scholar 

  8. Halevy, A.: Answering queries using views: A survey. VLDB Journal 10(4), 270–294 (2001)

    Article  MATH  Google Scholar 

  9. Zhao, Z., Lakshmanan, L., Wang, H.: Answering tree pattern queries using views. In: Proc. VLDB, pp. 571–582 (2006)

    Google Scholar 

  10. Duschka, O.M., Genesereth, M.R., Keller, A.M.: Infomaster: An information integration system. In: Proc. SIGMOD, pp. 539–542 (1997)

    Google Scholar 

  11. zsoyoglu, Z.M., Xu, W.: Rewriting xpath queries using materialized views. In: Proc. VLDB, pp. 121–132 (2005)

    Google Scholar 

  12. Franklin, M., Zhang, H., Diao, Y.l., Altinel, M., Fischer, P.: Path sharing and predicate evaluation for high-performance xml filtering. In: TODS (2003)

    Google Scholar 

  13. Vassalos, V., Papakonstantinou, Y.: Query rewriting for semi-structured data. In: Proc. SIGMOD, pp. 455–466 (1999)

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Editor information

Roland Wagner Norman Revell Günther Pernul

Rights and permissions

Reprints and permissions

Copyright information

© 2007 Springer-Verlag Berlin Heidelberg

About this paper

Cite this paper

Gao, J., Wang, T., Yang, D. (2007). MQTree Based Query Rewriting over Multiple XML Views. In: Wagner, R., Revell, N., Pernul, G. (eds) Database and Expert Systems Applications. DEXA 2007. Lecture Notes in Computer Science, vol 4653. Springer, Berlin, Heidelberg. https://doi.org/10.1007/978-3-540-74469-6_55

Download citation

  • DOI: https://doi.org/10.1007/978-3-540-74469-6_55

  • Publisher Name: Springer, Berlin, Heidelberg

  • Print ISBN: 978-3-540-74467-2

  • Online ISBN: 978-3-540-74469-6

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics