Back to Search Start Over

SilkRoute: a framework for publishing relational data in XML

Authors :
Fernandez, Mary
Kadiyska, Yana
Suciu, Dan
Morishima, Atsuyuki
Tan, Wang-Chiew
Source :
ACM Transactions on Database Systems. Dec, 2002, Vol. 27 Issue 4, p438, 56 p.
Publication Year :
2002

Abstract

XML is the "lingua franca" for data exchange between interenterprise applications. In this work, we describe SilkRoute, a framework for publishing relational data in XML. In SilkRoute, relational data is published in three steps: the relational tables are presented to the database administrator in a canonical XML view; the database administrator defines in the XQuery query language a public, virtual XML view over the canonical XML view; and an application formulates an XQuery query over the public view. SilkRoute composes the application query with the public-view query, translates the result into SQL, executes this on the relational engine, and assembles the resulting tuple streams into an XML document. This work makes some key contributions to XML query processing. First, it describes an algorithm that translates an XQuery expression into SQL. The translation depends on a query representation that separates the structure of the output XML document from the computation that produces the document's content. The second contribution addresses the optimization problem of how to decompose an XML view over a relational database into an optimal set of SQL queries. We define formally the optimization problem, describe the search space, and propose a greedy, cost-based optimization algorithm, which obtains its cost estimates from the relational engine. Experiments confirm that the algorithm produces queries that are nearly optima]. Categories and Subject Descriptors: H.2.3 [Database Management]--query languages; H.2.4 [Database Management]--query processing; D.3.2 [Programming Languages]--very high-level languages

Details

ISSN :
03625915
Volume :
27
Issue :
4
Database :
Gale General OneFile
Journal :
ACM Transactions on Database Systems
Publication Type :
Academic Journal
Accession number :
edsgcl.95147930