OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help



   Re: [xml-dev] What niche is XQuery targeting?

[ Lists Home | Date Index | Thread Index ]

Soumitra Sengupta wrote:

> This is one of those few times I agree with Dare :-)) even though we
> work for the same company.  He points out one of the big challenges.
> Couple of comments:
> If we are querying over a bunch of back-end relational databases, why is
> XQuery better than some flavor of SQL?  At least the type system
> mismatch could be manageable.

It isn't better. The only reason I can think of to use XQuery in this 
situation is that you want to construct reasonably complex XML from the 
results, and even then you need to make some trade-offs. SQL will almost 
certainly be faster but require post-processing to construct the XML; 
XQuery will be easier to write.

XQuery is useful as a data integration language when the data sources do
not easily map to relational.

> Honestly, whether we use a SQL DQP or XQuery DQP is not the biggest
> problem.  Semantic and structural mismatches, data quality, policies
> around running arbitrary queries on mission critical data stores, data
> volume, updates, security and access control and metadata management are
> the bigger problems.


-- Ron


News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS