Library Version 12.1.6.2

Programming model
Prev | Chapter 9. Berkeley DB Architecture | Next

## Programming model

Berkeley DB is a database library, in which the library is linked into the address space of the application using it. One or more applications link the Berkeley DB library directly into their address spaces. There may be many threads of control in this model because Berkeley DB supports locking for both multiple processes and for multiple threads within a process. This model provides significantly faster access to the database functionality, but implies trust among all threads of control sharing the database environment because they will have the ability to read, write and potentially corrupt each other's data.

Prev | Up | Next
Chapter 9. Berkeley DB Architecture | Home | Programmatic APIs