ACM Home Page
Please provide us with feedback. Feedback
A comprehensive XQuery to SQL translation using dynamic interval encoding
Full text PdfPdf (242 KB)
Source International Conference on Management of Data archive
Proceedings of the 2003 ACM SIGMOD international conference on Management of data table of contents
San Diego, California
SESSION: XML query processing II table of contents
Pages: 623 - 634  
Year of Publication: 2003
ISBN:1-58113-634-X
Authors
David DeHaan  University of Waterloo, Waterloo, Canada
David Toman  University of Waterloo, Waterloo, Canada
Mariano P. Consens  University of Waterloo, Waterloo, Canada
M. Tamer Özsu  University of Waterloo, Waterloo, Canada
Sponsor
SIGMOD: ACM Special Interest Group on Management of Data
Publisher
ACM  New York, NY, USA
Bibliometrics
Downloads (6 Weeks): 7,   Downloads (12 Months): 64,   Citation Count: 34
Additional Information:

abstract   references   cited by   index terms   collaborative colleagues  

Tools and Actions: Request Permissions Request Permissions    Review this Article  
DOI Bookmark: Use this link to bookmark this Article: http://doi.acm.org/10.1145/872757.872832
What is a DOI?

ABSTRACT

The W3C XQuery language recommendation, based on a hierarchical and ordered document model, supports a wide variety of constructs and use cases. There is a diversity of approaches and strategies for evaluating XQuery expressions, in many cases only dealing with limited subsets of the language. In this paper we describe an implementation approach that handles XQuery with arbitrarily-nested FLWR expressions, element constructors and built-in functions (including structural comparisons). Our proposal maps an XQuery expression to a single equivalent SQL query using a novel dynamic interval encoding of a collection of XML documents as relations, augmented with information tied to the query evaluation environment. The dynamic interval technique enables (suitably enhanced) relational engines to produce predictably good query plans that do not preclude the use of sort-merge join query operators. The benefits are realized despite the challenges presented by intermediate results that create arbitrary documents and the need to preserve document order as prescribed by semantics of XQuery. Finally, our experimental results demonstrate that (native or relational) XML systems can benefit from the above technique to avoid a quadratic scale up penalty that effectively prevents the evaluation of nested FLWR expressions for large documents.


REFERENCES

Note: OCR errors may be found in this Reference List extracted from the full text article. ACM has opted to expose the complete List rather than only correct and linked references.

 
1
Galax. Available from http://db.bell-labs.com/galax/.
 
2
IPSI-XQ - the XQuery demonstrator. Available from http://ipsi.fhg.de/oasys/projects/ipsi-xq/.
 
3
Kweelt. Available from http://kweelt.sourceforge.net.
 
4
QuiP. Available from http://developer.softwareag.com/ tamino/quip/.
 
5
X-Hive/DB. Available from http://www.x-hive.com.
 
6
XMark -- an XML benchmark project. Available from http://www.xml-benchmark.org.
 
7
V. Aguilera, S. Cluet, P. Veltri, D. Vodislav, and F. Wattez. Querying XML documents in Xyleme. In Proc. ACM SIGIR Workshop on XML and Information Retrieval, 2000.
 
8
 
9
D. Barbosa, A. Barta, A. O. Mendelzon, G. A. Mihaila, F. Rizzolo, and P. Rodriguez-Guianolli. ToX - The Toronto XML Engine. In Proc. Workshop on Information Integration on the Web, pages 66--73, 2001.
 
10
S. Boag, D. Chamberlin, D. Florescu, J. Robie, J. Simeon, and M. Stefanescu. XQuery 1.0: An XML Query Language. Technical report, W3C, 2001.
 
11
 
12
13
 
14
 
15
J. Celko. Trees, Databases and SQL. DBMS, 7(10):48--57, 1994.
 
16
 
17
D. Chamberlin, P. Fankhauser, M. Marchiori, and J. Robie. XML Query Use Cases. Technical report, W3C, 2001.
 
18
Y. Chen, G. Mihaila, S. Padmanabhan, and R. Bordawekar. Labeling Your XML. (preliminary version presented at CASCON'02 Conf.), October 2002.
19
20
21
 
22
P. Fankhauser, M. Fernandez, A. Malhotra, M. Rys, J. Simeon, and P. Wadler. XQuery 1.0 Formal Semantics. Technical report, W3C, 2001.
23
 
24
 
25
D. Florescu and D. Kossmann. Storing and Querying XML Data using an RDMBS. IEEE Data Engineering Bulletin, 22(3):27--34, 1999.
 
26
27
 
28
 
29
30
31
 
32
F. Tian, D. DeWitt, J. Chen, and C. Zhang. The design and performance evaluation of alternative XML storage strategies. Technical report, University of Wisconsin, 2002.
 
33
 
34
D. Toman and G. E. Weddell. Querying XML: On the Utility of Interval Encoding. Technical report, University of Waterloo, 2002.
35
36

CITED BY  34

Collaborative Colleagues:
David DeHaan: colleagues
David Toman: colleagues
Mariano P. Consens: colleagues
M. Tamer Özsu: colleagues