1<!--$Id: txn_checkpoint.so,v 11.1 2003/09/02 14:38:51 sue Exp $--> 2<!--$Id: m4.tcl,v 11.28 2004/12/16 19:13:05 bostic Exp $--> 3<!--Copyright (c) 1997,2008 Oracle. All rights reserved.--> 4<!--See the file LICENSE for redistribution information.--> 5<html> 6<head> 7<title>Berkeley DB: env txn_checkpoint</title> 8<meta name="description" content="Berkeley DB: An embedded database programmatic toolkit."> 9<meta name="keywords" content="embedded,database,programmatic,toolkit,btree,hash,hashing,transaction,transactions,locking,logging,access method,access methods,Java,C,C++"> 10</head> 11<body bgcolor=white> 12<table width="100%"><tr valign=top> 13<td> 14<b><i>env</i> <b>txn_checkpoint</b></b> 15</td> 16<td align=right> 17<a href="/api_tcl/api_tcl.html"><img src="/images/api.gif" alt="API"></a> 18<a href="/ref/toc.html"><img src="/images/ref.gif" alt="Ref"></a></td> 19</tr></table> 20<hr size=1 noshade> 21<tt> 22<b><pre>env txn_checkpoint 23 [-force] 24 [-kbyte kb] 25 [-min minutes] 26</pre></b> 27<b>Description(env txn_checkpoint)</b> 28<p>The <i>env</i> <b>txn_checkpoint</b> command writes a checkpoint.</p> 29<p>The options are as follows:</p> 30<br> 31<b>-force</b><ul compact><li>The checkpoint will occur regardless of activity level.</ul> 32<b>-kbyte kb</b><ul compact><li>The checkpoint will occur only if at least the specified number 33of kilobytes of log data has been written since the last checkpoint.</ul> 34<b>-min minutes</b><ul compact><li>The checkpoint will occur only if at least the specified number 35of minutes has passed since the last checkpoint.</ul> 36<br> 37<p>In the case of error, a Tcl error is thrown.</p> 38</tt> 39<table width="100%"><tr><td><br></td><td align=right> 40<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> 41</td></tr></table> 42<p><font size=1>Copyright (c) 1996,2008 Oracle. All rights reserved.</font> 43</body> 44</html> 45