Opentopia Directory Encyclopedia Tools

Berkeley DB

Encyclopedia : B : BE : BER : Berkeley DB



 

Berkeley DB (DB) is a high-performance, embedded database library with bindings in C, C++, Java, Perl, Python, Tcl and many other programming languages. DB stores arbitrary key/data pairs, and supports multiple data items for a single key. DB can support thousands of simultaneous threads of control manipulating databases as large as 256 terabytes, on a wide variety of systems including most UNIX-like and Windows systems as well as real-time operating systems.

Berkeley DB is developed by Sleepycat Software (acquired by Oracle Corporation in February 2006). It is available with source code under a free software license. Developers who want to redistribute DB with proprietary applications must license it from Sleepycat.

Berkeley DB includes compatibility interfaces for some historic UNIX database libraries: dbm, ndbm and hsearch.

Architecture

Berkeley DB is notable for having a simple architecture compared with other database systems like Microsoft SQL Server and Oracle. For example, it does not provide support for network access — programs access the database using in-process API calls. It does not support SQL or any other query language, nor does it support table schema or table columns. A program accessing the database is free to decide how the data is to be stored in a record; DB puts no constraints on the record's data. The record and its key can both be up to four gigabytes long.

Despite having a simple architecture, Berkeley DB supports many advanced database features such as ACID transactions, fine-grained locking, an XA interface, hot backups and replication.

Programs that use Berkeley DB

Berkeley DB is the underlying storage system of several LDAP servers, database system, and many other commercial and Open Source applications. Below is a list of notable programs that use Berkeley DB for data storage.

Licensing

Versions 2.0 and higher of Berkeley DB are available under a dual license (see http://www.sleepycat.com/download/licensinginfo.shtml). Versions <2.0 are available under the BSD license, which means free use commercially.

External links

 


From Wikipedia, the Free Encyclopedia. Original article here. Support Wikipedia by contributing or donating.
All text is available under the terms of the GNU Free Documentation License See Wikipedia Copyrights for details.


Search Titles
0123456789
ABCDEFGHIJ
KLMNOPQRST
UVWXYZ?

E-mail this article to:

Personal Message: