Rules for query rewrite in native XML databases

  • Authors:
  • Andreas M. Weiner;Christian Mathis;Theo Härder

  • Affiliations:
  • University of Kaiserslautern, Kaiserslautern, Germany;University of Kaiserslautern, Kaiserslautern, Germany;University of Kaiserslautern, Kaiserslautern, Germany

  • Venue:
  • DataX '08 Proceedings of the 2008 EDBT workshop on Database technologies for handling XML information on the web
  • Year:
  • 2008

Quantified Score

Hi-index 0.00

Visualization

Abstract

In recent years, the database community has seen many sophisticated Structural Join and Holistic Twig Join algorithms as well as several index structures supporting the evaluation of twig query patterns. Even though almost all XML query evaluation proposals in the literature use one of those evaluation methods, we believe that (1) there is no internal representation that enables a smooth transition between the XQuery language level and physical algebra operators, and (2) there is still no approach that considers the combination of content-and-structure indexes, Structural Join (SJ), and Holistic Twig Join (HTJ) algorithms to speed up the evaluation of twig queries. To overcome this deficit, we propose an enhancement to Starburst's Query Graph Model as an internal representation for XML query languages such as XQuery. This representation permits the usage of SJ and HTJ operators as part of the logical algebra. For twig queries, we define a set of rewrite rules which initiate query graph transformations towards improved processability, e.g., to fuse adjacent binary join operators to an n-way join operator. To enhance the evaluation flexibility of twig queries, we come up with further rewrite rules to prepare query graphs---even before query transformation---for making the most of existing joins and indexes.