Berkeley DB: how does it compare to MongoDB?
Recently, I've been digging into various types of DBs. I need to store & query “relational, hie开发者_开发问答rarchical, graph, document” hybrid data. I'm looking for the best DB solution.
I can't find much data about Berkeley DB. Most of the stuff on their website is written by the marketing dept. One of the PDFs makes it sound like it handles relational data, not just key-value pairs. I saw in a blog that it does indexing.
Where can I get some real info on this DB and how it compares to MongoDB? Data types, indexing capabilities, analytics, usage, and "suited for...".
I am a little surprised at how little useful data is coming up in Google considering this DB is 15 years old.
Here's what wikipedia has to say about it: http://en.wikipedia.org/wiki/BerkeleyDB
I think the following sentence may be of particular interest:
"unlike SQLite, Berkeley DB does not support SQL or any other query language, nor does it support table schemas or table columns. SQL support was added by Oracle by including a version of SQLite in Berkeley DB"
I studied Berkeley DB when I was in the university, when the database wasn't property of Oracle but Sleepycat Software (the creators).
It you search on Google with "Sleepycat" and "Berkeley DB" or "Berley DB XML", you could find more information about it.
For example: https://web.stanford.edu/class/cs276a/projects/docs/berkeleydb/reftoc.html
Regards
精彩评论