[XQuery Talk Mailing List Archive Home] [By Date] [By Thread] [By Subject] [By Author] [Recent Entries] [Reply To This Message]

multiple xml doc reference performance

Michael Kay mike at saxonica.com
Thu May 31 17:07:24 PDT 2007


  multiple xml doc reference performance
The performance of a join query like this, and the ways for improving the
performance, depend very much on your choice of XQuery processor. XQuery
doesn't have any equivalent to XSLT's xsl:key which is a hint for creating
indexes; in the absence of this the processor has to work out for itself
what strategy to adopt.

One of the important differences between the two versions of Saxon, Saxon-B
and Saxon-SA, is that Saxon-SA has a more powerful optimizer which is good
at optimizing joins between large datasets. It can make a dramatic
difference for this kind of query.

Michael Kay
http://www.saxonica.com/ 

> -----Original Message-----
> From: http://x-query.com/mailman/listinfo/talk 
> [mailto:http://x-query.com/mailman/listinfo/talk] On Behalf Of Charlie
> Sent: 31 May 2007 15:38
> To: http://x-query.com/mailman/listinfo/talk
> Subject:  multiple xml doc reference performance
> 
> Hi,
> 
> I have two xml files, one is about 200M and the second is  
> 1.5M. I tried to go through the first big file and check the 
> info in the 2nd file for every iteration, so it looks like 
> two for loops.
> 
> My question is what the better solutions are to make this 
> kind of query faster. I have some other queries running on 
> one 400M file within two minutes, but this query using two 
> smaller files takes much longer.
> 
> Thanks for any suggestions,
> Chong
> 
> 
>       
> ______________________________________________________________
> ______________________
> Fussy? Opinionated? Impossible to please? Perfect.  Join 
> Yahoo!'s user panel and lay it on us. 
> http://surveylink.yahoo.com/gmrs/yahoo_panel_invite.asp?a=7 
> 
> _______________________________________________
> http://x-query.com/mailman/listinfo/talk
> http://x-query.com/mailman/listinfo/talk



PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2007 All Rights Reserved.