Feeds

An embedded XML Database: Oracle Berkeley DB XML

There is more to life than RDBMS

Internet Security Threat Report 2014

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.

Security for virtualized datacentres

More from The Register

next story
Microsoft WINDOWS 10: Seven ATE Nine. Or Eight did really
Windows NEIN skipped, tech preview due out on Wednesday
Business is back, baby! Hasta la VISTA, Win 8... Oh, yeah, Windows 9
Forget touchscreen millennials, Microsoft goes for mouse crowd
Apple: SO sorry for the iOS 8.0.1 UPDATE BUNGLE HORROR
Apple kills 'upgrade'. Hey, Microsoft. You sure you want to be like these guys?
ARM gives Internet of Things a piece of its mind – the Cortex-M7
32-bit core packs some DSP for VIP IoT CPU LOL
Microsoft on the Threshold of a new name for Windows next week
Rebranded OS reportedly set to be flung open by Redmond
Lotus Notes inventor Ozzie invents app to talk to people on your phone
Imagine that. Startup floats with voice collab app for Win iPhone
'Google is NOT the gatekeeper to the web, as some claim'
Plus: 'Pretty sure iOS 8.0.2 will just turn the iPhone into a fax machine'
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.
Storage capacity and performance optimization at Mizuno USA
Mizuno USA turn to Tegile storage technology to solve both their SAN and backup issues.
The next step in data security
With recent increased privacy concerns and computers becoming more powerful, the chance of hackers being able to crack smaller-sized RSA keys increases.
Security for virtualized datacentres
Legacy security solutions are inefficient due to the architectural differences between physical and virtual environments.
A strategic approach to identity relationship management
ForgeRock commissioned Forrester to evaluate companies’ IAM practices and requirements when it comes to customer-facing scenarios versus employee-facing ones.