DocumentCode
2161552
Title
Optimization of Nested XQuery Expressions with Orderby Clauses
Author
Wang, Song ; Rundensteiner, Elke A. ; Mani, Murali
Author_Institution
Worcester Polytechnic Institute, MA
fYear
2005
fDate
05-08 April 2005
Firstpage
1277
Lastpage
1277
Abstract
XQuery, the defacto XML query language, is a functional language with operational semantics, which precludes the direct application of classical query optimization techniques. The features of XQuery, such as nested expressions and ordered semantics, further aggravate this situation. The appropriate extension of existing optimization techniques to XQuery processing hence represents an important and non-trivial task. We propose an algebraic rewriting technique of nested XQuery expressions containing explicit orderby clauses. Unlike prior work, this technique enables the optimization of nested XQuery expressions not only with set but also with ordered sequence semantics. Our technique is based on two steps. First, we perform algebraic query unnesting. Second, we apply query minimization techniques that exploit pairwise XPath set containment after pulling up ordersensitive operations. We illustrate how our proposed technique is able to not only successfully tackle the XQuery logical optimization problem solved in the NEXT framework, but in addition to also to correctly support ordered semantics. We have implemented the proposed optimization techniques on top of the XAT algebraic framework in our RainbowCore project. We show the performance gain achievable by our approach using an experimental study with the RainbowCore engine.
Keywords
Application software; Books; Computer science; Database languages; Engines; Information retrieval; Performance gain; Query processing; Relational databases; XML;
fLanguage
English
Publisher
ieee
Conference_Titel
Data Engineering Workshops, 2005. 21st International Conference on
Print_ISBN
0-7695-2657-8
Type
conf
DOI
10.1109/ICDE.2005.256
Filename
1647895
Link To Document