Imported Upstream version 5.3.21
[platform/upstream/libdb.git] / docs / gsg / CXX / databaseLimits.html
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>Database Limits and Portability</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="Getting Started with Berkeley DB" />
10     <link rel="up" href="introduction.html" title="Chapter 1. Introduction to Berkeley DB" />
11     <link rel="prev" href="accessmethods.html" title="Access Methods" />
12     <link rel="next" href="environments.html" title="Environments" />
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">Database Limits and Portability</th>
22         </tr>
23         <tr>
24           <td width="20%" align="left"><a accesskey="p" href="accessmethods.html">Prev</a> </td>
25           <th width="60%" align="center">Chapter 1. Introduction to Berkeley DB </th>
26           <td width="20%" align="right"> <a accesskey="n" href="environments.html">Next</a></td>
27         </tr>
28       </table>
29       <hr />
30     </div>
31     <div class="sect1" lang="en" xml:lang="en">
32       <div class="titlepage">
33         <div>
34           <div>
35             <h2 class="title" style="clear: both"><a id="databaseLimits"></a>Database Limits and Portability</h2>
36           </div>
37         </div>
38       </div>
39       <p>
40         Berkeley DB provides support for managing everything from very small
41         databases that fit entirely in memory, to extremely large databases
42         holding millions of records and terabytes of data. DB databases can
43         store up to 256 terabytes of data. Individual record keys or record
44         data can store up to 4 gigabytes of data.
45     </p>
46       <p>
47         DB's databases store data in a binary format that is portable across
48         platforms, even of differing endian-ness. Be aware, however, that
49         portability aside, some performance issues can crop up in the event that
50         you are using little endian architecture. See <a class="xref" href="btree.html#comparators" title="Setting Comparison Functions">Setting Comparison Functions</a> 
51         for more information.
52     </p>
53       <p>
54         Also, DB's databases and data structures are designed for concurrent
55         access — they are thread-safe, and they share well across multiple
56         processes. That said, in order to allow multiple processes to share
57         databases and the cache, DB makes use of mechanisms that do not work
58         well on network-shared drives (NFS or Windows networks shares, for
59         example). For this reason, you cannot place your DB databases and
60         environments on network-mounted drives.
61     </p>
62     </div>
63     <div class="navfooter">
64       <hr />
65       <table width="100%" summary="Navigation footer">
66         <tr>
67           <td width="40%" align="left"><a accesskey="p" href="accessmethods.html">Prev</a> </td>
68           <td width="20%" align="center">
69             <a accesskey="u" href="introduction.html">Up</a>
70           </td>
71           <td width="40%" align="right"> <a accesskey="n" href="environments.html">Next</a></td>
72         </tr>
73         <tr>
74           <td width="40%" align="left" valign="top">Access Methods </td>
75           <td width="20%" align="center">
76             <a accesskey="h" href="index.html">Home</a>
77           </td>
78           <td width="40%" align="right" valign="top"> Environments</td>
79         </tr>
80       </table>
81     </div>
82   </body>
83 </html>