1<!--$Id: logalloc.so,v 1.2 2006/08/24 16:32:32 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: Release 3.1: log file pre-allocation</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<table width="100%"><tr valign=top> 12<td><b><dl><dt>Berkeley DB Reference Guide:<dd>Upgrading Berkeley DB Applications</dl></b></td> 13<td align=right><a href="../upgrade.3.1/tmp.html"><img src="../../images/prev.gif" alt="Prev"></a><a href="../toc.html"><img src="../../images/ref.gif" alt="Ref"></a><a href="../upgrade.3.1/disk.html"><img src="../../images/next.gif" alt="Next"></a> 14</td></tr></table> 15<p align=center><b>Release 3.1: log file pre-allocation</b></p> 16<p>This change only affects Win/32 applications.</p> 17<p>On Win/32 platforms Berkeley DB no longer pre-allocates log files. The problem 18was a noticeable performance spike as each log file was created. To turn 19this feature back on, search for the flag DB_OSO_LOG in the source file 20<b>log/log_put.c</b> and make the change described there, or contact 21us for assistance.</p> 22<table width="100%"><tr><td><br></td><td align=right><a href="../upgrade.3.1/tmp.html"><img src="../../images/prev.gif" alt="Prev"></a><a href="../toc.html"><img src="../../images/ref.gif" alt="Ref"></a><a href="../upgrade.3.1/disk.html"><img src="../../images/next.gif" alt="Next"></a> 23</td></tr></table> 24<p><font size=1>Copyright (c) 1996,2008 Oracle. All rights reserved.</font> 25</body> 26</html> 27