MetaCartSign in to MyCiteSeer

Include Citations | Advanced Search | Help

Include Citations | Advanced Search | Help

  XML Algebra Optimization. by

Download:
Download as a PDF
by Elke A. Rundensteiner, Xin Zhang, Xin Zhang, Bradford Pielech, Bradford Pielech, Elke A. Rundesnteiner
ftp://ftp.cs.wpi.edu/pub/techreports/pdf/02-25.pdf
Add To MetaCart

Abstract:

Mapping of XML data into and out of relational database systems, including query processing over such virtual XML views that wrap relational sources, has become a topic of critical importance recently. The Rainbow XML data management system, being developed at WPI, focuses on the processing and optimization of XQuery queries against XML views of that relational data. For this, Rainbow’s query model, XML Algebra Tree (XAT), has been designed. Because the XML formatting operators are interleaved with the computation operators, this XAT must then be optimized before being translated into SQL. For this, our computation pushdown technology splits the XAT into the XML-specific and SQL-doable operators with the later then being converted into SQL statements. However, the XAT after computation pushdown may contain unreferenced columns or unused operators. We show that these unneeded operators cannot be discovered by the relational engine after SQL generation. Leaving these operators in the tree would create unnecessarily large SQL statements that will slow down the overall execution. Our main contributions to XML query processing, described in this paper, are threefold. One, we describe the XAT algebra for modeling XQuery expressions. Two, we propose rewriting rules to optimize XQueries by cancelling operators. Three, we describe a cutting algorithm that removes unreferenced columns and operators from the XATs. We have implemented the techniques discussed in this paper in the Rainbow system. Our experimental study compares the performance of execution before and after operator cancel out and before and after cutting.

Citations

181 Storing and Querying XML Data using an RDBMS – Florescu, Kossman - 1999
106 Database Systems - The Complete Book – Garcia-Molina, Ullman, et al. - 2002
99 From XML schema to relations: A cost-based approach to XML storage – Bohannon, Freire, et al. - 2002
67 Database System Implementation – Garcia-Molina, Ullman, et al. - 2000
61 Querying xml views of relational data – Shanmugasundaram, Kiernan, et al. - 2001
48 SilkRoute: A framework for publishing relational data in XML – Fernández, Kadiyska, et al. - 2002
47 XPERANTO: Middleware for publishing object-relational data as XML documents – Carey, Kiernan, et al. - 2000
44 The Niagara Internet Query System – Naughton, DeWitt, et al. - 2001
29 A general technique for querying xml documents using a relational database system – Shanmugasundaram, Shekita, et al. - 2001
21 Agora: Living with XML and Relational – Manolescu, Florescu, et al. - 2000
8 Kweelt: More than just ”yet another framework to query xml – Sahuguet - 2001
8 Clock: Synchronizing internal relational storage with external xml documents – Zhang, Mitchell, et al. - 2001
6 query use cases – XML - 2003
6 XQuery 1.0 Formal Semantics – W3C - 2002
5 The XML Query Algebra – W3C - 2001
5 XQuery: A Query Language for XML. http://www.w3.org/TR/xquery – W3C - 2001
2 X-Cube: A fleXible XML Mapping System Powered by XQuery – Christ, Rundensteiner - 2002
1 Microsoft sql server. http://www.microsoft.com – Corp
1 Order-Sensitive XML Query Execution Over Relational Sources – Murphy - 2003