[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: XML Database Decision Tree?

  • From: Nicolas LEHUEN <nicolas.lehuen@u...>
  • To: "'Champion, Mike'" <Mike.Champion@S...>,"'xml-dev@l...'" <xml-dev@l...>
  • Date: Wed, 24 Oct 2001 10:36:12 +0200

editor binary decision tree
This raises the following question : are there schema mutation tools in
native XML databases ? I.e. you provide a new target schema and the XSLT
stylesheet to apply to move one collection of document from an old schema to
the new one, and the database processes all relevant documents in a safe
way, e.g. by locking the collection or any other means that would prevent
clients to get a mix of old and new documents.

Regards,
Nicolas

>> Speaking generally, the native XML DBMS tend  to be more
>> flexible in handling data with no schema, or with evolving 
>> schema, than solutions based on normalizing XML into RDBMS tables.
>> 
>> Could you explain this further? The flexibility is easy to 
>understand,
>> but I'm having trouble seeing what it buys me. If I store my data 17
>> different ways, I'm going to have one heck of a time querying it.
>
>OK.  The various native XML DBMSs, by diverse means, allow 
>well-formed XML to be stored and efficiently queried without 
>demanding rigid adherence to a schema.  Some do this by never
>defining an XML schema at all or by storing well-formed XML 
>that doesn't
>match a known schema in a "miscellaneous" collection, some by 
>allowing the
>schema to evolve and re-indexing on the fly or whatever, some 
>by allowing
>open content models at any point in the schema, or by some combination.
>There is a bit of a tradeoff here -- I would guess (I am not 
>up-to-date on
>exactly how it works in the current Tamino, and obviously am 
>not privy to
>the details of the others) that it is generally more efficient 
>to search on
>structures that are rigidly defined. BUT given that  native 
>XML DBMS may use
>some sort of inverted list/associative memory/binary relation 
>internal data
>model for the XML itself not just the indexes, predictability 
>is probably
>not as big an advantage as one might think.  
>
>So, the example of a collection of XML instances whose schema that has
>evolved through 17 different iterations would not be a problem 
>at all in
>some of the native XML DBMSs, would not be a problem in Tamino in most
>cases, and in the typical case all 17 subsets would be stored 
>together in
>the "miscellaneous" collection where they can be queried with 
>reasonable, if
>not optimal, efficiency. The only time you'd have to query 17 
>different ways
>is if the top-level tag changed with every iteration of the 
>schema; so this
>is a worst case scenario involving a completely clueless set 
>of developers
>and DBAs.
>
>My larger point (as a couple of people have picked up on) was 
>that most DB
>developers do not control their own destiny with respect to 
>schemas -- they
>store the data someone tells them to store, and if the schema 
>changes, they
>deal with it.  Native XML DBMS developers will spend a lot 
>fewer nights and
>weekends "dealing with it" than those trying to store evolving 
>XML schema in
>an RDBMS.

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
 

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.


Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

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-2013 All Rights Reserved.