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).
Preview
Unable to display preview. Download preview PDF.
Similar content being viewed by others
References
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)
Suciu, D., Mandhani, B.: Query caching and view selection for xml databases. In: Proc. VLDB, pp. 469–480 (2005)
Clark, J.: Xml path language(xpath). W3C (1999), http://www.w3.org/TR/XPath
Lenzerini, M., Vardi, M., Calvanese, D., Giacomo, G.D.: Rewriting of regular expressions and regular path queries. In: Proc. PODS, pp. 194–204 (1999)
Schwentick, T., Neven, F.: Xpath containment in the presence of disjunction, dtds, and variables. In: Proc. ICDT, pp. 315–329 (2003)
Mendelzon, A.O., Grahne, G.: Tableau techniques for querying information sources through global schemas. In: Proc. ICDT, pp. 332–347 (1999)
Suciu, D., Miklau, G.: Containment and equivalence for an xpath fragment. In: Proc. PODS, pp. 65–76 (2002)
Halevy, A.: Answering queries using views: A survey. VLDB Journal 10(4), 270–294 (2001)
Zhao, Z., Lakshmanan, L., Wang, H.: Answering tree pattern queries using views. In: Proc. VLDB, pp. 571–582 (2006)
Duschka, O.M., Genesereth, M.R., Keller, A.M.: Infomaster: An information integration system. In: Proc. SIGMOD, pp. 539–542 (1997)
zsoyoglu, Z.M., Xu, W.: Rewriting xpath queries using materialized views. In: Proc. VLDB, pp. 121–132 (2005)
Franklin, M., Zhang, H., Diao, Y.l., Altinel, M., Fischer, P.: Path sharing and predicate evaluation for high-performance xml filtering. In: TODS (2003)
Vassalos, V., Papakonstantinou, Y.: Query rewriting for semi-structured data. In: Proc. SIGMOD, pp. 455–466 (1999)
Author information
Authors and Affiliations
Editor information
Rights 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)