Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


RE: [xml-dev] hierarchical XML in a relational DB structure - moving nodes

From: "Michael Rys" <mrys@---------.--->
To: "Tatu Saloranta" <cowtowncoder@-----.--->,"xml-dev" <xml-dev@-----.---.--->
Date: 6/2/2006 1:19:00 AM
A native XML datatype (not proprietary! XML is part of the SQL-2003
standard) offers better processing than manual shredding for the general
XML document case for subtree querying and provides certain model
consistency constraints. If you use XML as a transport format for
relational data, you should deal with the data inside the database
relationally and shred it back into relations. If you really only want
to store and forward the whole XML document, using a BLOB (not CLOB due
to encoding/codepage issues) is the most efficient way. But you loose
any guarantees (or have to guarantee it using different mechanisms) that
the data really is XML.

Best regards
Michael

> -----Original Message-----
> From: Tatu Saloranta [mailto:cowtowncoder@y...]
> Sent: Friday, May 26, 2006 4:40 PM
> To: xml-dev
> Subject: RE: [xml-dev] hierarchical XML in a relational DB structure -
> moving nodes
> 
> --- Michael Rys <mrys@m...> wrote:
> ...
> > 2. Don't need frequent independent access at
> > individual item level or
> > order in the tree is important:
> >
> > Use an XML datatype (like Oracle, SQL Server or
> > other databases
> > provide).
> 
> In this latter case, chances are that storing and
> accessing them as LOBs is about as efficient as using
> proprietary datatypes? Or are there special tricks db
> drivers can do to compress data in flight or
> something?
> I have always wondered what are the benefits of XML
> extensions for cases where the whole documents are
> returned (as opposed to using XQuery etc. to do parts
> of actual processing in the server side).
> 
> -+ Tatu +-
> 
> 
> 
> __________________________________________________
> Do You Yahoo!?
> Tired of spam?  Yahoo! Mail has the best spam protection around
> http://mail.yahoo.com
> 
> -----------------------------------------------------------------
> The xml-dev list is sponsored by XML.org <http://www.xml.org>, an
> initiative of OASIS <http://www.oasis-open.org>
> 
> The list archives are at http://lists.xml.org/archives/xml-dev/
> 
> To subscribe or unsubscribe from this list use the subscription
> manager: <http://www.oasis-open.org/mlmanage/index.php>


transparent
Print
Mail
Like It
Disclaimer
.

These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on www.altova.com/list/index.html. Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.

.
.

transparent

transparent