Sciweavers

DEXA
2003
Springer

On the Optimality of Holistic Algorithms for Twig Queries

14 years 5 months ago
On the Optimality of Holistic Algorithms for Twig Queries
Streaming XML documents has many emerging applications. However, in this paper, we show that the restrictions imposed by data streaming are too restrictive for processing twig queries { the core operation for XML query processing. Previous proposed algorithm TwigStack is an optimal algorithm for processing twig queries with only descendent edges over streams of nodes. The cause of the suboptimality of the TwigStack algorithm is the structurally recursions appearing in XML documents. We show that without relaxing the data streaming model, it is not possible to develop an optimal holistic algorithm for twig queries. Also the computation of the twig queries is not memory bounded. This motivates us to study two variations of the data streaming model: (1) o ine sorting is allowed and the algorithm is allowed to select the correct nodes to be streamed and (2) multiple scans on the data streams are allowed. We show the lower bounds of the two variations.
Byron Choi, Malika Mahoui, Derick Wood
Added 06 Jul 2010
Updated 06 Jul 2010
Type Conference
Year 2003
Where DEXA
Authors Byron Choi, Malika Mahoui, Derick Wood
Comments (0)