Feeds

An embedded XML Database: Oracle Berkeley DB XML

There is more to life than RDBMS

Choosing a cloud hosting partner with confidence

Tutorial Storing an XML document in a relational database has its limitations. XML’s hierarchical structures do not map well to relational database structures. That’s where an embeddable (non-relational) XML database has advantages over a relational database.

Oracle database (since Oracle 9i database R2) provides the Oracle XML DB feature to store and query XML documents in an XMLType data type column, but you still need a DBA to manage the Oracle database.

Oracle Berkeley DB XML, however, is an embeddable XML database specifically designed for storing and retrieving XML documents. Berkeley DB (BDB) was developed at U.C Berkeley and acquired by Oracle in February 2006; Oracle Berkeley DB XML provides efficient querying of XML documents using Xquery and does not require much administration. XQuery is an SQL-like query language for XML and is based on XPath. BDB XML supports XQuery 1.0 and XPath 2.0 specifications. Oracle Berkeley DB XML is built on top of the embeddable Oracle Berkeley DB database and inherits all the features of the database.

Installing Oracle Berkeley DB XML

We need to download Oracle Berkeley DB XML 2.3.10 Windows Installer. To install Oracle BDB XML, double-click on the dbxml-2.3.10.msi file. The Installer gets started. Click on Next.

Berkeley DB XML Windows Installer.

Accept the Open Source License and click on Next. Select the default installation folder, C:\Program Files\Oracle\Berkeley DB XML 2.3.10, and click on Next. Select the default Berkeley DB XML features and click on Next.

Berkeley DB XML Features.

Berkeley DB XML requires some environment variables (CLASSPATH and PATH) to be modified. Select the “Set the values in the environment variables” checkbox and click on Next. Click on the Install button to install Berkeley DB XML. Click on the Finish button. Berkeley DB XML may be accessed from either the command line shell or with a Java API.

Secure remote control for conventional and virtual desktops

More from The Register

next story
ONE MILLION people already running Windows 10
A third of them are doing it in VMs, but early feedback focuses on frippery
Sign off my IT project or I’ll PHONE your MUM
Honestly, it’s a piece of piss
Netscape Navigator - the browser that started it all - turns 20
It was 20 years ago today, Marc Andreeesen taught the band to play
Torvalds CONFESSES: 'I'm pretty good at alienating devs'
Admits to 'a metric ****load' of mistakes during work with Linux collaborators
Sway: Microsoft's new Office app doesn't have an Undo function
Content aggregation, meet the workplace ... oh
Do Moan! MONSTER 6-day EMAIL OUTAGE hits Domain Monster
Customers freaked out by frightful service
Ploppr: The #VultureTRENDING App of the Now
This organic crowd sourced viro- social fertiliser just got REAL
Return of the Jedi – Apache reclaims web server crown
.london, .hamburg and .公司 - that's .com in Chinese - storm the web server charts
NetWare sales revive in China thanks to that man Snowden
If it ain't Microsoft, it's in fashion behind the Great Firewall
prev story

Whitepapers

Forging a new future with identity relationship management
Learn about ForgeRock's next generation IRM platform and how it is designed to empower CEOS's and enterprises to engage with consumers.
Win a year’s supply of chocolate
There is no techie angle to this competition so we're not going to pretend there is, but everyone loves chocolate so who cares.
Why cloud backup?
Combining the latest advancements in disk-based backup with secure, integrated, cloud technologies offer organizations fast and assured recovery of their critical enterprise data.
High Performance for All
While HPC is not new, it has traditionally been seen as a specialist area – is it now geared up to meet more mainstream requirements?
Saudi Petroleum chooses Tegile storage solution
A storage solution that addresses company growth and performance for business-critical applications of caseware archive and search along with other key operational systems.