XMark Using XQuery Modules
MonetDB/XQuery implements the W3C XQuery module feature, that
allows you to define XQuery functions.
The main benefits are:
- avoid query translation/optimization overhead (the module is
translated only at first use). Note that this query plan caching
happens only if a query consists of a single function application
with simple, atomic parameters.
- the ability to call the function via SOAP (XRPC). In case of
SOAP, query plan caching is always achieved.
Query plan caches avoids XQuery compilation time, often in the
order of 50-150ms. Especially for small data sizes, the overall
performanced impact can thus be significant. Therefore we use
the below module for our XMark experiments.
The XQuery Module with XMark Functions
xmark.xq
XMark Queries that use the module
q01.xq
q02.xq
q03.xq
q04.xq
q05.xq
q06.xq
q07.xq
q08.xq
q09.xq
q10.xq
q11.xq
q12.xq
q13.xq
q14.xq
q15.xq
q16.xq
q17.xq
q18.xq
q19.xq
q20.xq
|
|