1<!--$Id: utilities.so,v 10.25 2001/03/05 19:15:07 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: Supporting utilities</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>Architecture</dl></b></td>
14<td align=right><a href="../arch/script.html"><img src="../../images/prev.gif" alt="Prev"></a><a href="../toc.html"><img src="../../images/ref.gif" alt="Ref"></a><a href="../env/intro.html"><img src="../../images/next.gif" alt="Next"></a>
15</td></tr></table>
16<p align=center><b>Supporting utilities</b></p>
17<p>The following are the standalone utilities that provide supporting
18functionality for the Berkeley DB environment:</p>
19<br>
20<b><a href="../../utility/berkeley_db_svc.html">berkeley_db_svc</a></b><ul compact><li>The <a href="../../utility/berkeley_db_svc.html">berkeley_db_svc</a> utility is the Berkeley DB RPC server that
21provides standard server functionality for client applications.</ul>
22<b><a href="../../utility/db_archive.html">db_archive</a></b><ul compact><li>The <a href="../../utility/db_archive.html">db_archive</a> utility supports database backup and archival,
23and log file administration.  It facilitates log reclamation and the
24creation of database snapshots.  Generally, some form of log archival
25must be done if a database environment has been configured for logging
26or transactions.</ul>
27<b><a href="../../utility/db_checkpoint.html">db_checkpoint</a></b><ul compact><li>The <a href="../../utility/db_checkpoint.html">db_checkpoint</a> utility runs as a daemon process, monitoring
28the database log and periodically issuing checkpoints.  It facilitates
29log reclamation and the creation of database snapshots.  Generally, some
30form of database checkpointing must be done if a database environment has
31been configured for transactions.</ul>
32<b><a href="../../utility/db_deadlock.html">db_deadlock</a></b><ul compact><li>The <a href="../../utility/db_deadlock.html">db_deadlock</a> utility runs as a daemon process, periodically
33traversing the database lock structures and aborting transactions when it
34detects a deadlock.  Generally, some form of deadlock detection must be
35done if a database environment has been configured for locking.</ul>
36<b><a href="../../utility/db_dump.html">db_dump</a></b><ul compact><li>The <a href="../../utility/db_dump.html">db_dump</a> utility writes a copy of the database to a flat-text
37file in a portable format.</ul>
38<b><a href="../../utility/db_load.html">db_load</a></b><ul compact><li>The <a href="../../utility/db_load.html">db_load</a> utility reads the flat-text file produced by
39<a href="../../utility/db_dump.html">db_dump</a> and loads it into a database file.</ul>
40<b><a href="../../utility/db_printlog.html">db_printlog</a></b><ul compact><li>The <a href="../../utility/db_printlog.html">db_printlog</a> utility displays the contents of Berkeley DB log files
41in a human-readable and parsable format.</ul>
42<b><a href="../../utility/db_recover.html">db_recover</a></b><ul compact><li>The <a href="../../utility/db_recover.html">db_recover</a> utility runs after an unexpected Berkeley DB or system
43failure to restore the database to a consistent state.  Generally, some
44form of database recovery must be done if databases are being modified.</ul>
45<b><a href="../../utility/db_stat.html">db_stat</a>  </b><ul compact><li>The <a href="../../utility/db_stat.html">db_stat</a> utility displays statistics for databases and database
46environments.</ul>
47<b><a href="../../utility/db_upgrade.html">db_upgrade</a></b><ul compact><li>The <a href="../../utility/db_upgrade.html">db_upgrade</a> utility provides a command-line interface for
48upgrading underlying database formats.</ul>
49<b><a href="../../utility/db_verify.html">db_verify</a></b><ul compact><li>The <a href="../../utility/db_verify.html">db_verify</a> utility provides a command-line interface for
50verifying the database format.</ul>
51<br>
52<p>All of the functionality implemented for these utilities is also available
53as part of the standard Berkeley DB API.  This means that threaded applications
54can easily create a thread that calls the same Berkeley DB functions as do the
55utilities.  This often simplifies an application environment by removing
56the necessity for multiple processes to negotiate database and database
57environment creation and shut down.</p>
58<table width="100%"><tr><td><br></td><td align=right><a href="../arch/script.html"><img src="../../images/prev.gif" alt="Prev"></a><a href="../toc.html"><img src="../../images/ref.gif" alt="Ref"></a><a href="../env/intro.html"><img src="../../images/next.gif" alt="Next"></a>
59</td></tr></table>
60<p><font size=1>Copyright (c) 1996,2008 Oracle.  All rights reserved.</font>
61</body>
62</html>
63