Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 865833
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 15, 20262026-05-15T09:42:07+00:00 2026-05-15T09:42:07+00:00

Apparently, BDB-XML has been around since at least 2003 but I only recently stumbled

  • 0

Apparently, BDB-XML has been around since at least 2003 but I only recently stumbled upon it on Oracle’s website: Berkeley DB XML. Here’s the blurb:

Oracle Berkeley DB XML is an 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 and inherits its rich features and attributes. Like Oracle Berkeley DB, it runs in process with the application with no need for human administration. Oracle Berkeley DB XML adds a document parser, XML indexer and XQuery engine on top of Oracle Berkeley DB to enable the fastest, most efficient retrieval of data.

To me it seems that the underlying ideas are technically sound and probably more mature than the newer document-based DBs like CouchDB or MongoDB. It has support for C, C++, Ruby and Perl, as far as I can determine. It even has HA-capabilities like automatic replication using a master/slave model with automatic election.

However, I can’t seem to find any projects that use it. Is there something fundamentally wrong with it? Is the license too onerous? Is it too complicated?

Why is it not being used?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-15T09:42:07+00:00Added an answer on May 15, 2026 at 9:42 am

    I used to be the product manager for Berkeley DB products at Oracle. I’ve been around working on these BDB databases for over eight years now, I wrote the "blurb" you copied into your question.

    Commercially we’re used in (non-exhaustive list, just off the top of my head):

    • Autodesk uses BDB XML in Mapquest
    • Farelogix uses BDB XML for a reservation system
    • Starwood Hotels uses BDB XML to manage information about properties they manage
    • Juniper Networks uses BDB XML in the NetScreen security manager
    • many I can’t name due to contract restrictions…
    • and so on…

    Berkeley DB XML has been relatively ignored in the open source world, I have no idea why. There are a few projects here and there have used it, nothing all that public that I know of. I did recently see a nifty blog post about how to use BDB XML from within Emacs. Once setup you can run XQuery statements over XML interactively within the text editor. That said, it’s very viable for commercial and open source use.

    XQilla is a project created by the BDB XML engineers from a few other XML projects we knitted together over the years. We open sourced (Apache 2.0 license) XQilla because it’s a great XQuery and XML parsing library. We’re a database company, so the piece that takes XML after it’s been parsed and organizes it into our btree databases as well as the work on query optimization, indexing, statistics, and a whole ton of other code is what sits under XQilla but above BDB’s btree gluing the two together into BDB XML. Feel free to use it if it solves your problem, there’s no database there at all.

    Product built from the ground up for XML generally have a few transactional data structures at their core which manage information on disk. There’s not much optimization that can be done that we’ve not already done in Berkeley DB and used in Berkeley DB XML. To say that a database built from the ground up to manage XML is going to be significantly better than BDB XML is saying that there’s something missing from Berkeley DB, I don’t think there a defensible argument here but I’m willing to learn if someone has information on a concurrent, transactional data structure critical for efficient XML storage that BDB doesn’t already implement.

    eXist is a Java XML database, we have a Java JNI API if you’d like and we generally beat the pants off eXist in performance, stability and scalability tests.

    Sedna is a good XML database, it’s Apache 2.0 so it’s not a dual-license, it’s just FLOSS software. I’d suggest you benchmark it against BDB XML, you might be surprised.

    MarkLogic is a great XML/XQuery database server, they’ve built a very solid product. It’s not a software library, it’s a server. There are significant differences between BDB XML and MarkLogic, but they are both commercially available – only BDB XML is open source.

    Someone mentioned Elliot Rusty Harold’s blog on the state of XML databases, be careful it’s circa 2007 – hey, isn’t that before any NoSQL database existed? 😉

    Take a look at Kimbro Staken’s old but still relevant review (turned into a whitepaper by Oracle), it’s good but also dated. "Use a Native XML Database for Your XML Data: Deciding when an XQuery-based native XML database is better than an SQL database"

    The real authority over the years has been Ron Bourrett. He has a lot to say on the subject.

    MongoDB and CouchDB are in a different market segment. They do distributed, partitioned, eventually consistent BASE-style (non ACID) data management and some think they do that very well. I think they are young, the jury is still out. They are off to a good start and I hope that they continue to grow, data storage is a hard thing to get right and one size doesn’t fit everyone’s problem/needs. BDB XML’s distributed story is built on single-master, multi-replica always consistent (if you’d like) log-based replication and PAXOS-based election algorithms when the master fails. We don’t partition data, every node contains the same data (the entire database). We don’t allow writes everywhere, only at the master. We support more than TCP/IP for replication (heck, you could use a hardware bus custom to your server if you want). We built our HA product to solve read-scalability, system availability and fault-tolerance. NoSQL’s distributed systems are designed for write anywhere partitioned data management. Choice is good, right? 🙂

    XML as a data schema and XQuery as a language to access and manage XML content has been and continues to be a very successful solution. Maybe not so much in the more public websites using NoSQL solutions these days (which is fine, and interesting to me) but more so in document management, finance, genomics, bioinformatic, data exchange, messaging, and much more. XML may be a niche database when compared to SQL/relational products but it is certainly much more successful than object databases or any new kid on the block NoSQL database solution. Every storage solution has its place, XML will continue to do useful things far into the future.

    At the end of the day, I hope you pick a database suits your needs.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Apparently in version 2 of JAXB - the validator class has been deprecated -
Apparently XmlNode.ChildNodes-list (in C# .Net) contains not only real child nodes, but also special
Apparently xrange is faster but I have no idea why it's faster (and no
Apparently you can easily obtain a client IP address in WCF 3.5 but not
Apparently many people have run into this problem, but I have yet to be
Apparently Python only supports 2 minor versions (like 2.X), so that would mean Python
Apparently the font Arvo is supposed to work fine in IE, but I can't
Apparently libigraph and python-igraph are the only packages on earth that can't be installed
Apparently I'm missing something obvious here, but would appreciate a quick example. I've got
Apparently there is a method that takes a char and returns a char: http://download.oracle.com/javase/6/docs/api/java/lang/Character.html#toLowerCase(char

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.