txn_checkpoint.html   [plain text]


<!--$Id: txn_checkpoint.so,v 11.1 2003/09/02 14:38:51 sue Exp $-->
<!--$Id: m4.tcl,v 11.28 2004/12/16 19:13:05 bostic Exp $-->
<!--Copyright (c) 1997,2008 Oracle.  All rights reserved.-->
<!--See the file LICENSE for redistribution information.-->
<html>
<head>
<title>Berkeley DB: env txn_checkpoint</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><i>env</i> <b>txn_checkpoint</b></b>
</td>
<td align=right>
<a href="../api_tcl/api_tcl.html"><img src="../images/api.gif" alt="API"></a>
<a href="../ref/toc.html"><img src="../images/ref.gif" alt="Ref"></a></td>
</tr></table>
<hr size=1 noshade>
<tt>
<b><pre>env txn_checkpoint
	[-force]
	[-kbyte kb]
	[-min minutes]
</pre></b>
<b>Description(env txn_checkpoint)</b>
<p>The <i>env</i> <b>txn_checkpoint</b> command writes a checkpoint.</p>
<p>The options are as follows:</p>
<br>
<b>-force</b><ul compact><li>The checkpoint will occur regardless of activity level.</ul>
<b>-kbyte kb</b><ul compact><li>The checkpoint will occur only if at least the specified number
of kilobytes of log data has been written since the last checkpoint.</ul>
<b>-min minutes</b><ul compact><li>The checkpoint will occur only if at least the specified number
of minutes has passed since the last checkpoint.</ul>
<br>
<p>In the case of error, a Tcl error is thrown.</p>
</tt>
<table width="100%"><tr><td><br></td><td align=right>
<a href="../api_tcl/api_tcl.html"><img src="../images/api.gif" alt="API"></a><a href="../ref/toc.html"><img src="../images/ref.gif" alt="Ref"></a>
</td></tr></table>
<p><font size=1>Copyright (c) 1996,2008 Oracle.  All rights reserved.</font>
</body>
</html>