Title :
XQuery Streaming a la Carte
Author :
Fernandez, M. ; Michiels, P. ; Simeon, J. ; Stark, Michael
Abstract :
Existing work on XML query evaluation has either focused on algebraic optimization techniques suitable for XML databases, or on algorithms to efficiently process XML messages represented as a stream of parsing events. In practice, complex applications often must handle both. In this paper, we develop a physical algebra that combines streaming operators with other standard relational and XML operators. Our physical model includes marked XML streams, which permit efficient XPath evaluation, but can only be consumed once. This constraint restricts the use of streaming operators to fragments of a query plan that only access data using depth-first traversal. We develop static analysis techniques to decide which fragment of a plan can be streamed. Our experiments demonstrate the benefits of blending streaming with other evaluation techniques.
Keywords :
XML; process algebra; program diagnostics; query languages; query processing; XML database; XML operator; XML query evaluation; XQuery streaming; algebraic optimization; depth-first traversal; relational operator; static analysis; Algebra; Automata; Data models; Decorrelation; Navigation; Query processing; Relational databases; Standards development; Web services; XML;
Conference_Titel :
Data Engineering, 2007. ICDE 2007. IEEE 23rd International Conference on
Conference_Location :
Istanbul
Print_ISBN :
1-4244-0802-4
DOI :
10.1109/ICDE.2007.367871