|
[XQuery Talk Mailing List Archive Home] [By Date] [By Thread] [By Subject] [By Author] [Recent Entries] [Reply To This Message] How to optimize XQuery?Michael Kay mhk at mhk.me.ukThu Sep 23 18:17:16 PDT 2004
I notice that you have downloaded a copy of Saxon, let us know how you get on with it. Performance questions can only really be answered (a) with knowledge of the processor, (b) with full details of your query, and (c) with information that's rather more precise than "a long time" and "big files". One useful thing to establish is the relationship between the execution time and the file size: does it double when the file size doubles? Unlike XSLT, XQuery doesn't define any mechanism within the language for creating or exploiting indexes, so in general a FLWR expression with a where clause is likely to involve a serial search. Systems that store the data in a database and allow you to build indexes are likely to do better than that, provided you have created the right indexes. Michael Kay http://www.saxonica.com/ > -----Original Message----- > From: http://xquery.com/mailman/listinfo/talk > [mailto:http://xquery.com/mailman/listinfo/talk] On Behalf Of Robson > Sent: 21 September 2004 15:23 > To: http://xquery.com/mailman/listinfo/talk > Subject: How to optimize XQuery? > > Hi all, > > I'm using the xquery implemantion available in > http://www.oracle.com/technology/sample_code/tech/xml/xmldb/xm > ldb_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 > > > > _______________________________________________ > http://xquery.com/mailman/listinfo/talk > http://xquery.com/mailman/listinfo/talk >
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|






