berkeley_db_svc.html   [plain text]


<!--$Id: berkeley_db_svc.so,v 10.17 2006/10/05 01:06:08 bostic Exp $-->
<!--Copyright (c) 1997,2008 Oracle.  All rights reserved.-->
<!--See the file LICENSE for redistribution information.-->
<html>
<head>
<title>Berkeley DB: berkeley_db_svc</title>
<meta name="description" content="Berkeley DB: An embedded database programmatic toolkit.">
<meta name="keywords" content="embedded,database,programmatic,toolkit,btree,hash,hashing,transaction,transactions,locking,logging,access method,access methods,Java,C,C++">
</head>
<body bgcolor=white>
<table width="100%"><tr valign=top>
<td>
<b>berkeley_db_svc</b>
</td>
</tr></table>
<hr size=1 noshade>
<tt>
<b><pre>berkeley_db_svc [<b>-Vv</b>] [<b>-h home</b>]
    [<b>-I seconds</b>] [<b>-L file</b>] [<b>-t seconds</b>] [<b>-T seconds</b>]</pre></b>
<b>Description</b>
<a name="2"><!--meow--></a>
<p>The berkeley_db_svc utility is the Berkeley DB RPC server.</p>
<p>The options are as follows:</p>
<br>
<b>-h</b><ul compact><li>Add the specified home directory to the list of allowed home directories
that can be specified by the client.  The home directory should be an
absolute pathname.  The last component of each home directory specified
must be unique because that is how clients specify which database environment
they want to join.
<p>Recovery will be run on each specified environment before the server
begins accepting requests from clients.  For this reason, only one copy
of the server program should ever be run at any time because recovery
must always be single-threaded.</p></ul>
<b>-I</b><ul compact><li>Set the default idle timeout for client environments to the specified
number of seconds.  The default timeout is 24 hours.</ul>
<b>-L</b><ul compact><li>Log the execution of the berkeley_db_svc utility to the specified file in the
following format, where <i>###</i> is the process ID, and the date
is the time the utility was started.
<blockquote><pre>berkeley_db_svc: ### Wed Jun 15 01:23:45 EDT 1995</pre></blockquote>
This file will be removed if the berkeley_db_svc utility exits gracefully.</ul>
<b>-t</b><ul compact><li>Set the default timeout for client resources (idle transactions and
cursors) to the specified number of seconds.  When the timeout expires,
if the resource is a transaction, it is aborted; if the resource is a
cursor, it is closed.  The default timeout is 5 minutes.</ul>
<b>-T</b><ul compact><li>Set the maximum timeout allowed for client resources.  The default
timeout is 20 minutes.  If a client application requests a server
timeout greater than the maximum timeout set for this server, the
client's timeout will be capped at the maximum timeout value.</ul>
<b>-V</b><ul compact><li>Write the library version number to the standard output, and exit.</ul>
<b>-v</b><ul compact><li>Run in verbose mode.</ul>
<br>
<p>The berkeley_db_svc utility exits 0 on success, and &gt;0 if an error occurs.</p>
<br><b>Environment Variables</b>
<br>
<b>DB_HOME</b><ul compact><li>If the <b>-h</b> option is not specified and the environment variable
DB_HOME is set, it is used as the path of the database home, as described
in <a href="../api_c/env_open.html">DB_ENV-&gt;open</a>.</ul>
<br>
</tt>
<p><font size=1>Copyright (c) 1996,2008 Oracle.  All rights reserved.</font>
</body>
</html>