DocumentCode :
3122290
Title :
Efficient Distribution of Full-Fledged XQuery
Author :
Zhang, Ying ; Tang, Nan ; Boncz, Peter
Author_Institution :
CWI, Amsterdam
fYear :
2009
fDate :
March 29 2009-April 2 2009
Firstpage :
565
Lastpage :
576
Abstract :
We investigate techniques to automatically decompose any XQuery query into subqueries, that can be executed near their data sources; i.e., function-shipping. In this scenario, the subqueries being executed remotely may have XML node-valued parameters or results, that must be shipped in some way. The main challenge addressed here is to ensure that the decomposed queries properly respect XML node identity and preserve structural properties, when (parts of) XML nodes are sent over the network, effectively copying them. We start by precisely characterizing the conditions, under which pass-by-value parameter passing causes semantic differences between remote execution of an XQuery expression and its local execution. We then formulate a conservative strategy that effectively avoids decomposition in such cases. To broaden the possibilities of query distribution, we extend the pass-by value semantics to a pass-by-fragment semantics, which keeps better track of node identities and structural properties. The pass-by-fragment semantics is subsequently refined to a pass-by projection semantics by means of a novel runtime XML projection technique, which safely eliminates most semantic differences between the local and remote execution of an XQuery expression, and strongly reduces message sizes. The proposed techniques are implemented in XRPC, a simple yet efficient XQuery extension that enables function-shipping by adding a remote procedure call mechanism to XQuery. Experiments on MonetDB/XQuery establish the performance potential of our XQuery decomposition techniques.
Keywords :
XML; query processing; remote procedure calls; XML node-valued parameter; full-fledged XQuery; function-shipping; pass-by value semantics; pass-by-fragment semantics; remote execution; remote procedure call mechanism; runtime XML projection technique; Data engineering; Data models; Engines; Marine vehicles; Peer to peer computing; Relational databases; Runtime; Testing; Transportation; XML; XQuery decomposition; distributed XQuery;
fLanguage :
English
Publisher :
ieee
Conference_Titel :
Data Engineering, 2009. ICDE '09. IEEE 25th International Conference on
Conference_Location :
Shanghai
ISSN :
1084-4627
Print_ISBN :
978-1-4244-3422-0
Electronic_ISBN :
1084-4627
Type :
conf
DOI :
10.1109/ICDE.2009.79
Filename :
4812435
Link To Document :
بازگشت