Let SQL drive the XQuery workhorse (XQuery join graph isolation)
Authors:
Open Access
- 22 March 2010
- conference paper
- Published by Association for Computing Machinery (ACM)
- p. 147-158
Abstract
A purely relational account of the true XQuery semantics can turn any relational database system into an XQuery processor. Compiling nested expressions of the fully compositional XQuery language, however, yields odd algebraic plan shapes featuring scattered distributions of join operators that currently overwhelm commercial SQL query optimizers. This work rewrites such plans before submission to the relational database back-end. Once cast into the shape of join graphs, we have found off-the-shelf relational query optimizers---the B-tree indexing subsystem and join tree planner, in particular---to cope and even be autonomously capable of "reinventing" advanced processing strategies that have originally been devised specifically for the XQuery domain, e.g., XPath step reordering, axis reversal, and path stitching. Performance assessments provide evidence that relational query engines are among the most versatile and efficient XQuery processors readily available today.Keywords
Funding Information
- Deutsche Forschungsgemeinschaft (GR2036/2-2)
This publication has 12 references indexed in Scilit:
- An XML transaction processing benchmark2007
- Optimization of nested XQuery expressions with orderby clausesData & Knowledge Engineering, 2007
- MonetDB/XQuery2006
- Querying XML streamsThe VLDB Journal, 2005
- Optimizing Sorting and Duplicate Elimination in XQuery Path ExpressionsLecture Notes in Computer Science, 2005
- ORDPATHs2004
- Accelerating XPath evaluation in any RDBMSACM Transactions on Database Systems, 2004
- Fundamental techniques for order optimization1996
- Extensible/rule based query rewrite optimization in Starburst1992
- Query Optimization in Database SystemsACM Computing Surveys, 1984