~ubuntu-branches/ubuntu/precise/gnat-gps/precise

« back to all changes in this revision

Viewing changes to kernel/src_info/sn/snsrc/db-2.7.7/docs/ref/env/region.html

  • Committer: Package Import Robot
  • Author(s): Ludovic Brenta
  • Date: 2012-01-15 15:42:21 UTC
  • mfrom: (10.1.10 sid)
  • Revision ID: package-import@ubuntu.com-20120115154221-ccysuzvh02pkhuwq
Tags: 5.0-6
Rebuild against libgtkada 2.24.1.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
<! "@(#)region.so       10.5 (Sleepycat) 11/21/98">
2
 
<!Copyright 1997, 1998 by Sleepycat Software, Inc.  All rights reserved.>
3
 
<html>
4
 
<body bgcolor=white>
5
 
<head>
6
 
<title>Berkeley DB Reference Guide: Environment</title>
7
 
<meta name="description" content="Berkeley DB: An embedded database programmatic toolkit.">
8
 
<meta name="keywords" content="embedded,database,programmatic,toolkit,b+tree,btr
9
 
ee,hash,hashing,transaction,transactions,locking,logging,access method,access me
10
 
thods,java,C,C++">
11
 
</head>
12
 
<h3>Berkeley DB Reference Guide: Environment</h3>
13
 
<p>
14
 
<h1 align=center>Shared Memory Regions</h1>
15
 
<p>
16
 
Each of the Berkeley DB subsystems is described by one or more shared memory
17
 
regions.  These regions live in the environment home directory, and
18
 
contain all of the shared information, including mutexes, that describes
19
 
the Berkeley DB environment.
20
 
<p>
21
 
The Berkeley DB library uses the POSIX mmap (or other similar) interface to map
22
 
the shared memory regions.  Most remote file systems (e.g., the Network
23
 
File System (NFS) and the Andrew File System (AFS)), do not support
24
 
mapping files into process memory.  For this reason, we strongly recommend
25
 
that the database home directory reside in a local filesystem.
26
 
<p>
27
 
For remote file systems that do allow system files to be mapped into
28
 
process memory, it is important to note that home directories accessed
29
 
via remote file systems cannot be used simultaneously from multiple
30
 
clients.  None of the commercial remote file systems available today
31
 
implement a coherent, distributed shared memory paradigm for
32
 
remote-mounted files.  As a result, different machines will see different
33
 
versions of these shared regions and the system behavior is undefined.
34
 
<p>
35
 
Databases, log files and temporary files may be placed on remote
36
 
filesystems, although the application may incur a performance penalty
37
 
for doing so.
38
 
<p>
39
 
<a href="../../ref/env/security.html"><img src="../../images/prev.gif"></a>
40
 
<a href="../../ref/toc.html"><img src="../../images/toc.gif"></a>
41
 
<a href="../../ref/cam/intro.html"><img src="../../images/next.gif"></a>
42
 
</tt>
43
 
</body>
44
 
</html>