
Berkeley DB 12c
Key value databases
XML databases
Database software
NoSQL databases
- Features
- Ease of use
- Ease of management
- Quality of support
- Affordability
- Market presence
Take the quiz to check if Berkeley DB 12c and its alternatives fit your requirements.
Contact the product provider
Small
Medium
Large
- Retail and wholesale
- Transportation and logistics
- Banking and insurance
What is Berkeley DB 12c
Berkeley DB 12c is an embedded key-value database library that applications link into their own process to provide local, transactional data storage. It targets software teams building devices, desktop/server applications, and infrastructure components that need low-latency reads/writes without running a separate database server. The product supports ACID transactions, multiple access methods (including B-tree and hash), and replication options for high availability. It also includes features such as secondary indexes and optional XML storage capabilities, but it is primarily used as an embedded key-value store.
Embedded, low-latency storage
Berkeley DB runs in-process as a library, avoiding network hops and a separate database server. This design fits applications that need predictable local performance and minimal operational footprint. It is commonly used in software components where deploying and managing a standalone database service is not feasible. For many single-host use cases, it reduces infrastructure dependencies compared with server-based NoSQL systems.
ACID transactions and recovery
The engine provides transactional guarantees with write-ahead logging and crash recovery. This supports use cases that require durability and consistent reads/writes under concurrent access. It also offers fine-grained locking and concurrency controls suitable for multi-threaded applications. These capabilities can be important where simpler embedded stores do not provide full transactional behavior.
Flexible access methods and indexing
Berkeley DB supports multiple storage/access methods such as B-tree, hash, and queue, allowing developers to choose structures aligned to access patterns. It supports secondary indexes to enable lookups beyond the primary key. This can reduce the need to maintain custom indexing logic in application code. It also offers replication features that can be used to build higher-availability topologies.
Not a managed database service
Berkeley DB is delivered as an embedded library rather than a hosted or server-managed service. Teams must handle deployment, upgrades, backups, monitoring, and operational controls within their application lifecycle. This can increase engineering effort compared with managed cloud databases or server products with built-in administration tooling. It is less suited to organizations that want a fully managed operational model.
Limited distributed query capabilities
The core model is key-value access with optional indexing, not a distributed query engine. It does not provide the same breadth of query languages, distributed joins, or multi-model querying found in some NoSQL platforms. Building cross-record analytics or complex query patterns typically requires additional application logic or external systems. This can constrain use cases that evolve toward broader data access requirements.
XML features are niche
While Berkeley DB has XML-related capabilities in some editions, XML is not its primary data model and is less central than key-value operations. Organizations seeking a dedicated XML database experience may find the tooling and ecosystem less comprehensive. XML-centric querying and management may require additional components and expertise. As a result, XML use cases are often secondary to embedded key-value storage needs.
Plan & Pricing
| Plan | Price | Key features & notes |
|---|---|---|
| Open Source (AGPL/Apache depending on edition) | Free (no charge) | Oracle states Berkeley DB, Berkeley DB Java Edition and Berkeley DB XML are available under open-source licenses and may be used at no charge subject to the license conditions (e.g., redistribution/source obligations). |
| Commercial (proprietary) license | Contact Oracle / Not published | Oracle offers a commercial/closed-source license that permits distribution of closed-source applications and provides warranties/indemnification; Oracle directs licensing/pricing inquiries to berkeleydb-info_us@oracle.com. |
Notes: Oracle does not publish list prices for Berkeley DB 12c (commercial license) on the official product or licensing pages; customers are instructed to contact Oracle for commercial licensing/pricing details.
Seller details
Oracle Corporation
Austin, Texas, USA
1977
Public
https://www.oracle.com/
https://x.com/oracle
https://www.linkedin.com/company/oracle/