Native XML: Advanced Database Management System
Native XML: Advanced Database Management System
5/20/17
What is a native XML database?
Native XML database architectures
When should I use a native XML database?
Native XML database features
Native XML database 3
5/20/17
A database that stores XML documents as XML
Defines a (logical) model for an XML document
Fundamental unit of (logical) storage is a document
Can have any physical storage
Physical storage 4
5/20/17
Can have any physical storage
For example, can be built on a relational, hierarchical, or object-
oriented database...
... or use a proprietary storage format such as indexed,
compressed files
5
5/20/17
Native XML Database
Architectures
Text-based storage 6
5/20/17
<Address>
<Street>123 Main St.</Street>
<City>Chicago</City>
<State>IL</State>
<PostCode>60609</PostCode>
<Country>USA</Country>
</Address>
<Address>
<Address>
<Street>123 Main St.</Street>
<Address>
<Street>123 Main St.</Street>
<City>Chicago</City>
<Street>123 Main St.</Street>
<City>Chicago</City>
<State>IL</State>
<City>Chicago</City>
<State>IL</State>
<PostCode>60609</PostCode>
<State>IL</State>
<PostCode>60609</PostCode>
<Country>USA</Country>
<PostCode>60609</PostCode>
<Country>USA</Country>
</Address>
<Country>USA</Country>
</Address>
</Address>
Text-based storage 7
5/20/17
Stores documents as text
Can use file system, BLOB, proprietary storage, etc.
XML-aware text engine in RDBMS is a native XML database
Uses indexes heavily
Model-based storage 8
5/20/17
Stores documents according to a specific model
For example, maps DOM to relational database
Underlying storage can be relational, object-oriented,
hierarchical, or proprietary
Model-based storage 9
5/20/17
<Address>
<Street>123 Main St.</Street>
<City>Chicago</City>
<State>IL</State>
<PostCode>60609</PostCode>
<Country>USA</Country>
</Address>
Element
Document Collections
Contain related documents
Indexes
5/20/17
Ronald Bourrets Papers Page
http://www.rpbourret.com/xml/index.htm
XML:DB.orgs Resources Page
http://www.xmldb.org/resources.html
XML:DB Mailing List
http://www.xmldb.org/projects.html