Browse > Article

Normalization of XQuery Queries for Efficient XML Query Processing  

김서영 (삼성전자 기술총괄 소프트웨어센터)
이기훈 (한국과학기술원 전산학과)
황규영 (한국과학기술원 전산학과)
Abstract
As XML becomes a standard for data representation, integration, and exchange on the Web, several XML query languages have been proposed. World Wide Web Consortium(W3C) has proposed XQuery as a standard for the XML query language. Like SQL, XQuery allows nested queries. Thus, normalization rules have been proposed to transform nested XQuery queries to semantically equivalent ones that could be executed more efficiently. However, previous normalization rules are applicable only to restricted forms of nested XQuery queries. Specifically, they can not handle FLWR expressions having nested expressions in the where clause. In this paper, we propose normalization rules for XQuery queries by extending those for SQL queries. Our proposed rules can handle FLWR expressions haying nested expressions in every clause. The major contributions of this paper are as follows. First, we classily nesting types of XQuery queries according to the existence of correlation and aggregation. We then propose normalization rules for each nesting type. Second, we propose detailed algorithms that apply the normalization rules to nested XQuery queries.
Keywords
XQuery; Normalization; XML Query Processing;
Citations & Related Records
연도 인용수 순위
  • Reference
1 Pirahesh, H., Hellerstein, J. M., and Hasan, W., 'Extensible/Rule Based Query Rewrite optimization in Starburst,' In Proc, Int'l Conf. on Management of Data, ACM SIGMOD, San Diego, California, pp. 39-48, June 1992   DOI
2 Seshadri, P., Pirahesh, H., and Leung, T., 'Complex Query Decorrelation,' In Proc. the 17th Int'1 Conf. on Data Engineering, pp. 450-458, Feb. 1996   DOI
3 Ganski, R. and Wong, H., 'Optimization of Nested SQL Queries Revisited,' In Proc. Int'l Conf. on Management of Data, ACM SIGMOD, San Francisco, USA, pp. 23-33, May 1987
4 Dayal, U., 'Of Nests and Trees: A Unified Approach to Processing Queries that contain Nested Subqueries, Aggregates and Quantifiers,' In Proc. 13th Int'I Conf. on Very Large Data Bases, Brighton, England, pp. 197-208, Sept. 1987
5 Worid Wide Web Consortium, XQuery 1.0: An XML Query Language, W3C Working Draft, Aug. 2003 (availiable from http://www.w3.org/TR/xquery/)
6 Kiessling, W., SQL-like and Quel-like Correlation Queries with Aggregates Revisited, UCB/ERL Memo 84/75, Electronics Research Laboratory, Univ Califomia, Berkeley, Sept. 1984
7 Manolescu, L, Florescu, D., and Kossmann, D., 'Answering XML Queries over Heterogeneous Data Sources,' In Proc. 27th Int'l Conf. on Very Large Data Bases, Roma, Italy, pp. 241-250, Sept. 2001
8 Kim, W., 'On Optimizing an SQL-like Nested Query,' ACM Trans. on Database Systems, Vol. 7, No. 3, pp. 443-469, Sept. 1982   DOI
9 Deutsch, A. et al., 'XML-QL: A Query Language for XML,' In Proc. 8th Int'l Conf. on Worid Wide Web, Toronto, May 1999
10 World wide web Consortium, XML Path Language (XPath) Version 1.0, W3C Recommendation, Nov. 1999 (availiable from http://www.w3.org/TR/xpath.html)
11 World Wide Web Consortium (available from http://www.w3.org/)
12 Simon, H., Strategic Analysis of XML for Web Application Development, Computer Research Corp., 2000
13 Robie, J., Lapp, J., and Schach, D., 'XML Query Language (XQL),' In Proc. QL'98, Cambridge, Mass., Dec. 1998
14 Chamberiin, D., Robie, J., and Florescu, D., 'Quilt: An XML Query Language for Heterogeneous Data Sources,' In Proc SIGMOD/PODS Workshop on the Web and Database, Dallas, Texas, pp. 53-62, May 2000