~ubuntu-branches/ubuntu/maverick/evolution-data-server/maverick-proposed

« back to all changes in this revision

Viewing changes to libdb/docs/ref/am_misc/dbsizes.html

  • Committer: Bazaar Package Importer
  • Author(s): Didier Roche
  • Date: 2010-05-17 17:02:06 UTC
  • mfrom: (1.1.79 upstream) (1.6.12 experimental)
  • Revision ID: james.westby@ubuntu.com-20100517170206-4ufr52vwrhh26yh0
Tags: 2.30.1-1ubuntu1
* Merge from debian experimental. Remaining change:
  (LP: #42199, #229669, #173703, #360344, #508494)
  + debian/control:
    - add Vcs-Bzr tag
    - don't use libgnome
    - Use Breaks instead of Conflicts against evolution 2.25 and earlier.
  + debian/evolution-data-server.install,
    debian/patches/45_libcamel_providers_version.patch:
    - use the upstream versioning, not a Debian-specific one 
  + debian/libedata-book1.2-dev.install, debian/libebackend-1.2-dev.install,
    debian/libcamel1.2-dev.install, debian/libedataserverui1.2-dev.install:
    - install html documentation
  + debian/rules:
    - don't build documentation it's shipped with the tarball

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
<!--$Id$-->
2
 
<!--Copyright 1997-2002 by Sleepycat Software, Inc.-->
3
 
<!--All rights reserved.-->
4
 
<!--See the file LICENSE for redistribution information.-->
5
 
<html>
6
 
<head>
7
 
<title>Berkeley DB Reference Guide: Database limits</title>
8
 
<meta name="description" content="Berkeley DB: An embedded database programmatic toolkit.">
9
 
<meta name="keywords" content="embedded,database,programmatic,toolkit,b+tree,btree,hash,hashing,transaction,transactions,locking,logging,access method,access methods,java,C,C++">
10
 
</head>
11
 
<body bgcolor=white>
12
 
<a name="2"><!--meow--></a>
13
 
<table width="100%"><tr valign=top>
14
 
<td><h3><dl><dt>Berkeley DB Reference Guide:<dd>Access Methods</dl></h3></td>
15
 
<td align=right><a href="../../ref/am_misc/stability.html"><img src="../../images/prev.gif" alt="Prev"></a><a href="../../reftoc.html"><img src="../../images/ref.gif" alt="Ref"></a><a href="../../ref/am_misc/diskspace.html"><img src="../../images/next.gif" alt="Next"></a>
16
 
</td></tr></table>
17
 
<p>
18
 
<h1 align=center>Database limits</h1>
19
 
<p>The largest database file that Berkeley DB can handle depends on the page size
20
 
selected by the application.  Berkeley DB stores database file page numbers as
21
 
unsigned 32-bit numbers and database file page sizes as unsigned 16-bit
22
 
numbers.  Using the maximum database page size of 65536, this results in
23
 
a maximum database file size of 2<sup>48</sup> (256 terabytes).  The
24
 
minimum database page size is 512 bytes, which results in a minimum
25
 
maximum database size of 2<sup>41</sup> (2 terabytes).
26
 
<p>The largest database file Berkeley DB can support is potentially further limited
27
 
if the host system does not have filesystem support for files larger than
28
 
2<sup>32</sup>, including the ability to seek to absolute offsets within
29
 
those files.
30
 
<p>The largest key or data item that Berkeley DB can support is largely limited
31
 
by available memory.  Specifically, while key and data byte strings may
32
 
be of essentially unlimited length, any one of them must fit into
33
 
available memory so that it can be returned to the application.  As some
34
 
of the Berkeley DB interfaces return both key and data items to the application,
35
 
those interfaces will require that any key/data pair fit simultaneously
36
 
into memory.  Further, as the access methods may need to compare key and
37
 
data items with other key and data items, it may be a requirement that
38
 
any two key or two data items fit into available memory.  Finally, when
39
 
writing applications supporting transactions, it may be necessary to have
40
 
an additional copy of any data item in memory for logging purposes.
41
 
<p>The maximum Btree depth is 255.
42
 
<table width="100%"><tr><td><br></td><td align=right><a href="../../ref/am_misc/stability.html"><img src="../../images/prev.gif" alt="Prev"></a><a href="../../reftoc.html"><img src="../../images/ref.gif" alt="Ref"></a><a href="../../ref/am_misc/diskspace.html"><img src="../../images/next.gif" alt="Next"></a>
43
 
</td></tr></table>
44
 
<p><font size=1><a href="http://www.sleepycat.com">Copyright Sleepycat Software</a></font>
45
 
</body>
46
 
</html>