1<!--$Id: environ.so,v 10.21 2001/04/16 17:11:40 bostic Exp $-->
2<!--Copyright (c) 1997,2008 Oracle.  All rights reserved.-->
3<!--See the file LICENSE for redistribution information.-->
4<html>
5<head>
6<title>Berkeley DB Reference Guide: Environment variables</title>
7<meta name="description" content="Berkeley DB: An embedded database programmatic toolkit.">
8<meta name="keywords" content="embedded,database,programmatic,toolkit,btree,hash,hashing,transaction,transactions,locking,logging,access method,access methods,Java,C,C++">
9</head>
10<body bgcolor=white>
11<a name="2"><!--meow--></a>
12<table width="100%"><tr valign=top>
13<td><b><dl><dt>Berkeley DB Reference Guide:<dd>Programmer Notes</dl></b></td>
14<td align=right><a href="/program/errorret.html"><img src="/images/prev.gif" alt="Prev"></a><a href="/toc.html"><img src="/images/ref.gif" alt="Ref"></a><a href="/program/mt.html"><img src="/images/next.gif" alt="Next"></a>
15</td></tr></table>
16<p align=center><b>Environment variables</b></p>
17<p>The Berkeley DB library uses the following environment variables:</p>
18<br>
19<b>DB_HOME</b><ul compact><li>If the environment variable DB_HOME is set, it is used as part of
20<a href="/ref/env/naming.html">File Naming</a>.
21Note: For the DB_HOME variable to take effect, either the
22<a href="/api_c/env_open.html#DB_USE_ENVIRON">DB_USE_ENVIRON</a> or <a href="/api_c/env_open.html#DB_USE_ENVIRON_ROOT">DB_USE_ENVIRON_ROOT</a> flags must be
23specified to <a href="/api_c/env_open.html">DB_ENV-&gt;open</a>.</ul>
24<b>TMPDIR, TEMP, TMP, TempFolder</b><ul compact><li>The TMPDIR, TEMP, TMP, and TempFolder environment variables are all
25checked as locations in which to create temporary files.  See
26<a href="/api_c/env_set_tmp_dir.html">DB_ENV-&gt;set_tmp_dir</a> for more information.</ul>
27<br>
28<table width="100%"><tr><td><br></td><td align=right><a href="/program/errorret.html"><img src="/images/prev.gif" alt="Prev"></a><a href="/toc.html"><img src="/images/ref.gif" alt="Ref"></a><a href="/program/mt.html"><img src="/images/next.gif" alt="Next"></a>
29</td></tr></table>
30<p><font size=1>Copyright (c) 1996,2008 Oracle.  All rights reserved.</font>
31</body>
32</html>
33