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

Re: XML Database vs. OO Database


disadvantages of a database
5/19/2002 10:15:53 AM, "Joseph Barnes" <JBarnes@r...> wrote:


>  Hey listees, Can anyone point me to an intro level resource (web or print)
>  describing the differences/ benefits between implementing a native XML
>  database and an OO database?

Some good starting points are
http://www.xml.com/pub/a/2001/10/31/nativexmldb.html
http://www.rpbourret.com/xml/XMLDatabaseProds.htm
http://xml.apache.org/xindice/FAQ
http://www.eaijournal.com/PDF/StoringXMLChampion.pdf [shameless self promotion]


I personally [not sure what the official corporate position is these days]
suspect a misunderstanding -- "native XML" now means that the logical 
database model is XML, so users don't have to think about mapping XML data to
some underlying storage model.  That storage model could be an
RDBMS, and OODB, or something designed for XML.

So, there are a couple of ways to look at this question:  Perhaps you're
asking whether it makes more sense to store your Java objects natively
in an OO datbase as opposed to serializing them in XML and storing them
in an XML database?  Perhaps Excelon/ObjectDesign has some information on
this, since they support both scenarios.  In general, though, the "native"
XML approach has the same advantages and disadvantages of XML itself:
platform independence, vendor neutrality, universal support on one hand,
some loss of efficiency in the serialization/parse on the other.

Or perhaps you've already got XML data and are asking whether 
it makes more sense to use an XML database with an underlying storage 
system that is optimized for XML
(e.g., Tamino or Xindice) vs one that is built on an OODB (Excelon),
an RDBMS (B-Bop) or an in-memory DB/RDBMS cache (Ipedo).  [BTW, this is 
my best understanding of these products, somebody correct me if I'm
wrong] I doubt if there is a one-size-fits-all answer here.  First, the
degree to which the underlying storage model is really optimized for
XML is a proprietary technology / trade secret of the vendors.  Second,
there are no standard benchmarks, and anyone can define tests to make
themselves look good.  (E.g., in-memory databases are REALLY fast as
long as you have less data than memory; powerful indexing schemes to
improve the speed of complex queries usually require more time when 
instances are inserted, etc.). The only benchmarks that should be
taken seriously at this point are those designed to match the 
hardware, data volumes, data types, and usage patterns of a 
specific installation.

Or perhaps you have lots of RDBMS data and want to import/export
XML?  That's a whole different scenario .... the XML-enablement
features of your RDBMS system might be well-suited to your needs,
or your increasing needs to handle XML may quickly overwhelm them,
or you may find it useful to setup a native XML database in the
"neutral zone" between diverse RDBMS systems with incompatible XML
features.  

Anyway, the point of all this rambling is that you're asking a 
question with no straightforward answer.





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.