| 1 | <?xml version="1.0" encoding="UTF-8" standalone="no"?> |
| 2 | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
| 3 | <html xmlns="http://www.w3.org/1999/xhtml"> |
| 4 | <head> |
| 5 | <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> |
| 6 | <title>Programming model</title> |
| 7 | <link rel="stylesheet" href="gettingStarted.css" type="text/css" /> |
| 8 | <meta name="generator" content="DocBook XSL Stylesheets V1.73.2" /> |
| 9 | <link rel="start" href="index.html" title="Berkeley DB Programmer's Reference Guide" /> |
| 10 | <link rel="up" href="arch.html" title="Chapter 8. Berkeley DB Architecture" /> |
| 11 | <link rel="prev" href="arch.html" title="Chapter 8. Berkeley DB Architecture" /> |
| 12 | <link rel="next" href="arch_apis.html" title="Programmatic APIs" /> |
| 13 | </head> |
| 14 | <body> |
| 15 | <div xmlns="" class="navheader"> |
| 16 | <div class="libver"> |
| 17 | <p>Library Version 11.2.5.3</p> |
| 18 | </div> |
| 19 | <table width="100%" summary="Navigation header"> |
| 20 | <tr> |
| 21 | <th colspan="3" align="center">Programming model</th> |
| 22 | </tr> |
| 23 | <tr> |
| 24 | <td width="20%" align="left"><a accesskey="p" href="arch.html">Prev</a> </td> |
| 25 | <th width="60%" align="center">Chapter 8. |
| 26 | Berkeley DB Architecture |
| 27 | </th> |
| 28 | <td width="20%" align="right"> <a accesskey="n" href="arch_apis.html">Next</a></td> |
| 29 | </tr> |
| 30 | </table> |
| 31 | <hr /> |
| 32 | </div> |
| 33 | <div class="sect1" lang="en" xml:lang="en"> |
| 34 | <div class="titlepage"> |
| 35 | <div> |
| 36 | <div> |
| 37 | <h2 class="title" style="clear: both"><a id="arch_progmodel"></a>Programming model</h2> |
| 38 | </div> |
| 39 | </div> |
| 40 | </div> |
| 41 | <p> |
| 42 | Berkeley DB is a database library, in which the library is linked into the address space of the |
| 43 | application using it. One or more applications link the Berkeley DB library |
| 44 | directly into their address spaces. There may be many threads of control in this model because |
| 45 | Berkeley DB supports locking for both multiple processes and for multiple threads within a |
| 46 | process. This model provides significantly faster access to the database functionality, but |
| 47 | implies trust among all threads of control sharing the database environment because they will |
| 48 | have the ability to read, write and potentially corrupt each other's data. |
| 49 | </p> |
| 50 | </div> |
| 51 | <div class="navfooter"> |
| 52 | <hr /> |
| 53 | <table width="100%" summary="Navigation footer"> |
| 54 | <tr> |
| 55 | <td width="40%" align="left"><a accesskey="p" href="arch.html">Prev</a> </td> |
| 56 | <td width="20%" align="center"> |
| 57 | <a accesskey="u" href="arch.html">Up</a> |
| 58 | </td> |
| 59 | <td width="40%" align="right"> <a accesskey="n" href="arch_apis.html">Next</a></td> |
| 60 | </tr> |
| 61 | <tr> |
| 62 | <td width="40%" align="left" valign="top">Chapter 8. |
| 63 | Berkeley DB Architecture |
| 64 | </td> |
| 65 | <td width="20%" align="center"> |
| 66 | <a accesskey="h" href="index.html">Home</a> |
| 67 | </td> |
| 68 | <td width="40%" align="right" valign="top"> Programmatic APIs</td> |
| 69 | </tr> |
| 70 | </table> |
| 71 | </div> |
| 72 | </body> |
| 73 | </html> |