Algebraic Optimization of Nested XPath Expressions

  • Authors:
  • Matthias Brantner;Carl-Christian Kanne;Guido Moerkotte;Sven Helmer

  • Affiliations:
  • Universitat Mannheim, Gemany;Universitat Mannheim, Germany;Universitat Mannheim, Germany;Birkbeck College, University of London, UK

  • Venue:
  • ICDE '06 Proceedings of the 22nd International Conference on Data Engineering
  • Year:
  • 2006

Quantified Score

Hi-index 0.01

Visualization

Abstract

The XPath language incorporates powerful primitives for formulating queries containing nested subexpressions which are existentially or universally quantified. However, even the best published approaches for evaluating XPath have unsatisfactory performance when applied to nested queries. We examine optimization techniques that unnest complex XPath queries. For this purpose, we classify XPath expressions particularly with regard to properties that are relevant for unnesting. We present algebraic equivalences that transform nested expressions into unnested expressions. In our experiments we compare the evaluation times with existing XPath evaluators and the naive evaluation.