[xquery-talk] How to optimize XQuery?

Jason Hunter jhunter at xquery.com
Tue Sep 21 15:12:40 PDT 2004

Mark Logic has a Java access API named XDBC, downloadable at 
http://xqzone.marklogic.com/download/.  As with most high-performant 
databases, you don't embed Mark Logic within your application, you 
connect via TCP/IP to the server process.

There's also a higher level access API built on XDBC that I open 
sourced.  I named it "JQEE".  :)  It's available on the same page.  For 
80% of your query tasks it's all you need.

To connect to Mark Logic via a JSP page there's a JSP Taglibs library 
too: http://xqzone.marklogic.com/howto/tutorials/2004-07-jsptags.xqy. 
Makes it easy to write an XQuery-backed J2EE application.


Robson wrote:

> Hi Jason,
> Mark Logic seems to be good, but i'm trying to run some simulations at a 
> grid plattform and i'm looking for only a ".jar" to perform xquery queries
> using java API. Where i can find the Mark Logic xquery.jar? Does anyone 
> knows another simple xquery java api or where i can find the oracle 
> xquery api?
> Thanks,
> cheers,
> Robson
> Jason Hunter wrote:
>> I've found Mark Logic to be really good (so good I joined the 
>> company).  :)  You can get the Mark Logic engine at 
>> http://xqzone.marklogic.com.  It's commercial software, but to help 
>> people learning and fill in a void on the low end we're giving away a 
>> free 50 Meg limited version, or a 1 Gig limited version for 30 day 
>> trial.  The production version can scale past a terabyte.
>> Here's a tech overview:
>> http://xqzone.marklogic.com/howto/tutorials/technical-overview.xqy
>> -jh-
>> Robson wrote:
>>> Hi all,
>>> I'm using the xquery implemantion available in 
>>> http://www.oracle.com/technology/sample_code/tech/xml/xmldb/xmldb_xquerydownload.html. 
>>> It
>>> seems to work well, except because the ResultSet take a long time to 
>>> execute the "resultset.next()", mainly with big files and i'm using 
>>> "where clauses". Does anyone know how to optimize query or if there 
>>> is another faster implementation of xquery available to download?
>>> Thanks in advance,
>>> cheers,
>>> Robson Hugo Araújo dos Santos
>>> _______________________________________________
>>> talk at xquery.com
>>> http://xquery.com/mailman/listinfo/talk
>> _______________________________________________
>> talk at xquery.com
>> http://xquery.com/mailman/listinfo/talk

More information about the talk mailing list