Oracle Berkeley DB Licensing Information

Oracle employs a dual licensing model that offers customers a choice of either our open source license or a commercial license. Our open source license is OSI-certified and permits use of Berkeley DB in open source projects or in applications that are not distributed to third parties. Our commercial license permits closed-source distribution of an application to third parties and provides business assurance.

This model gives customers significant benefits:

Open Source License

  • Huge user community
  • Very high code quality
  • Easier debugging and integration
  • Easy download and trial
  • No escrow issues
  • Freedom from vendor lock-in

Commercial License

  • Application source code stays private
  • Legal assurances, warranties and indemnification
  • Full-time, dedicated development team provides ongoing maintenance and development, documentation, testing
  • Single vendor to hold accountable


Berkeley DB, Berkeley DB Java Edition and Berkeley DB XML are open source products. The complete source code, documentation, and files required to build the library on a large number of operating systems and hardware platforms are available for download from Oracle Technology Network.

The our open source license permits you to use Berkeley DB, Berkeley DB Java Edition or Berkeley DB XML at no charge under the condition that if you use the software in an application you redistribute, the complete source code for your application must be available and freely redistributable under reasonable conditions. If you do not want to release the source code for your application, you may purchase a license from Oracle. For pricing information, or if you have further questions on licensing, please contact us at berkeleydb-info_us@oracle.com.

Licensing Questions and Answers

    • What does "redistribute" mean?
    • Does it matter if I charge money for my software?
    • What must I release as open source?
    • What open source license should I use?