XML database: Difference between revisions

The educational technology and digital learning wiki
Jump to navigation Jump to search
Line 18: Line 18:
== Software ==
== Software ==


* [http://xml.apache.org/xindice/ Xindice] is a native XML database. Supports XPath queries and XML:DBXUpdate. Java and has a XML-RPC API plugin. It has grown out from dbXML is a native XML database (JDK 1.3, LGPL licence). See also the [http://wiki.apache.org/xindice/ Xindice Wiki] at Apache for more information, e.g. a pointer to [http://wiki.apache.org/xindice/XindicePHPAdmin XIndicePHPAdmin]. There exist other PHP libraries, but most projects seem to be inactive. [This project seems to stall since sept 2004, see dbXML or eXist)
=== Native XML databases ===
* [http://www.dbxml.com/ dbXML], GPL license. dbXML is a Native XML Database (NXD). NXDs are databases that store XML using an internalized format for faster overall processing. dbXML was developed using the Java 2 Standard Edition version 1.4.
(just some popular free ones)
* [http://exist.sourceforge.net/ eXist] XML database and retrieval engine, an alternatives to popular Xindice. [1.0b2 in 6/2005, tested @Tecfa but in in production - faster (for lots of small documents) than Xindice, more other features too that I like: XQuery, XUpdate, XML:DB API, xml-rpc support, [[REST]] support, WebDav, PHP API (needs dowloading from CVS), good Cocoon Integration ]. A side note for qualitative analysis people: seed [http://netapps.muohio.edu/blogs/darcusb/darcusb/archives/2004/08/14/xml-dbs-as-research-tools XML DBs as Research Tools] (by darcusblog)
 
* [http://exist.sourceforge.net/ eXist] XML database and retrieval engine, an alternatives to popular Xindice. Features: XQuery, XUpdate, XML:DB API, xml-rpc support, [[REST]] support, WebDav, PHP API (needs dowloading from CVS), good Cocoon Integration, etc. This is the only one
[[User:Daniel K. Schneider|Daniel K. Schneider]] tested in recent month. Perfectly works.
** A side note for qualitative analysis people: see [http://netapps.muohio.edu/blogs/darcusb/darcusb/archives/2004/08/14/xml-dbs-as-research-tools XML DBs as Research Tools] (by darcusblog)
 
* [http://xml.apache.org/xindice/ Xindice] is a native XML database. Supports XPath queries and XML:DBXUpdate. Java and has a XML-RPC API plugin. It has grown out from dbXML is a native XML database (JDK 1.3, LGPL licence). See also the [http://wiki.apache.org/xindice/ Xindice Wiki] at Apache for more information, e.g. a pointer to  
 
* [http://www.modis.ispras.ru/sedna Sedna] is an open source XML database management system. It is a XML-native system developed from scratch in C/C++ and Scheme. Sedna is a full-featured database system that supports queries, updates, ACID transactions, security, etc. Sedna is designed to be fast, reliable and easy-to-use for production-grade applications. Apache license (free).
 
* [http://www.dbxml.com/ dbXML], GPL license. dbXML is a Native XML Database (NXD). NXDs are databases that store XML using an internalized format for faster overall processing. dbXML was developed using the Java 2 Standard Edition version 1.4. Dead project, became Xindice, but also
 
* [http://www.oracle.com/database/berkeley-db/xml/index.html Oracle Berkeley DB XML]. Open source, embeddable XML database with XQuery-based access to documents stored in containers and indexed based on their content. Oracle Berkeley DB XML is built on top of Oracle Berkeley DB.
 
* [http://monetdb.cwi.nl/projects/monetdb/XQuery/index.html MonetDB database system with XQuery front-end]. Supports XQuery and XUpdate
 
=== Other ===
 
* [http://www.informatik.fh-wiesbaden.de/~turau/DB2XML/index.html DB2XML: A tool for transforming relational databases into XML documents] As Servlet or standalone. Xindice is a fork of this (don't know if db2xml development continues).
* [http://www.informatik.fh-wiesbaden.de/~turau/DB2XML/index.html DB2XML: A tool for transforming relational databases into XML documents] As Servlet or standalone. Xindice is a fork of this (don't know if db2xml development continues).
* [http://www.modis.ispras.ru/sedna Sedna] is an open source XML database management system. It is a XML-native system developed from scratch in C/C++ and Scheme. Sedna is a full-featured database system that supports queries, updates, ACID transactions, security, etc. Sedna is designed to be fast, reliable and easy-to-use for production-grade applications. Apache license (free).
 
[http://wiki.apache.org/xindice/XindicePHPAdmin XIndicePHPAdmin]. There exist other PHP libraries, but most projects seem to be inactive. Note: this project seems to stall since sept 2004, see eXist or Sedna)


== Discussion ==
== Discussion ==
Line 41: Line 58:


* Elliotte Rusty Harold (2007), Native XML Databases, eXQuisite or eXcruciating?, New York PHP Users Group, Presentation slides, [http://www.cafeconleche.org/slides/nyphp/xquery/ HTML pages] - [http://www.cafeconleche.org/slides/nyphp/xquery/Native_XML_Databases.html HTML 1 page]
* Elliotte Rusty Harold (2007), Native XML Databases, eXQuisite or eXcruciating?, New York PHP Users Group, Presentation slides, [http://www.cafeconleche.org/slides/nyphp/xquery/ HTML pages] - [http://www.cafeconleche.org/slides/nyphp/xquery/Native_XML_Databases.html HTML 1 page]
* [http://monetdb.cwi.nl/XQuery/Benchmark/XMark/ XQuery performance on the XMark benchmark], Several DBs compared by MonetDB


[[Category: XML]]
[[Category: XML]]
[[Category: Technologies]]
[[Category: Technologies]]
[[Category:databases]]
[[Category:databases]]

Revision as of 13:33, 24 November 2007

Definition

In this article, we are primairly interested in Native XML Databases, “Databases that store XML in "native" form, generally as some variant of the DOM mapped to an underlying data store. This includes the category formerly known as persistent DOM (PDOM) implementations.For data- and document-centric applications.”(R. Bourret, retrieved 17:59, 3 November 2006 (MET))

When do we need an XML database

Ronald Bourret (2006) summarizes the major different XML and databases scenarios:

To store and retrieve the data in data-centric documents, what kind of software you need will depend on how well structured your data is. For highly structured data, such as the white pages in a telephone book, you will need an XML-enabled database that is tuned for data storage, such as a relational or object-oriented database, and some sort of data transfer software. This may be built in to the database (in which case the database is said to be XML-enabled) or might be third-party software, such as middleware or an XML server. If your data is semi-structured, such as the yellow pages in a telephone book or health data, you have two choices. You can try to fit your data into a well-structured database, such as a relational database, or you can store it in a native XML database, which is designed to handle semi-structured data.

(R. Bourret, retrieved 17:59, 3 November 2006 (MET))

Standards

Software

Native XML databases

(just some popular free ones)

  • eXist XML database and retrieval engine, an alternatives to popular Xindice. Features: XQuery, XUpdate, XML:DB API, xml-rpc support, REST support, WebDav, PHP API (needs dowloading from CVS), good Cocoon Integration, etc. This is the only one

Daniel K. Schneider tested in recent month. Perfectly works.

  • Xindice is a native XML database. Supports XPath queries and XML:DBXUpdate. Java and has a XML-RPC API plugin. It has grown out from dbXML is a native XML database (JDK 1.3, LGPL licence). See also the Xindice Wiki at Apache for more information, e.g. a pointer to
  • Sedna is an open source XML database management system. It is a XML-native system developed from scratch in C/C++ and Scheme. Sedna is a full-featured database system that supports queries, updates, ACID transactions, security, etc. Sedna is designed to be fast, reliable and easy-to-use for production-grade applications. Apache license (free).
  • dbXML, GPL license. dbXML is a Native XML Database (NXD). NXDs are databases that store XML using an internalized format for faster overall processing. dbXML was developed using the Java 2 Standard Edition version 1.4. Dead project, became Xindice, but also
  • Oracle Berkeley DB XML. Open source, embeddable XML database with XQuery-based access to documents stored in containers and indexed based on their content. Oracle Berkeley DB XML is built on top of Oracle Berkeley DB.

Other

XIndicePHPAdmin. There exist other PHP libraries, but most projects seem to be inactive. Note: this project seems to stall since sept 2004, see eXist or Sedna)

Discussion

DSchneider believes that native XML databases like eXist "will take off" in our field as soon as there are sufficient PHP APIs. For example eXist is both a database server and a portal written. They are writtin in Java which makes this technology not very accessible to the "bricoleur" world of education....

The advantage of an XML-database is that you can just "stick in" XML contents and then retrieve them with XQuery expressions. Adding new information structures may require writing interfaces to XQuery, but this kind of flexibility comes at a much lower price. Most of these database now support standardized XQuery Update. Lack of an updating standard was a problem that is now almost solved - 21:26, 1 November 2007 (MET)

See some discussion in the DITA article.

Links

  • (more needed here)
  • Yuli Vasiliev (2007), PHP Oracle Web Development: Data processing, Security, Caching, XML, Web Services, and Ajax (Paperback). ISBN-10: 1847193633. Book excepts are available at webreference.com ("XML enabled applications").
  • Elliotte Rusty Harold (2007), Native XML Databases, eXQuisite or eXcruciating?, New York PHP Users Group, Presentation slides, HTML pages - HTML 1 page