You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
834 lines
106 KiB
834 lines
106 KiB
<html xmlns:MSHelp="http://msdn.microsoft.com/mshelp" xmlns:mshelp="http://msdn.microsoft.com/mshelp" xmlns:ddue="http://ddue.schemas.microsoft.com/authoring/2003/5" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:msxsl="urn:schemas-microsoft-com:xslt"><head><META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=UTF-8" /><META NAME="save" CONTENT="history" /><title>DatabaseEnvironment Members</title><link rel="stylesheet" type="text/css" href="../styles/presentation.css" /><link rel="stylesheet" type="text/css" href="ms-help://Hx/HxRuntime/HxLink.css" /><script type="text/javascript" src="../scripts/EventUtilities.js"> </script><script type="text/javascript" src="../scripts/SplitScreen.js"> </script><script type="text/javascript" src="../scripts/Dropdown.js"> </script><script type="text/javascript" src="../scripts/script_manifold.js"> </script><script type="text/javascript" src="../scripts/script_feedBack.js"> </script><script type="text/javascript" src="../scripts/CheckboxMenu.js"> </script><script type="text/javascript" src="../scripts/CommonUtilities.js"> </script><meta name="container" content="BerkeleyDB" /><meta name="file" content="AllMembers_T_BerkeleyDB_DatabaseEnvironment" /><meta name="guid" content="AllMembers_T_BerkeleyDB_DatabaseEnvironment" /><xml><MSHelp:Attr Name="AssetID" Value="AllMembers.T:BerkeleyDB.DatabaseEnvironment" /><MSHelp:TOCTitle Title="DatabaseEnvironment Members" /><MSHelp:RLTitle Title="DatabaseEnvironment Members (BerkeleyDB)" /><MSHelp:Keyword Index="A" Term="AllMembers.T:BerkeleyDB.DatabaseEnvironment" /><MSHelp:Keyword Index="A" Term="frlrfBerkeleyDBDatabaseEnvironmentMembersTopic" /><MSHelp:Keyword Index="K" Term="DatabaseEnvironment class" /><MSHelp:Keyword Index="K" Term="DatabaseEnvironment class, all members" /><MSHelp:Keyword Index="K" Term="BerkeleyDB.DatabaseEnvironment class" /><MSHelp:Keyword Index="F" Term="DatabaseEnvironment" /><MSHelp:Keyword Index="F" Term="BerkeleyDB.DatabaseEnvironment" /><MSHelp:Attr Name="HelpPriority" Value="1" /><MSHelp:Attr Name="DevLang" Value="CSharp" /><MSHelp:Attr Name="DevLang" Value="VB" /><MSHelp:Attr Name="DevLang" Value="C++" /><MSHelp:Attr Name="Locale" Value="en-us" /><MSHelp:Attr Name="TopicType" Value="kbSyntax" /><MSHelp:Attr Name="TopicType" Value="apiref" /><MSHelp:Attr Name="AssemblyVersion" Value="6.2.23.0" /></xml></head><body><input type="hidden" id="userDataCache" class="userDataStyle" /><input type="hidden" id="hiddenScrollOffset" /><img id="collapseImage" style="display:none; height:0; width:0;" src="../icons/collapse_all.gif" title="Collapse image" /><img id="expandImage" style="display:none; height:0; width:0;" src="../icons/expand_all.gif" title="Expand Image" /><img id="collapseAllImage" style="display:none; height:0; width:0;" src="../icons/collapse_all.gif" /><img id="expandAllImage" style="display:none; height:0; width:0;" src="../icons/expand_all.gif" /><img id="dropDownImage" style="display:none; height:0; width:0;" src="../icons/dropdown.gif" /><img id="dropDownHoverImage" style="display:none; height:0; width:0;" src="../icons/dropdownHover.gif" /><img id="copyImage" style="display:none; height:0; width:0;" src="../icons/copycode.gif" title="Copy image" /><img id="copyHoverImage" style="display:none; height:0; width:0;" src="../icons/copycodeHighlight.gif" title="CopyHover image" /><div id="header"><table id="topTable" cellspacing="0" cellpadding="0"><tr><td><span onclick="ExpandCollapseAll(toggleAllImage)" style="cursor:default;" onkeypress="ExpandCollapseAll_CheckKey(toggleAllImage, event)" tabindex="0"><img ID="toggleAllImage" class="toggleAll" src="../icons/collapse_all.gif" /> <label id="collapseAllLabel" for="toggleAllImage" style="display: none;">Collapse All</label><label id="expandAllLabel" for="toggleAllImage" style="display: none;">Expand All</label> </span><span> </span><span id="devlangsDropdown" class="filter" tabindex="0"><img id="devlangsDropdownImage" src="../icons/dropdown.gif" /> <label id="devlangsMenuAllLabel" for="devlangsDropdownImage" style="display: none;"><nobr>Code: All </nobr></label><label id="devlangsMenuMultipleLabel" for="devlangsDropdownImage" style="display: none;"><nobr>Code: Multiple </nobr></label><label id="devlangsMenuCSharpLabel" for="devlangsDropdownImage" style="display: none;"><nobr>Code: C# </nobr></label><label id="devlangsMenuVisualBasicLabel" for="devlangsDropdownImage" style="display: none;"><nobr>Code: Visual Basic </nobr></label><label id="devlangsMenuManagedCPlusPlusLabel" for="devlangsDropdownImage" style="display: none;"><nobr>Code: Visual C++ </nobr></label></span><span> </span><span id="memberOptionsDropdown" class="filter" tabindex="0"><img id="memberOptionsDropdownImage" src="../icons/dropdown.gif" /> <label id="memberOptionsMenuAllLabel" for="memberOptionsDropdownImage" style="display: none;"><nobr>Members: Show All </nobr></label><label id="memberOptionsMenuMultipleLabel" for="memberOptionsDropdownImage" style="display: none;"><nobr>Members: Filtered </nobr></label><label id="memberOptionsMenuProtectedLabel" for="memberOptionsDropdownImage" style="display: none;"><nobr>Members: Filtered </nobr></label><label id="memberOptionsMenuInheritedLabel" for="memberOptionsDropdownImage" style="display: none;"><nobr>Members: Filtered </nobr></label></span></td></tr></table><div id="devlangsMenu"><input id="CSharpCheckbox" type="checkbox" data="CSharp,cs,'persist'" value="on" onClick="SetLanguage(this)" /><label class="checkboxLabel" for="CSharpCheckbox">C#</label><br /><input id="VisualBasicCheckbox" type="checkbox" data="VisualBasic,vb,'persist'" value="on" onClick="SetLanguage(this)" /><label class="checkboxLabel" for="VisualBasicCheckbox">Visual Basic</label><br /><input id="ManagedCPlusPlusCheckbox" type="checkbox" data="ManagedCPlusPlus,cpp,'persist'" value="on" onClick="SetLanguage(this)" /><label class="checkboxLabel" for="ManagedCPlusPlusCheckbox">Visual C++</label><br /></div><div id="memberOptionsMenu"><input id="ProtectedCheckbox" type="checkbox" data="Protected" value="on" onClick="SetMemberOptions(this, 'vis')" /><label class="checkboxLabel" for="ProtectedCheckbox">Include Protected Members</label><br /><input id="InheritedCheckbox" type="checkbox" data="Inherited" value="on" onClick="SetMemberOptions(this, 'decl')" /><label class="checkboxLabel" for="InheritedCheckbox">Include Inherited Members</label><br /></div><table id="bottomTable" cellpadding="0" cellspacing="0"><tr id="headerTableRow1"><td align="left"><span id="runningHeaderText">Berkeley DB .NET API Documentation</span></td></tr><tr id="headerTableRow2"><td align="left"><span id="nsrTitle">DatabaseEnvironment Members</span></td></tr><tr id="headerTableRow3"><td align="left"><a href="T_BerkeleyDB_DatabaseEnvironment.htm">DatabaseEnvironment Class</a> <a href="#methodTableToggle" onclick="OpenSection(methodTableToggle)">Methods</a> <a href="#propertyTableToggle" onclick="OpenSection(propertyTableToggle)">Properties</a> <a href="#seeAlsoToggle" onclick="OpenSection(seeAlsoToggle)">See Also</a>
|
|
<span id="headfeedbackarea" class="feedbackhead">
|
|
<a href="javascript:SubmitFeedback('','Berkeley DB .NET API Documentation','','','','%0\dYour%20feedback%20is%20used%20to%20improve%20the%20documentation%20and%20the%20product.%20Your%20e-mail%20address%20will%20not%20be%20used%20for%20any%20other%20purpose%20and%20is%20disposed%20of%20after%20the%20issue%20you%20report%20is%20resolved.%20%20While%20working%20to%20resolve%20the%20issue%20that%20you%20report,%20you%20may%20be%20contacted%20via%20e-mail%20to%20get%20further%20details%20or%20clarification%20on%20the%20feedback%20you%20sent.%20After%20the%20issue%20you%20report%20has%20been%20addressed,%20you%20may%20receive%20an%20e-mail%20to%20let%20you%20know%20that%20your%20feedback%20has%20been%20addressed.%0\A%0\d','Customer%20Feedback');">
|
|
|
|
Send Feedback
|
|
</a>
|
|
</span>
|
|
</td></tr></table><table id="gradientTable"><tr><td class="nsrBottom" background="../icons/gradient.gif" /></tr></table></div><div id="mainSection"><div id="mainBody"><div id="allHistory" class="saveHistory" onsave="saveAll()" onload="loadAll()" /><span style="color: DarkGray"> </span><p /><p>The <a href="T_BerkeleyDB_DatabaseEnvironment.htm">DatabaseEnvironment</a> type exposes the following members.</p><h1 class="heading"><span onclick="ExpandCollapse(methodTableToggle)" style="cursor:default;" onkeypress="ExpandCollapse_CheckKey(methodTableToggle, event)" tabindex="0"><img id="methodTableToggle" class="toggle" name="toggleSwitch" src="../icons/collapse_all.gif" />Methods</span></h1><div id="methodTableSection" class="section" name="collapseableSection" style=""><table id="memberList" class="members" frame="lhs" cellpadding="2"><col width="10%" /><tr><th class="iconColumn">
|
|
|
|
</th><th class="nameColumn">Name</th><th class="descriptionColumn">Description</th></tr><tr data="public;declared;notNetfw;"><td><img src="../icons/pubmethod.gif" title="Public method" /></td><td><a href="M_BerkeleyDB_DatabaseEnvironment_ArchivableDatabaseFiles.htm">ArchivableDatabaseFiles</a></td><td><div class="summary">
|
|
The database files that need to be archived in order to recover the
|
|
database from catastrophic failure. Database files that have not been
|
|
accessed during the lifetime of the current log files
|
|
are not included in this list. It is also possible that some
|
|
of the files referred to by the log have since been deleted from the
|
|
system.
|
|
</div></td></tr><tr data="public;declared;notNetfw;"><td><img src="../icons/pubmethod.gif" title="Public method" /></td><td><a href="M_BerkeleyDB_DatabaseEnvironment_ArchivableLogFiles.htm">ArchivableLogFiles</a></td><td><div class="summary">
|
|
The names of all of the log files that are no longer in use (for
|
|
example, that are no longer involved in active transactions), and
|
|
that may safely be archived for catastrophic recovery and then
|
|
removed from the system.
|
|
</div></td></tr><tr data="public;declared;notNetfw;"><td><img src="../icons/pubmethod.gif" title="Public method" /></td><td><a href="M_BerkeleyDB_DatabaseEnvironment_Backup.htm">Backup</a></td><td><div class="summary">
|
|
Perform a hot back up of the open environment.
|
|
<p>
|
|
All files used by the environment are backed up, so long as the
|
|
normal rules for file placement are followed. For information on how
|
|
files are normally placed relative to the environment directory, see
|
|
the "Berkeley DB File Naming" section in the Berkeley DB Reference
|
|
Guide.
|
|
</p><p>
|
|
By default, data directories and the log directory specified
|
|
relative to the home directory are recreated relative to the
|
|
target directory. If absolute path names are used, then use the
|
|
<a href="F_BerkeleyDB_BackupOptions_SingleDir.htm">SingleDir</a> method.
|
|
</p><p>
|
|
This method provides the same functionality as the db_hotbackup
|
|
utility. However, this method does not perform the housekeeping
|
|
actions performed by that utility. In particular, you may want to
|
|
run a checkpoint before calling this method. To run a checkpoint,
|
|
use the <a href="M_BerkeleyDB_DatabaseEnvironment_Checkpoint.htm">Checkpoint<span class="languageSpecificText"><span class="cs">()</span><span class="cpp">()</span><span class="nu">()</span></span></a> method. For
|
|
more information on checkpoints, see the "Checkpoint" section in the
|
|
Berkeley DB Reference Guide.
|
|
</p><p>
|
|
To back up a single database file within the environment, use the
|
|
<a href="M_BerkeleyDB_DatabaseEnvironment_BackupDatabase.htm">BackupDatabase(String, String, Boolean)</a> method.
|
|
</p><p>
|
|
In addition to the configuration options available using the
|
|
<a href="T_BerkeleyDB_BackupOptions.htm">BackupOptions</a> class, additional tuning modifications
|
|
can be made using the <a href="P_BerkeleyDB_DatabaseEnvironment_BackupReadCount.htm">BackupReadCount</a>,
|
|
<a href="P_BerkeleyDB_DatabaseEnvironment_BackupReadSleepDuration.htm">BackupReadSleepDuration</a>,
|
|
<a href="P_BerkeleyDB_DatabaseEnvironment_BackupBufferSize.htm">BackupBufferSize</a>, and
|
|
<a href="P_BerkeleyDB_DatabaseEnvironment_BackupWriteDirect.htm">BackupWriteDirect</a> properties.
|
|
Alternatively, you can write your own custom hot back up facility
|
|
using the <a href="T_BerkeleyDB_IBackup.htm">IBackup</a> interface.
|
|
</p></div></td></tr><tr data="public;declared;notNetfw;"><td><img src="../icons/pubmethod.gif" title="Public method" /></td><td><a href="M_BerkeleyDB_DatabaseEnvironment_BackupDatabase.htm">BackupDatabase</a></td><td><div class="summary">
|
|
Perform a hot back up of a single database file contained within the
|
|
environment.
|
|
<p>
|
|
To back up the entire environment, use the
|
|
<a href="M_BerkeleyDB_DatabaseEnvironment_Backup.htm">Backup(String, BackupOptions)</a> method.
|
|
</p><p>
|
|
You can make some tuning modifications to the backup process using
|
|
the <a href="P_BerkeleyDB_DatabaseEnvironment_BackupReadCount.htm">BackupReadCount</a>,
|
|
<a href="P_BerkeleyDB_DatabaseEnvironment_BackupReadSleepDuration.htm">BackupReadSleepDuration</a>,
|
|
<a href="P_BerkeleyDB_DatabaseEnvironment_BackupBufferSize.htm">BackupBufferSize</a>, and
|
|
<a href="P_BerkeleyDB_DatabaseEnvironment_BackupWriteDirect.htm">BackupWriteDirect</a> properties.
|
|
Alternatively, you can write your own custom hot back up facility
|
|
using the <a href="T_BerkeleyDB_IBackup.htm">IBackup</a> interface.
|
|
</p></div></td></tr><tr data="public;declared;notNetfw;"><td><img src="../icons/pubmethod.gif" title="Public method" /></td><td><a href="M_BerkeleyDB_DatabaseEnvironment_BeginCDSGroup.htm">BeginCDSGroup</a></td><td><div class="summary">
|
|
Allocate a locker ID in an environment configured for Berkeley DB
|
|
Concurrent Data Store applications.
|
|
</div></td></tr><tr data="public;declared;notNetfw;"><td><img src="../icons/pubmethod.gif" title="Public method" /></td><td><a href="Overload_BerkeleyDB_DatabaseEnvironment_BeginTransaction.htm">BeginTransaction</a></td><td>Overloaded. </td></tr><tr data="public;declared;notNetfw;"><td><img src="../icons/pubmethod.gif" title="Public method" /></td><td><a href="Overload_BerkeleyDB_DatabaseEnvironment_Checkpoint.htm">Checkpoint</a></td><td>Overloaded. </td></tr><tr data="public;declared;notNetfw;"><td><img src="../icons/pubmethod.gif" title="Public method" /></td><td><a href="M_BerkeleyDB_DatabaseEnvironment_Close.htm">Close</a></td><td><div class="summary">
|
|
By closing the Berkeley DB environment you can free allocated resources
|
|
and close any open databases along with the underlying subsystems.
|
|
</div></td></tr><tr data="public;declared;notNetfw;"><td><img src="../icons/pubmethod.gif" title="Public method" /></td><td><a href="M_BerkeleyDB_DatabaseEnvironment_CloseForceSync.htm">CloseForceSync</a></td><td><div class="summary">
|
|
Close the Berkeley DB environment, freeing any allocated resources,
|
|
closing any open databases as well as underlying subsystems.
|
|
</div></td></tr><tr data="public;declared;notNetfw;"><td><img src="../icons/pubmethod.gif" title="Public method" /></td><td><a href="M_BerkeleyDB_DatabaseEnvironment_CloseForceSyncAndForceSyncEnv.htm">CloseForceSyncAndForceSyncEnv</a></td><td><div class="summary">
|
|
Close the Berkeley DB environment, freeing any allocated resources,
|
|
closing any open databases as well as underlying subsystems.
|
|
</div></td></tr><tr data="public;declared;notNetfw;"><td><img src="../icons/pubmethod.gif" title="Public method" /></td><td><a href="M_BerkeleyDB_DatabaseEnvironment_CloseForceSyncEnv.htm">CloseForceSyncEnv</a></td><td><div class="summary">
|
|
Close the Berkeley DB environment, freeing any allocated resources,
|
|
closing any open databases as well as underlying subsystems.
|
|
</div></td></tr><tr data="public;declared;notNetfw;"><td><img src="../icons/pubmethod.gif" title="Public method" /></td><td><a href="M_BerkeleyDB_DatabaseEnvironment_DetectDeadlocks.htm">DetectDeadlocks</a></td><td><div class="summary">
|
|
Run one iteration of the deadlock detector. The deadlock detector
|
|
traverses the lock table and marks one of the participating lock
|
|
requesters for rejection in each deadlock it finds.
|
|
</div></td></tr><tr data="public;inherited;notNetfw;"><td><img src="../icons/pubmethod.gif" title="Public method" /></td><td><a href="http://msdn2.microsoft.com/en-us/library/bsc2ak47" target="_blank">Equals</a></td><td><div class="summary">
|
|
Determines whether the specified <a href="http://msdn2.microsoft.com/en-us/library/e5kfa45b" target="_blank">Object</a> is equal to the current <a href="http://msdn2.microsoft.com/en-us/library/e5kfa45b" target="_blank">Object</a>.
|
|
</div> (Inherited from <a href="http://msdn2.microsoft.com/en-us/library/e5kfa45b" target="_blank">Object</a>.)</td></tr><tr data="public;declared;notNetfw;"><td><img src="../icons/pubmethod.gif" title="Public method" /></td><td><a href="M_BerkeleyDB_DatabaseEnvironment_FailCheck.htm">FailCheck</a></td><td><div class="summary">
|
|
Check for threads of control (either a true thread or a process)
|
|
that have exited while manipulating Berkeley DB library data
|
|
structures, while holding a logical database lock, or with an
|
|
unresolved transaction (that is, a transaction that was never
|
|
aborted or committed).
|
|
</div></td></tr><tr data="public;inherited;notNetfw;"><td><img src="../icons/pubmethod.gif" title="Public method" /></td><td><a href="http://msdn2.microsoft.com/en-us/library/zdee4b3y" target="_blank">GetHashCode</a></td><td><div class="summary">
|
|
Serves as a hash function for a particular type.
|
|
</div> (Inherited from <a href="http://msdn2.microsoft.com/en-us/library/e5kfa45b" target="_blank">Object</a>.)</td></tr><tr data="public;inherited;notNetfw;"><td><img src="../icons/pubmethod.gif" title="Public method" /></td><td><a href="http://msdn2.microsoft.com/en-us/library/dfwy45w9" target="_blank">GetType</a></td><td><div class="summary">
|
|
Gets the <a href="http://msdn2.microsoft.com/en-us/library/42892f65" target="_blank">Type</a> of the current instance.
|
|
</div> (Inherited from <a href="http://msdn2.microsoft.com/en-us/library/e5kfa45b" target="_blank">Object</a>.)</td></tr><tr data="public;declared;notNetfw;"><td><img src="../icons/pubmethod.gif" title="Public method" /></td><td><a href="M_BerkeleyDB_DatabaseEnvironment_IsTransactionApplied.htm">IsTransactionApplied</a></td><td><div class="summary">
|
|
This method checks to see if a specified transaction has been replicated from
|
|
the master of a replication group. It may be called by applications using either
|
|
the Base API or the Replication Manager.
|
|
</div></td></tr><tr data="public;declared;notNetfw;"><td><img src="../icons/pubmethod.gif" title="Public method" /></td><td><a href="Overload_BerkeleyDB_DatabaseEnvironment_LockingSystemStats.htm">LockingSystemStats</a></td><td>Overloaded. </td></tr><tr data="public;declared;notNetfw;"><td><img src="../icons/pubmethod.gif" title="Public method" /></td><td><a href="M_BerkeleyDB_DatabaseEnvironment_LogFile.htm">LogFile</a></td><td><div class="summary">
|
|
Map an LSN object to a log filename
|
|
</div></td></tr><tr data="public;declared;notNetfw;"><td><img src="../icons/pubmethod.gif" title="Public method" /></td><td><a href="M_BerkeleyDB_DatabaseEnvironment_LogFiles.htm">LogFiles</a></td><td><div class="summary">
|
|
The names of all of the log files
|
|
</div></td></tr><tr data="public;declared;notNetfw;"><td><img src="../icons/pubmethod.gif" title="Public method" /></td><td><a href="Overload_BerkeleyDB_DatabaseEnvironment_LogFlush.htm">LogFlush</a></td><td>Overloaded. </td></tr><tr data="public;declared;notNetfw;"><td><img src="../icons/pubmethod.gif" title="Public method" /></td><td><a href="Overload_BerkeleyDB_DatabaseEnvironment_LoggingSystemStats.htm">LoggingSystemStats</a></td><td>Overloaded. </td></tr><tr data="public;declared;notNetfw;"><td><img src="../icons/pubmethod.gif" title="Public method" /></td><td><a href="M_BerkeleyDB_DatabaseEnvironment_LogVerify.htm">LogVerify</a></td><td><div class="summary">
|
|
Verify log records of this environment.
|
|
</div></td></tr><tr data="public;declared;notNetfw;"><td><img src="../icons/pubmethod.gif" title="Public method" /></td><td><a href="M_BerkeleyDB_DatabaseEnvironment_LogWrite.htm">LogWrite</a></td><td><div class="summary">
|
|
Append a record to the log
|
|
</div></td></tr><tr data="public;declared;notNetfw;"><td><img src="../icons/pubmethod.gif" title="Public method" /></td><td><a href="Overload_BerkeleyDB_DatabaseEnvironment_MPoolSystemStats.htm">MPoolSystemStats</a></td><td>Overloaded. </td></tr><tr data="public;declared;notNetfw;"><td><img src="../icons/pubmethod.gif" title="Public method" /></td><td><a href="Overload_BerkeleyDB_DatabaseEnvironment_MutexSystemStats.htm">MutexSystemStats</a></td><td>Overloaded. </td></tr><tr data="public;static;declared;notNetfw;"><td><img src="../icons/pubmethod.gif" title="Public method" /><img src="../icons/static.gif" title="Static member" /></td><td><a href="M_BerkeleyDB_DatabaseEnvironment_Open.htm">Open</a></td><td><div class="summary">
|
|
Instantiate a new DatabaseEnvironment object and open the Berkeley
|
|
DB environment represented by <span class="parameter">home</span>.
|
|
</div></td></tr><tr data="public;declared;notNetfw;"><td><img src="../icons/pubmethod.gif" title="Public method" /></td><td><a href="M_BerkeleyDB_DatabaseEnvironment_Panic.htm">Panic</a></td><td><div class="summary">
|
|
Set the panic state for the database environment. (Database
|
|
environments in a panic state normally refuse all attempts to call
|
|
Berkeley DB functions, throwing <a href="T_BerkeleyDB_RunRecoveryException.htm">RunRecoveryException</a>.)
|
|
</div></td></tr><tr data="public;declared;notNetfw;"><td><img src="../icons/pubmethod.gif" title="Public method" /></td><td><a href="Overload_BerkeleyDB_DatabaseEnvironment_PrintLockingSystemStats.htm">PrintLockingSystemStats</a></td><td>Overloaded. </td></tr><tr data="public;declared;notNetfw;"><td><img src="../icons/pubmethod.gif" title="Public method" /></td><td><a href="Overload_BerkeleyDB_DatabaseEnvironment_PrintLoggingSystemStats.htm">PrintLoggingSystemStats</a></td><td>Overloaded. </td></tr><tr data="public;declared;notNetfw;"><td><img src="../icons/pubmethod.gif" title="Public method" /></td><td><a href="Overload_BerkeleyDB_DatabaseEnvironment_PrintMPoolSystemStats.htm">PrintMPoolSystemStats</a></td><td>Overloaded. </td></tr><tr data="public;declared;notNetfw;"><td><img src="../icons/pubmethod.gif" title="Public method" /></td><td><a href="Overload_BerkeleyDB_DatabaseEnvironment_PrintMutexSystemStats.htm">PrintMutexSystemStats</a></td><td>Overloaded. </td></tr><tr data="public;declared;notNetfw;"><td><img src="../icons/pubmethod.gif" title="Public method" /></td><td><a href="Overload_BerkeleyDB_DatabaseEnvironment_PrintReplicationSystemStats.htm">PrintReplicationSystemStats</a></td><td>Overloaded. </td></tr><tr data="public;declared;notNetfw;"><td><img src="../icons/pubmethod.gif" title="Public method" /></td><td><a href="Overload_BerkeleyDB_DatabaseEnvironment_PrintRepMgrSystemStats.htm">PrintRepMgrSystemStats</a></td><td>Overloaded. </td></tr><tr data="public;declared;notNetfw;"><td><img src="../icons/pubmethod.gif" title="Public method" /></td><td><a href="Overload_BerkeleyDB_DatabaseEnvironment_PrintStats.htm">PrintStats</a></td><td>Overloaded. </td></tr><tr data="public;declared;notNetfw;"><td><img src="../icons/pubmethod.gif" title="Public method" /></td><td><a href="Overload_BerkeleyDB_DatabaseEnvironment_PrintSubsystemStats.htm">PrintSubsystemStats</a></td><td>Overloaded. </td></tr><tr data="public;declared;notNetfw;"><td><img src="../icons/pubmethod.gif" title="Public method" /></td><td><a href="Overload_BerkeleyDB_DatabaseEnvironment_PrintTransactionSystemStats.htm">PrintTransactionSystemStats</a></td><td>Overloaded. </td></tr><tr data="public;declared;notNetfw;"><td><img src="../icons/pubmethod.gif" title="Public method" /></td><td><a href="M_BerkeleyDB_DatabaseEnvironment_Recover.htm">Recover</a></td><td><div class="summary">
|
|
Restore transactions that were prepared, but not yet resolved at the
|
|
time of the system shut down or crash, to their state prior to the
|
|
shut down or crash, including any locks previously held.
|
|
</div></td></tr><tr data="public;declared;notNetfw;"><td><img src="../icons/pubmethod.gif" title="Public method" /></td><td><a href="M_BerkeleyDB_DatabaseEnvironment_RegionSetMemoryLimit.htm">RegionSetMemoryLimit</a></td><td><div class="summary">
|
|
The amount of memory to be used by shared structures in the main
|
|
environment region. These are structures other than mutexes and
|
|
the page cache (memory pool).
|
|
</div></td></tr><tr data="public;static;declared;notNetfw;"><td><img src="../icons/pubmethod.gif" title="Public method" /><img src="../icons/static.gif" title="Static member" /></td><td><a href="Overload_BerkeleyDB_DatabaseEnvironment_Remove.htm">Remove</a></td><td>Overloaded. <div class="summary">
|
|
<p>
|
|
The environment regions, including any backing files, are removed.
|
|
Any log or database files and the environment directory are not
|
|
removed.
|
|
</p>
|
|
<p>
|
|
If there are processes that have called <a href="M_BerkeleyDB_DatabaseEnvironment_Open.htm">Open(String, DatabaseEnvironmentConfig)</a> without
|
|
calling <a href="M_BerkeleyDB_DatabaseEnvironment_Close.htm">Close<span class="languageSpecificText"><span class="cs">()</span><span class="cpp">()</span><span class="nu">()</span></span></a> (that is, there are processes currently
|
|
using the environment), Remove fails without further action.
|
|
</p>
|
|
<p>
|
|
Calling Remove should not be necessary for most applications because
|
|
the Berkeley DB environment is cleaned up as part of normal database
|
|
recovery procedures. However, applications may want to call Remove
|
|
as part of application shut down to free up system resources. For
|
|
example, if <a href="F_BerkeleyDB_DatabaseEnvironmentConfig_SystemMemory.htm">SystemMemory</a> was
|
|
specified to <a href="M_BerkeleyDB_DatabaseEnvironment_Open.htm">Open(String, DatabaseEnvironmentConfig)</a>, it may be useful to call Remove in
|
|
order to release system shared memory segments that have been
|
|
allocated. Or, on architectures in which mutexes require allocation
|
|
of underlying system resources, it may be useful to call Remove in
|
|
order to release those resources. Alternatively, if recovery is not
|
|
required because no database state is maintained across failures,
|
|
and no system resources need to be released, it is possible to clean
|
|
up an environment by simply removing all the Berkeley DB files in
|
|
the database environment's directories.
|
|
</p>
|
|
<p>
|
|
In multithreaded applications, only a single thread may call Remove.
|
|
</p>
|
|
</div></td></tr><tr data="public;declared;notNetfw;"><td><img src="../icons/pubmethod.gif" title="Public method" /></td><td><a href="Overload_BerkeleyDB_DatabaseEnvironment_RemoveDB.htm">RemoveDB</a></td><td>Overloaded. </td></tr><tr data="public;declared;notNetfw;"><td><img src="../icons/pubmethod.gif" title="Public method" /></td><td><a href="M_BerkeleyDB_DatabaseEnvironment_RemoveUnusedLogFiles.htm">RemoveUnusedLogFiles</a></td><td><div class="summary">
|
|
Remove log files that are no longer needed. Automatic log file
|
|
removal is likely to make catastrophic recovery impossible.
|
|
</div></td></tr><tr data="public;declared;notNetfw;"><td><img src="../icons/pubmethod.gif" title="Public method" /></td><td><a href="Overload_BerkeleyDB_DatabaseEnvironment_RenameDB.htm">RenameDB</a></td><td>Overloaded. </td></tr><tr data="public;declared;notNetfw;"><td><img src="../icons/pubmethod.gif" title="Public method" /></td><td><a href="Overload_BerkeleyDB_DatabaseEnvironment_RepHoldElection.htm">RepHoldElection</a></td><td>Overloaded. <div class="summary">
|
|
<p>
|
|
RepHoldElection is not called by most replication applications. It
|
|
should only be called by applications implementing their own network
|
|
transport layer, explicitly holding replication group elections and
|
|
handling replication messages outside of the replication manager
|
|
framework.
|
|
</p>
|
|
<p>
|
|
If the election is successful, Berkeley DB notifies the
|
|
application of the results of the election by means of either the
|
|
<a href="T_BerkeleyDB_NotificationEvent.htm">REP_ELECTED</a> or
|
|
<a href="T_BerkeleyDB_NotificationEvent.htm">REP_NEWMASTER</a> events (see
|
|
<a href="P_BerkeleyDB_DatabaseEnvironment_EventNotify.htm">EventNotify</a>for more information). The application is
|
|
responsible for adjusting its relationship to the other database
|
|
environments in the replication group, including directing all
|
|
database updates to the newly selected master, in accordance with
|
|
the results of the election.
|
|
</p>
|
|
<p>
|
|
The thread of control that calls RepHoldElection must not be the
|
|
thread of control that processes incoming messages; processing the
|
|
incoming messages is necessary to successfully complete an election.
|
|
</p>
|
|
<p>
|
|
Before calling this method, the <a href="P_BerkeleyDB_DatabaseEnvironment_RepTransport.htm">RepTransport</a> delegate
|
|
must already have been configured to send replication messages.
|
|
</p>
|
|
</div></td></tr><tr data="public;declared;notNetfw;"><td><img src="../icons/pubmethod.gif" title="Public method" /></td><td><a href="Overload_BerkeleyDB_DatabaseEnvironment_ReplicationSystemStats.htm">ReplicationSystemStats</a></td><td>Overloaded. </td></tr><tr data="public;declared;notNetfw;"><td><img src="../icons/pubmethod.gif" title="Public method" /></td><td><a href="M_BerkeleyDB_DatabaseEnvironment_RepMgrChannel.htm">RepMgrChannel</a></td><td><div class="summary">
|
|
Create DbChannel with given eid.
|
|
</div></td></tr><tr data="public;declared;notNetfw;"><td><img src="../icons/pubmethod.gif" title="Public method" /></td><td><a href="M_BerkeleyDB_DatabaseEnvironment_RepmgrSetIncomingQueueMax.htm">RepmgrSetIncomingQueueMax</a></td><td><div class="summary">
|
|
Set a byte-count limit on the maximum amount of dynamic memory
|
|
used by the Replication Manager incoming queue.
|
|
</div></td></tr><tr data="public;declared;notNetfw;"><td><img src="../icons/pubmethod.gif" title="Public method" /></td><td><a href="Overload_BerkeleyDB_DatabaseEnvironment_RepMgrSite.htm">RepMgrSite</a></td><td>Overloaded. </td></tr><tr data="public;declared;notNetfw;"><td><img src="../icons/pubmethod.gif" title="Public method" /></td><td><a href="M_BerkeleyDB_DatabaseEnvironment_RepMgrSiteConfig.htm">RepMgrSiteConfig</a></td><td><div class="summary">
|
|
Configure a site in the replication manager.
|
|
</div></td></tr><tr data="public;declared;notNetfw;"><td><img src="../icons/pubmethod.gif" title="Public method" /></td><td><a href="Overload_BerkeleyDB_DatabaseEnvironment_RepMgrStartClient.htm">RepMgrStartClient</a></td><td>Overloaded. <div class="summary">
|
|
<p>
|
|
There are two ways to build Berkeley DB replication applications:
|
|
the most common approach is to use the Berkeley DB library
|
|
"replication manager" support, where the Berkeley DB library manages
|
|
the replication group, including network transport, all replication
|
|
message processing and acknowledgment, and group elections.
|
|
Applications using the replication manager support generally make
|
|
the following calls:
|
|
</p>
|
|
<ol><li>
|
|
Configure the local site in the replication group,
|
|
<a href="P_BerkeleyDB_DatabaseEnvironment_RepMgrLocalSite.htm">RepMgrLocalSite</a>.
|
|
</li><li>
|
|
Call <a href="M_BerkeleyDB_DatabaseEnvironment_RepMgrSiteConfig.htm">RepMgrSiteConfig(DbSiteConfig)</a> to configure the remote
|
|
site(s) in the replication group.
|
|
</li><li>Configure the message acknowledgment policy
|
|
(<a href="P_BerkeleyDB_DatabaseEnvironment_RepMgrAckPolicy.htm">RepMgrAckPolicy</a>) which provides the replication group's
|
|
transactional needs.
|
|
</li><li>
|
|
Configure the local site's election priority,
|
|
<a href="P_BerkeleyDB_DatabaseEnvironment_RepPriority.htm">RepPriority</a>.
|
|
</li><li>
|
|
Call <a href="M_BerkeleyDB_DatabaseEnvironment_RepMgrStartClient.htm">RepMgrStartClient(Int32)</a> or
|
|
<a href="M_BerkeleyDB_DatabaseEnvironment_RepMgrStartMaster.htm">RepMgrStartMaster(Int32)</a> to start the replication
|
|
application.
|
|
</li></ol>
|
|
<p>
|
|
For more information on building replication manager applications,
|
|
please see the Replication Getting Started Guide included in the
|
|
Berkeley DB documentation.
|
|
</p>
|
|
<p>
|
|
Applications with special needs (for example, applications using
|
|
network protocols not supported by the Berkeley DB replication
|
|
manager), must perform additional configuration and call other
|
|
Berkeley DB replication methods. For more information on building
|
|
advanced replication applications, please see the Base Replication
|
|
API section in the Berkeley DB Programmer's Reference Guide for more
|
|
information.
|
|
</p>
|
|
<p>
|
|
Starting the replication manager consists of opening the TCP/IP
|
|
listening socket to accept incoming connections, and starting all
|
|
necessary background threads. When multiple processes share a
|
|
database environment, only one process can open the listening
|
|
socket; <a href="M_BerkeleyDB_DatabaseEnvironment_RepMgrStartClient.htm">RepMgrStartClient(Int32)</a> (and
|
|
<a href="M_BerkeleyDB_DatabaseEnvironment_RepMgrStartMaster.htm">RepMgrStartMaster(Int32)</a>) automatically open the socket in
|
|
the first process to call it, and skips this step in the later calls
|
|
from other processes.
|
|
</p>
|
|
</div></td></tr><tr data="public;declared;notNetfw;"><td><img src="../icons/pubmethod.gif" title="Public method" /></td><td><a href="M_BerkeleyDB_DatabaseEnvironment_RepMgrStartMaster.htm">RepMgrStartMaster</a></td><td><div class="summary">
|
|
Start the replication manager as a master site, and do not call for
|
|
an election.
|
|
</div></td></tr><tr data="public;declared;notNetfw;"><td><img src="../icons/pubmethod.gif" title="Public method" /></td><td><a href="Overload_BerkeleyDB_DatabaseEnvironment_RepMgrSystemStats.htm">RepMgrSystemStats</a></td><td>Overloaded. </td></tr><tr data="public;declared;notNetfw;"><td><img src="../icons/pubmethod.gif" title="Public method" /></td><td><a href="M_BerkeleyDB_DatabaseEnvironment_RepProcessMessage.htm">RepProcessMessage</a></td><td><div class="summary">
|
|
Process an incoming replication message sent by a member of the
|
|
replication group to the local database environment.
|
|
</div></td></tr><tr data="public;declared;notNetfw;"><td><img src="../icons/pubmethod.gif" title="Public method" /></td><td><a href="M_BerkeleyDB_DatabaseEnvironment_RepSetClockskew.htm">RepSetClockskew</a></td><td><div class="summary">
|
|
Set the clock skew ratio among replication group members based on
|
|
the fastest and slowest measurements among the group for use with
|
|
master leases.
|
|
</div></td></tr><tr data="public;declared;notNetfw;"><td><img src="../icons/pubmethod.gif" title="Public method" /></td><td><a href="M_BerkeleyDB_DatabaseEnvironment_RepSetRetransmissionRequest.htm">RepSetRetransmissionRequest</a></td><td><div class="summary">
|
|
Set a threshold for the minimum and maximum time that a client waits
|
|
before requesting retransmission of a missing message.
|
|
</div></td></tr><tr data="public;declared;notNetfw;"><td><img src="../icons/pubmethod.gif" title="Public method" /></td><td><a href="M_BerkeleyDB_DatabaseEnvironment_RepSetTransmitLimit.htm">RepSetTransmitLimit</a></td><td><div class="summary">
|
|
Set a byte-count limit on the amount of data that is
|
|
transmitted from a site in response to a single message processed by
|
|
<a href="M_BerkeleyDB_DatabaseEnvironment_RepProcessMessage.htm">RepProcessMessage(DatabaseEntry, DatabaseEntry, Int32)</a>. The limit is not a hard limit, and
|
|
the record that exceeds the limit is the last record to be sent.
|
|
</div></td></tr><tr data="public;declared;notNetfw;"><td><img src="../icons/pubmethod.gif" title="Public method" /></td><td><a href="M_BerkeleyDB_DatabaseEnvironment_RepSetTransport.htm">RepSetTransport</a></td><td><div class="summary">
|
|
Initialize the communication infrastructure for a database
|
|
environment participating in a replicated application.
|
|
</div></td></tr><tr data="public;declared;notNetfw;"><td><img src="../icons/pubmethod.gif" title="Public method" /></td><td><a href="Overload_BerkeleyDB_DatabaseEnvironment_RepStartClient.htm">RepStartClient</a></td><td>Overloaded. <div class="summary">
|
|
<p>
|
|
RepStartClient is not called by most replication applications. It
|
|
should only be called by applications implementing their own network
|
|
transport layer, explicitly holding replication group elections and
|
|
handling replication messages outside of the replication manager
|
|
framework.
|
|
</p>
|
|
<p>
|
|
Replication master environments are the only database environments
|
|
where replicated databases may be modified. Replication client
|
|
environments are read-only as long as they are clients. Replication
|
|
client environments may be upgraded to be replication master
|
|
environments in the case that the current master fails or there is
|
|
no master present. If master leases are in use, this method cannot
|
|
be used to appoint a master, and should only be used to configure a
|
|
database environment as a master as the result of an election.
|
|
</p>
|
|
<p>
|
|
Before calling this method, the <a href="P_BerkeleyDB_DatabaseEnvironment_RepTransport.htm">RepTransport</a> delegate
|
|
must already have been configured to send replication messages.
|
|
</p>
|
|
</div></td></tr><tr data="public;declared;notNetfw;"><td><img src="../icons/pubmethod.gif" title="Public method" /></td><td><a href="Overload_BerkeleyDB_DatabaseEnvironment_RepStartMaster.htm">RepStartMaster</a></td><td>Overloaded. <div class="summary">
|
|
<p>
|
|
RepStartMaster is not called by most replication applications. It
|
|
should only be called by applications implementing their own network
|
|
transport layer, explicitly holding replication group elections and
|
|
handling replication messages outside of the replication manager
|
|
framework.
|
|
</p>
|
|
<p>
|
|
Replication master environments are the only database environments
|
|
where replicated databases may be modified. Replication client
|
|
environments are read-only as long as they are clients. Replication
|
|
client environments may be upgraded to be replication master
|
|
environments in the case that the current master fails or there is
|
|
no master present. If master leases are in use, this method cannot
|
|
be used to appoint a master, and should only be used to configure a
|
|
database environment as a master as the result of an election.
|
|
</p>
|
|
<p>
|
|
Before calling this method, the <a href="P_BerkeleyDB_DatabaseEnvironment_RepTransport.htm">RepTransport</a> delegate
|
|
must already have been configured to send replication messages.
|
|
</p>
|
|
</div></td></tr><tr data="public;declared;notNetfw;"><td><img src="../icons/pubmethod.gif" title="Public method" /></td><td><a href="M_BerkeleyDB_DatabaseEnvironment_RepSync.htm">RepSync</a></td><td><div class="summary">
|
|
Force master synchronization to begin for this client.
|
|
</div></td></tr><tr data="public;declared;notNetfw;"><td><img src="../icons/pubmethod.gif" title="Public method" /></td><td><a href="M_BerkeleyDB_DatabaseEnvironment_ResetFileID.htm">ResetFileID</a></td><td><div class="summary">
|
|
Allow database files to be copied and used in the same database
|
|
environment as the original.
|
|
</div></td></tr><tr data="public;declared;notNetfw;"><td><img src="../icons/pubmethod.gif" title="Public method" /></td><td><a href="M_BerkeleyDB_DatabaseEnvironment_ResetLSN.htm">ResetLSN</a></td><td><div class="summary">
|
|
Allow database files to be moved from one transactional database
|
|
environment to another.
|
|
</div></td></tr><tr data="public;declared;notNetfw;"><td><img src="../icons/pubmethod.gif" title="Public method" /></td><td><a href="M_BerkeleyDB_DatabaseEnvironment_SetMaxSequentialWrites.htm">SetMaxSequentialWrites</a></td><td><div class="summary">
|
|
Limit the number of sequential write operations scheduled by the
|
|
library when flushing dirty pages from the cache.
|
|
</div></td></tr><tr data="public;declared;notNetfw;"><td><img src="../icons/pubmethod.gif" title="Public method" /></td><td><a href="Overload_BerkeleyDB_DatabaseEnvironment_SyncMemPool.htm">SyncMemPool</a></td><td>Overloaded. </td></tr><tr data="public;inherited;notNetfw;"><td><img src="../icons/pubmethod.gif" title="Public method" /></td><td><a href="http://msdn2.microsoft.com/en-us/library/7bxwbwt2" target="_blank">ToString</a></td><td><div class="summary">
|
|
Returns a <a href="http://msdn2.microsoft.com/en-us/library/s1wwdcbf" target="_blank">String</a> that represents the current <a href="http://msdn2.microsoft.com/en-us/library/e5kfa45b" target="_blank">Object</a>.
|
|
</div> (Inherited from <a href="http://msdn2.microsoft.com/en-us/library/e5kfa45b" target="_blank">Object</a>.)</td></tr><tr data="public;declared;notNetfw;"><td><img src="../icons/pubmethod.gif" title="Public method" /></td><td><a href="Overload_BerkeleyDB_DatabaseEnvironment_TransactionSystemStats.htm">TransactionSystemStats</a></td><td>Overloaded. </td></tr><tr data="public;declared;notNetfw;"><td><img src="../icons/pubmethod.gif" title="Public method" /></td><td><a href="M_BerkeleyDB_DatabaseEnvironment_TrickleCleanMemPool.htm">TrickleCleanMemPool</a></td><td><div class="summary">
|
|
Ensure that a specified percent of the pages in the cache are clean,
|
|
by writing dirty pages to their backing files.
|
|
</div></td></tr><tr data="public;declared;notNetfw;"><td><img src="../icons/pubmethod.gif" title="Public method" /></td><td><a href="Overload_BerkeleyDB_DatabaseEnvironment_WriteToLog.htm">WriteToLog</a></td><td>Overloaded. <div class="summary">
|
|
WriteToLog allows applications to include information in the
|
|
database environment log files, for later review using the
|
|
db_printlog utility. This method is intended for debugging and
|
|
performance tuning.
|
|
</div><div class="summary">
|
|
WriteToLog allows applications to include information in the
|
|
database environment log files, for later review using the
|
|
db_printlog utility. This method is intended for debugging and
|
|
performance tuning.
|
|
</div></td></tr></table></div><h1 class="heading"><span onclick="ExpandCollapse(propertyTableToggle)" style="cursor:default;" onkeypress="ExpandCollapse_CheckKey(propertyTableToggle, event)" tabindex="0"><img id="propertyTableToggle" class="toggle" name="toggleSwitch" src="../icons/collapse_all.gif" />Properties</span></h1><div id="propertyTableSection" class="section" name="collapseableSection" style=""><table id="memberList" class="members" frame="lhs" cellpadding="2"><col width="10%" /><tr><th class="iconColumn">
|
|
|
|
</th><th class="nameColumn">Name</th><th class="descriptionColumn">Description</th></tr><tr data="public;declared;notNetfw;"><td><img src="../icons/pubproperty.gif" title="Public property" /></td><td><a href="P_BerkeleyDB_DatabaseEnvironment_AutoCommit.htm">AutoCommit</a></td><td><div class="summary">
|
|
If true, database operations for which no explicit transaction
|
|
handle was specified, and which modify databases in the database
|
|
environment, are automatically enclosed within a transaction.
|
|
</div></td></tr><tr data="public;declared;notNetfw;"><td><img src="../icons/pubproperty.gif" title="Public property" /></td><td><a href="P_BerkeleyDB_DatabaseEnvironment_BackupBufferSize.htm">BackupBufferSize</a></td><td><div class="summary">
|
|
The size of the buffer, in bytes, to read from the database during a
|
|
hot backup.
|
|
</div></td></tr><tr data="public;declared;notNetfw;"><td><img src="../icons/pubproperty.gif" title="Public property" /></td><td><a href="P_BerkeleyDB_DatabaseEnvironment_BackupHandler.htm">BackupHandler</a></td><td><div class="summary">
|
|
Sets the <a href="T_BerkeleyDB_IBackup.htm">IBackup</a> interface to be used when performing
|
|
hot backups.
|
|
<p>
|
|
This interface is used to override the default behavior used by the
|
|
<a href="M_BerkeleyDB_DatabaseEnvironment_Backup.htm">Backup(String, BackupOptions)</a> and
|
|
<a href="M_BerkeleyDB_DatabaseEnvironment_BackupDatabase.htm">BackupDatabase(String, String, Boolean)</a> methods.
|
|
</p></div></td></tr><tr data="public;declared;notNetfw;"><td><img src="../icons/pubproperty.gif" title="Public property" /></td><td><a href="P_BerkeleyDB_DatabaseEnvironment_BackupReadCount.htm">BackupReadCount</a></td><td><div class="summary">
|
|
The number of pages to read before pausing during the hot backup.
|
|
<p>
|
|
Increasing this value increases the amount of I/O the backup process
|
|
performs for any given time interval. If your application is already
|
|
heavily I/O bound, setting this value to a lower number may help to
|
|
improve your overall data throughput by reducing the I/O demands
|
|
placed on your system. By default, all pages are read without a
|
|
pause.
|
|
</p></div></td></tr><tr data="public;declared;notNetfw;"><td><img src="../icons/pubproperty.gif" title="Public property" /></td><td><a href="P_BerkeleyDB_DatabaseEnvironment_BackupReadSleepDuration.htm">BackupReadSleepDuration</a></td><td><div class="summary">
|
|
The number of microseconds to sleep between batches of reads during
|
|
a hot backup.
|
|
<p>
|
|
Increasing this value decreases the amount of I/O the backup process
|
|
performs for any given time interval. If your application is already
|
|
heavily I/O bound, setting this value to a higher number may help to
|
|
improve your overall data throughput by reducing the I/O demands
|
|
placed on your system.
|
|
</p></div></td></tr><tr data="public;declared;notNetfw;"><td><img src="../icons/pubproperty.gif" title="Public property" /></td><td><a href="P_BerkeleyDB_DatabaseEnvironment_BackupWriteDirect.htm">BackupWriteDirect</a></td><td><div class="summary">
|
|
If true, direct I/O is used when writing pages to the disk during a
|
|
hot backup.
|
|
<p>
|
|
For some environments, direct I/O can provide faster write
|
|
throughput, but usually it is slower because the OS buffer pool
|
|
offers asynchronous activity.
|
|
</p></div></td></tr><tr data="public;declared;notNetfw;"><td><img src="../icons/pubproperty.gif" title="Public property" /></td><td><a href="P_BerkeleyDB_DatabaseEnvironment_BlobDir.htm">BlobDir</a></td><td><div class="summary">
|
|
Deprecated. Replaced by ExternalFileDir.
|
|
</div></td></tr><tr data="public;declared;notNetfw;"><td><img src="../icons/pubproperty.gif" title="Public property" /></td><td><a href="P_BerkeleyDB_DatabaseEnvironment_BlobThreshold.htm">BlobThreshold</a></td><td><div class="summary">
|
|
Deprecated. Replaced by ExternalFileThreshold.
|
|
</div></td></tr><tr data="public;declared;notNetfw;"><td><img src="../icons/pubproperty.gif" title="Public property" /></td><td><a href="P_BerkeleyDB_DatabaseEnvironment_CacheSize.htm">CacheSize</a></td><td><div class="summary">
|
|
The size of the shared memory buffer pool (the cache).
|
|
</div></td></tr><tr data="public;declared;notNetfw;"><td><img src="../icons/pubproperty.gif" title="Public property" /></td><td><a href="P_BerkeleyDB_DatabaseEnvironment_CDB_ALLDB.htm">CDB_ALLDB</a></td><td><div class="summary">
|
|
If true, Berkeley DB Concurrent Data Store applications perform
|
|
locking on an environment-wide basis rather than on a per-database
|
|
basis.
|
|
</div></td></tr><tr data="public;declared;notNetfw;"><td><img src="../icons/pubproperty.gif" title="Public property" /></td><td><a href="P_BerkeleyDB_DatabaseEnvironment_Create.htm">Create</a></td><td><div class="summary">
|
|
If true, Berkeley DB subsystems create any underlying files, as
|
|
necessary.
|
|
</div></td></tr><tr data="public;declared;notNetfw;"><td><img src="../icons/pubproperty.gif" title="Public property" /></td><td><a href="P_BerkeleyDB_DatabaseEnvironment_DataDirs.htm">DataDirs</a></td><td><div class="summary">
|
|
The array of directories where database files are stored.
|
|
</div></td></tr><tr data="public;declared;notNetfw;"><td><img src="../icons/pubproperty.gif" title="Public property" /></td><td><a href="P_BerkeleyDB_DatabaseEnvironment_DeadlockResolution.htm">DeadlockResolution</a></td><td><div class="summary">
|
|
The deadlock detector configuration, specifying which lock request(s)
|
|
should be rejected. As transactions acquire locks on behalf of a
|
|
single locker ID, rejecting a lock request associated with a
|
|
transaction normally requires the transaction to be aborted.
|
|
</div></td></tr><tr data="public;declared;notNetfw;"><td><img src="../icons/pubproperty.gif" title="Public property" /></td><td><a href="P_BerkeleyDB_DatabaseEnvironment_EncryptAlgorithm.htm">EncryptAlgorithm</a></td><td><div class="summary">
|
|
The algorithm used by the Berkeley DB library to perform encryption
|
|
and decryption.
|
|
</div></td></tr><tr data="public;declared;notNetfw;"><td><img src="../icons/pubproperty.gif" title="Public property" /></td><td><a href="P_BerkeleyDB_DatabaseEnvironment_ErrorFeedback.htm">ErrorFeedback</a></td><td><div class="summary">
|
|
The mechanism for reporting detailed error messages to the
|
|
application.
|
|
</div></td></tr><tr data="public;declared;notNetfw;"><td><img src="../icons/pubproperty.gif" title="Public property" /></td><td><a href="P_BerkeleyDB_DatabaseEnvironment_ErrorPrefix.htm">ErrorPrefix</a></td><td><div class="summary">
|
|
The prefix string that appears before error messages issued by
|
|
Berkeley DB.
|
|
</div></td></tr><tr data="public;declared;notNetfw;"><td><img src="../icons/pubproperty.gif" title="Public property" /></td><td><a href="P_BerkeleyDB_DatabaseEnvironment_EventNotify.htm">EventNotify</a></td><td><div class="summary">
|
|
A delegate which is called to notify the process of specific
|
|
Berkeley DB events.
|
|
</div></td></tr><tr data="public;declared;notNetfw;"><td><img src="../icons/pubproperty.gif" title="Public property" /></td><td><a href="P_BerkeleyDB_DatabaseEnvironment_ExternalFileDir.htm">ExternalFileDir</a></td><td><div class="summary">
|
|
The path of the directory where external files are stored.
|
|
</div></td></tr><tr data="public;declared;notNetfw;"><td><img src="../icons/pubproperty.gif" title="Public property" /></td><td><a href="P_BerkeleyDB_DatabaseEnvironment_ExternalFileThreshold.htm">ExternalFileThreshold</a></td><td><div class="summary">
|
|
The size in bytes which is used to determine when a data item
|
|
is stored as an external file.
|
|
<p>
|
|
Any data item that is equal to or larger in size than the
|
|
threshold value is automatically stored as an external file.
|
|
</p><p>
|
|
If the threshold value is 0, databases opened in the environment
|
|
default to never using external file support.
|
|
</p></div></td></tr><tr data="public;declared;notNetfw;"><td><img src="../icons/pubproperty.gif" title="Public property" /></td><td><a href="P_BerkeleyDB_DatabaseEnvironment_Feedback.htm">Feedback</a></td><td><div class="summary">
|
|
Monitor progress within long running operations.
|
|
</div></td></tr><tr data="public;declared;notNetfw;"><td><img src="../icons/pubproperty.gif" title="Public property" /></td><td><a href="P_BerkeleyDB_DatabaseEnvironment_ForceFlush.htm">ForceFlush</a></td><td><div class="summary">
|
|
If true, flush database writes to the backing disk before returning
|
|
from the write system call, rather than flushing database writes
|
|
explicitly in a separate system call, as necessary.
|
|
</div></td></tr><tr data="public;declared;notNetfw;"><td><img src="../icons/pubproperty.gif" title="Public property" /></td><td><a href="P_BerkeleyDB_DatabaseEnvironment_FreeThreaded.htm">FreeThreaded</a></td><td><div class="summary">
|
|
If true, the object is free-threaded; that is, concurrently usable
|
|
by multiple threads in the address space.
|
|
</div></td></tr><tr data="public;declared;notNetfw;"><td><img src="../icons/pubproperty.gif" title="Public property" /></td><td><a href="P_BerkeleyDB_DatabaseEnvironment_Home.htm">Home</a></td><td><div class="summary">
|
|
The database environment home directory.
|
|
</div></td></tr><tr data="public;declared;notNetfw;"><td><img src="../icons/pubproperty.gif" title="Public property" /></td><td><a href="P_BerkeleyDB_DatabaseEnvironment_HotbackupInProgress.htm">HotbackupInProgress</a></td><td><div class="summary">
|
|
Whether there is any hot backup in progress.
|
|
</div></td></tr><tr data="public;declared;notNetfw;"><td><img src="../icons/pubproperty.gif" title="Public property" /></td><td><a href="P_BerkeleyDB_DatabaseEnvironment_InitLockCount.htm">InitLockCount</a></td><td><div class="summary">
|
|
The number of locks allocated when the environment is created
|
|
</div></td></tr><tr data="public;declared;notNetfw;"><td><img src="../icons/pubproperty.gif" title="Public property" /></td><td><a href="P_BerkeleyDB_DatabaseEnvironment_InitLockerCount.htm">InitLockerCount</a></td><td><div class="summary">
|
|
The number of lockers allocated when the environment is created
|
|
</div></td></tr><tr data="public;declared;notNetfw;"><td><img src="../icons/pubproperty.gif" title="Public property" /></td><td><a href="P_BerkeleyDB_DatabaseEnvironment_InitLockObjectCount.htm">InitLockObjectCount</a></td><td><div class="summary">
|
|
The number of lock objects allocated when the environment is created
|
|
</div></td></tr><tr data="public;declared;notNetfw;"><td><img src="../icons/pubproperty.gif" title="Public property" /></td><td><a href="P_BerkeleyDB_DatabaseEnvironment_InitLogIdCount.htm">InitLogIdCount</a></td><td><div class="summary">
|
|
The number of log identifier objects allocated when the
|
|
environment is created
|
|
</div></td></tr><tr data="public;declared;notNetfw;"><td><img src="../icons/pubproperty.gif" title="Public property" /></td><td><a href="P_BerkeleyDB_DatabaseEnvironment_InitMutexes.htm">InitMutexes</a></td><td><div class="summary">
|
|
The initial number of mutexes allocated
|
|
</div></td></tr><tr data="public;declared;notNetfw;"><td><img src="../icons/pubproperty.gif" title="Public property" /></td><td><a href="P_BerkeleyDB_DatabaseEnvironment_InitRegions.htm">InitRegions</a></td><td><div class="summary">
|
|
If true, Berkeley DB page-faults shared regions into memory when
|
|
initially creating or joining a Berkeley DB environment.
|
|
</div></td></tr><tr data="public;declared;notNetfw;"><td><img src="../icons/pubproperty.gif" title="Public property" /></td><td><a href="P_BerkeleyDB_DatabaseEnvironment_InitThreadCount.htm">InitThreadCount</a></td><td><div class="summary">
|
|
The number of thread objects allocated when the environment is
|
|
created
|
|
</div></td></tr><tr data="public;declared;notNetfw;"><td><img src="../icons/pubproperty.gif" title="Public property" /></td><td><a href="P_BerkeleyDB_DatabaseEnvironment_InitTxnCount.htm">InitTxnCount</a></td><td><div class="summary">
|
|
The number of transaction objects allocated when the environment is
|
|
created
|
|
</div></td></tr><tr data="public;declared;notNetfw;"><td><img src="../icons/pubproperty.gif" title="Public property" /></td><td><a href="P_BerkeleyDB_DatabaseEnvironment_IntermediateDirMode.htm">IntermediateDirMode</a></td><td><div class="summary">
|
|
The intermediate directory permissions.
|
|
</div></td></tr><tr data="public;declared;notNetfw;"><td><img src="../icons/pubproperty.gif" title="Public property" /></td><td><a href="P_BerkeleyDB_DatabaseEnvironment_LockConflictMatrix.htm">LockConflictMatrix</a></td><td><div class="summary">
|
|
The current lock conflicts array.
|
|
</div></td></tr><tr data="public;declared;notNetfw;"><td><img src="../icons/pubproperty.gif" title="Public property" /></td><td><a href="P_BerkeleyDB_DatabaseEnvironment_Lockdown.htm">Lockdown</a></td><td><div class="summary">
|
|
If true, lock shared Berkeley DB environment files and memory-mapped
|
|
databases into memory.
|
|
</div></td></tr><tr data="public;declared;notNetfw;"><td><img src="../icons/pubproperty.gif" title="Public property" /></td><td><a href="P_BerkeleyDB_DatabaseEnvironment_LockPartitions.htm">LockPartitions</a></td><td><div class="summary">
|
|
The number of lock table partitions used in the Berkeley DB
|
|
environment.
|
|
</div></td></tr><tr data="public;declared;notNetfw;"><td><img src="../icons/pubproperty.gif" title="Public property" /></td><td><a href="P_BerkeleyDB_DatabaseEnvironment_LockTableSize.htm">LockTableSize</a></td><td><div class="summary">
|
|
The size of the lock table in the Berkeley DB environment.
|
|
</div></td></tr><tr data="public;declared;notNetfw;"><td><img src="../icons/pubproperty.gif" title="Public property" /></td><td><a href="P_BerkeleyDB_DatabaseEnvironment_LockTimeout.htm">LockTimeout</a></td><td><div class="summary">
|
|
A value, in microseconds, representing lock timeouts.
|
|
</div></td></tr><tr data="public;declared;notNetfw;"><td><img src="../icons/pubproperty.gif" title="Public property" /></td><td><a href="P_BerkeleyDB_DatabaseEnvironment_LogAutoRemove.htm">LogAutoRemove</a></td><td><div class="summary">
|
|
If true, Berkeley DB automatically removes log files that are no
|
|
longer needed.
|
|
</div></td></tr><tr data="public;declared;notNetfw;"><td><img src="../icons/pubproperty.gif" title="Public property" /></td><td><a href="P_BerkeleyDB_DatabaseEnvironment_LogBlobContent.htm">LogBlobContent</a></td><td><div class="summary">
|
|
Deprecated. Replaced by LogExternalFileContent
|
|
</div></td></tr><tr data="public;declared;notNetfw;"><td><img src="../icons/pubproperty.gif" title="Public property" /></td><td><a href="P_BerkeleyDB_DatabaseEnvironment_LogBufferSize.htm">LogBufferSize</a></td><td><div class="summary">
|
|
The size of the in-memory log buffer, in bytes
|
|
</div></td></tr><tr data="public;declared;notNetfw;"><td><img src="../icons/pubproperty.gif" title="Public property" /></td><td><a href="P_BerkeleyDB_DatabaseEnvironment_LogDir.htm">LogDir</a></td><td><div class="summary">
|
|
The path of a directory to be used as the location of logging files.
|
|
Log files created by the Log Manager subsystem are created in
|
|
this directory.
|
|
</div></td></tr><tr data="public;declared;notNetfw;"><td><img src="../icons/pubproperty.gif" title="Public property" /></td><td><a href="P_BerkeleyDB_DatabaseEnvironment_LogExternalFileContent.htm">LogExternalFileContent</a></td><td><div class="summary">
|
|
If true, enables full logging of external file data.
|
|
Required if using HA or the hotbackup utility.
|
|
</div></td></tr><tr data="public;declared;notNetfw;"><td><img src="../icons/pubproperty.gif" title="Public property" /></td><td><a href="P_BerkeleyDB_DatabaseEnvironment_LogFileMode.htm">LogFileMode</a></td><td><div class="summary">
|
|
The absolute file mode for created log files. This property is only
|
|
useful for the rare Berkeley DB application that does not control
|
|
its umask value.
|
|
</div></td></tr><tr data="public;declared;notNetfw;"><td><img src="../icons/pubproperty.gif" title="Public property" /></td><td><a href="P_BerkeleyDB_DatabaseEnvironment_LogForceSync.htm">LogForceSync</a></td><td><div class="summary">
|
|
If true, Berkeley DB flushes log writes to the backing disk
|
|
before returning from the write system call, rather than flushing
|
|
log writes explicitly in a separate system call, as necessary.
|
|
</div></td></tr><tr data="public;declared;notNetfw;"><td><img src="../icons/pubproperty.gif" title="Public property" /></td><td><a href="P_BerkeleyDB_DatabaseEnvironment_LogInMemory.htm">LogInMemory</a></td><td><div class="summary">
|
|
If true, transaction logs are maintained in-memory rather than on
|
|
disk. This means that transactions exhibit the ACI (atomicity,
|
|
consistency, and isolation) properties, but not D (durability).
|
|
</div></td></tr><tr data="public;declared;notNetfw;"><td><img src="../icons/pubproperty.gif" title="Public property" /></td><td><a href="P_BerkeleyDB_DatabaseEnvironment_LogNoBuffer.htm">LogNoBuffer</a></td><td><div class="summary">
|
|
If true, system buffering is turned off for Berkeley DB log files to
|
|
avoid double caching.
|
|
</div></td></tr><tr data="public;declared;notNetfw;"><td><img src="../icons/pubproperty.gif" title="Public property" /></td><td><a href="P_BerkeleyDB_DatabaseEnvironment_LogNoSync.htm">LogNoSync</a></td><td><div class="summary">
|
|
If true, Berkeley DB avoids the fsync() call when the log files are
|
|
flushed.
|
|
</div></td></tr><tr data="public;declared;notNetfw;"><td><img src="../icons/pubproperty.gif" title="Public property" /></td><td><a href="P_BerkeleyDB_DatabaseEnvironment_LogRegionSize.htm">LogRegionSize</a></td><td><div class="summary">
|
|
The size of the underlying logging area of the Berkeley DB
|
|
environment, in bytes.
|
|
</div></td></tr><tr data="public;declared;notNetfw;"><td><img src="../icons/pubproperty.gif" title="Public property" /></td><td><a href="P_BerkeleyDB_DatabaseEnvironment_LogZeroOnCreate.htm">LogZeroOnCreate</a></td><td><div class="summary">
|
|
If true, all pages of a log file are zeroed when that log file is
|
|
created.
|
|
</div></td></tr><tr data="public;declared;notNetfw;"><td><img src="../icons/pubproperty.gif" title="Public property" /></td><td><a href="P_BerkeleyDB_DatabaseEnvironment_MaxCacheSize.htm">MaxCacheSize</a></td><td><div class="summary">
|
|
The maximum cache size
|
|
</div></td></tr><tr data="public;declared;notNetfw;"><td><img src="../icons/pubproperty.gif" title="Public property" /></td><td><a href="P_BerkeleyDB_DatabaseEnvironment_MaxLockers.htm">MaxLockers</a></td><td><div class="summary">
|
|
The maximum number of locking entities supported by the Berkeley DB
|
|
environment.
|
|
</div></td></tr><tr data="public;declared;notNetfw;"><td><img src="../icons/pubproperty.gif" title="Public property" /></td><td><a href="P_BerkeleyDB_DatabaseEnvironment_MaxLocks.htm">MaxLocks</a></td><td><div class="summary">
|
|
The maximum number of locks supported by the Berkeley DB
|
|
environment.
|
|
</div></td></tr><tr data="public;declared;notNetfw;"><td><img src="../icons/pubproperty.gif" title="Public property" /></td><td><a href="P_BerkeleyDB_DatabaseEnvironment_MaxLogFileSize.htm">MaxLogFileSize</a></td><td><div class="summary">
|
|
The maximum size of a single file in the log, in bytes. Because
|
|
<a href="F_BerkeleyDB_LSN_Offset.htm">LSN Offsets</a> are unsigned four-byte
|
|
values, the size may not be larger than the maximum unsigned
|
|
four-byte value.
|
|
</div></td></tr><tr data="public;declared;notNetfw;"><td><img src="../icons/pubproperty.gif" title="Public property" /></td><td><a href="P_BerkeleyDB_DatabaseEnvironment_MaxMutexes.htm">MaxMutexes</a></td><td><div class="summary">
|
|
The total number of mutexes allocated
|
|
</div></td></tr><tr data="public;declared;notNetfw;"><td><img src="../icons/pubproperty.gif" title="Public property" /></td><td><a href="P_BerkeleyDB_DatabaseEnvironment_MaxObjects.htm">MaxObjects</a></td><td><div class="summary">
|
|
The maximum number of locked objects
|
|
</div></td></tr><tr data="public;declared;notNetfw;"><td><img src="../icons/pubproperty.gif" title="Public property" /></td><td><a href="P_BerkeleyDB_DatabaseEnvironment_MaxOpenFiles.htm">MaxOpenFiles</a></td><td><div class="summary">
|
|
The number of file descriptors the library opens concurrently
|
|
when flushing dirty pages from the cache.
|
|
</div></td></tr><tr data="public;declared;notNetfw;"><td><img src="../icons/pubproperty.gif" title="Public property" /></td><td><a href="P_BerkeleyDB_DatabaseEnvironment_MaxSequentialWrites.htm">MaxSequentialWrites</a></td><td><div class="summary">
|
|
The number of sequential write operations scheduled by the library
|
|
when flushing dirty pages from the cache.
|
|
</div></td></tr><tr data="public;declared;notNetfw;"><td><img src="../icons/pubproperty.gif" title="Public property" /></td><td><a href="P_BerkeleyDB_DatabaseEnvironment_MaxTransactions.htm">MaxTransactions</a></td><td><div class="summary">
|
|
The number of active transactions supported by the environment. This
|
|
value bounds the size of the memory allocated for transactions.
|
|
Child transactions are counted as active until they either commit or
|
|
abort.
|
|
</div></td></tr><tr data="public;declared;notNetfw;"><td><img src="../icons/pubproperty.gif" title="Public property" /></td><td><a href="P_BerkeleyDB_DatabaseEnvironment_messageFeedback.htm">messageFeedback</a></td><td><div class="summary">
|
|
The mechanism for reporting detailed statistic messages to the
|
|
application.
|
|
</div></td></tr><tr data="public;declared;notNetfw;"><td><img src="../icons/pubproperty.gif" title="Public property" /></td><td><a href="P_BerkeleyDB_DatabaseEnvironment_MessagePrefix.htm">MessagePrefix</a></td><td><div class="summary">
|
|
The prefix string that appears before informational messages issued
|
|
by Berkeley DB.
|
|
</div></td></tr><tr data="public;declared;notNetfw;"><td><img src="../icons/pubproperty.gif" title="Public property" /></td><td><a href="P_BerkeleyDB_DatabaseEnvironment_MetadataDir.htm">MetadataDir</a></td><td><div class="summary">
|
|
The path of directory to store the persistent metadata.
|
|
</div></td></tr><tr data="public;declared;notNetfw;"><td><img src="../icons/pubproperty.gif" title="Public property" /></td><td><a href="P_BerkeleyDB_DatabaseEnvironment_MMapSize.htm">MMapSize</a></td><td><div class="summary">
|
|
The maximum file size, in bytes, for a file to be mapped into the
|
|
process address space. If no value is specified, it defaults to
|
|
10MB.
|
|
</div></td></tr><tr data="public;declared;notNetfw;"><td><img src="../icons/pubproperty.gif" title="Public property" /></td><td><a href="P_BerkeleyDB_DatabaseEnvironment_Msgfile.htm">Msgfile</a></td><td><div class="summary">
|
|
The message file.
|
|
</div></td></tr><tr data="public;declared;notNetfw;"><td><img src="../icons/pubproperty.gif" title="Public property" /></td><td><a href="P_BerkeleyDB_DatabaseEnvironment_MutexAlignment.htm">MutexAlignment</a></td><td><div class="summary">
|
|
The mutex alignment, in bytes.
|
|
</div></td></tr><tr data="public;declared;notNetfw;"><td><img src="../icons/pubproperty.gif" title="Public property" /></td><td><a href="P_BerkeleyDB_DatabaseEnvironment_MutexIncrement.htm">MutexIncrement</a></td><td><div class="summary">
|
|
The number of additional mutexes allocated.
|
|
</div></td></tr><tr data="public;declared;notNetfw;"><td><img src="../icons/pubproperty.gif" title="Public property" /></td><td><a href="P_BerkeleyDB_DatabaseEnvironment_NoBuffer.htm">NoBuffer</a></td><td><div class="summary">
|
|
If true, turn off system buffering of Berkeley DB database files to
|
|
avoid double caching.
|
|
</div></td></tr><tr data="public;declared;notNetfw;"><td><img src="../icons/pubproperty.gif" title="Public property" /></td><td><a href="P_BerkeleyDB_DatabaseEnvironment_NoLocking.htm">NoLocking</a></td><td><div class="summary">
|
|
If true, Berkeley DB grants all requested mutual exclusion
|
|
mutexes and database locks without regard for their actual
|
|
availability. This functionality should never be used for purposes
|
|
other than debugging.
|
|
</div></td></tr><tr data="public;declared;notNetfw;"><td><img src="../icons/pubproperty.gif" title="Public property" /></td><td><a href="P_BerkeleyDB_DatabaseEnvironment_NoMMap.htm">NoMMap</a></td><td><div class="summary">
|
|
If true, Berkeley DB copies read-only database files into the
|
|
local cache instead of potentially mapping them into process memory.
|
|
</div></td></tr><tr data="public;declared;notNetfw;"><td><img src="../icons/pubproperty.gif" title="Public property" /></td><td><a href="P_BerkeleyDB_DatabaseEnvironment_NoPanic.htm">NoPanic</a></td><td><div class="summary">
|
|
If true, Berkeley DB ignores any panic state in the database
|
|
environment. (Database environments in a panic state normally refuse
|
|
all attempts to call Berkeley DB functions, throwing
|
|
<a href="T_BerkeleyDB_RunRecoveryException.htm">RunRecoveryException</a>.) This functionality should never
|
|
be used for purposes other than debugging.
|
|
</div></td></tr><tr data="public;declared;notNetfw;"><td><img src="../icons/pubproperty.gif" title="Public property" /></td><td><a href="P_BerkeleyDB_DatabaseEnvironment_NumTestAndSetSpins.htm">NumTestAndSetSpins</a></td><td><div class="summary">
|
|
The number of times that test-and-set mutexes should spin without
|
|
blocking. The value defaults to 1 on uniprocessor systems and to 50
|
|
times the number of processors on multiprocessor systems.
|
|
</div></td></tr><tr data="public;declared;notNetfw;"><td><img src="../icons/pubproperty.gif" title="Public property" /></td><td><a href="P_BerkeleyDB_DatabaseEnvironment_Overwrite.htm">Overwrite</a></td><td><div class="summary">
|
|
If true, overwrite files stored in encrypted formats before deleting
|
|
them.
|
|
</div></td></tr><tr data="public;declared;notNetfw;"><td><img src="../icons/pubproperty.gif" title="Public property" /></td><td><a href="P_BerkeleyDB_DatabaseEnvironment_Private.htm">Private</a></td><td><div class="summary">
|
|
If true, allocate region memory from the heap instead of from memory
|
|
backed by the filesystem or system shared memory.
|
|
</div></td></tr><tr data="public;declared;notNetfw;"><td><img src="../icons/pubproperty.gif" title="Public property" /></td><td><a href="P_BerkeleyDB_DatabaseEnvironment_RegionDir.htm">RegionDir</a></td><td><div class="summary">
|
|
The path of a directory to be used as the location of region files.
|
|
Region files created by the Environment are stored in this
|
|
directory.
|
|
</div></td></tr><tr data="public;declared;notNetfw;"><td><img src="../icons/pubproperty.gif" title="Public property" /></td><td><a href="P_BerkeleyDB_DatabaseEnvironment_RegionMemoryLimitBytes.htm">RegionMemoryLimitBytes</a></td><td><div class="summary">
|
|
The bytes component of the byte-count limit on the amount of
|
|
memory to be used by shared structures in the main environment
|
|
region. These are the structures other than mutexes and the page
|
|
cache (memory pool).
|
|
</div></td></tr><tr data="public;declared;notNetfw;"><td><img src="../icons/pubproperty.gif" title="Public property" /></td><td><a href="P_BerkeleyDB_DatabaseEnvironment_RegionMemoryLimitGBytes.htm">RegionMemoryLimitGBytes</a></td><td><div class="summary">
|
|
The gigabytes component of the byte-count limit on the amount of
|
|
memory to be used by shared structures in the main environment
|
|
region. These are the structures other than mutexes and the page
|
|
cache (memory pool).
|
|
</div></td></tr><tr data="public;declared;notNetfw;"><td><img src="../icons/pubproperty.gif" title="Public property" /></td><td><a href="P_BerkeleyDB_DatabaseEnvironment_Register.htm">Register</a></td><td><div class="summary">
|
|
If true, Berkeley DB checks if recovery is needed to
|
|
be performed before opening the database environment.
|
|
</div></td></tr><tr data="public;declared;notNetfw;"><td><img src="../icons/pubproperty.gif" title="Public property" /></td><td><a href="P_BerkeleyDB_DatabaseEnvironment_RepAckTimeout.htm">RepAckTimeout</a></td><td><div class="summary">
|
|
The amount of time the replication manager's transport function
|
|
waits to collect enough acknowledgments from replication group
|
|
clients, before giving up and returning a failure indication. The
|
|
default wait time is 1 second.
|
|
</div></td></tr><tr data="public;declared;notNetfw;"><td><img src="../icons/pubproperty.gif" title="Public property" /></td><td><a href="P_BerkeleyDB_DatabaseEnvironment_RepAutoInit.htm">RepAutoInit</a></td><td><div class="summary">
|
|
If true, the replication master automatically re-initializes
|
|
outdated clients (defaults to true).
|
|
</div></td></tr><tr data="public;declared;notNetfw;"><td><img src="../icons/pubproperty.gif" title="Public property" /></td><td><a href="P_BerkeleyDB_DatabaseEnvironment_RepBulkTransfer.htm">RepBulkTransfer</a></td><td><div class="summary">
|
|
If true, the replication master sends groups of records to the
|
|
clients in a single network transfer
|
|
</div></td></tr><tr data="public;declared;notNetfw;"><td><img src="../icons/pubproperty.gif" title="Public property" /></td><td><a href="P_BerkeleyDB_DatabaseEnvironment_RepCheckpointDelay.htm">RepCheckpointDelay</a></td><td><div class="summary">
|
|
The amount of time a master site delays between completing a
|
|
checkpoint and writing a checkpoint record into the log.
|
|
</div></td></tr><tr data="public;declared;notNetfw;"><td><img src="../icons/pubproperty.gif" title="Public property" /></td><td><a href="P_BerkeleyDB_DatabaseEnvironment_RepClockskewFast.htm">RepClockskewFast</a></td><td><div class="summary">
|
|
The value, relative to <a href="P_BerkeleyDB_DatabaseEnvironment_RepClockskewSlow.htm">RepClockskewSlow</a>, of the
|
|
fastest clock in the group of sites.
|
|
</div></td></tr><tr data="public;declared;notNetfw;"><td><img src="../icons/pubproperty.gif" title="Public property" /></td><td><a href="P_BerkeleyDB_DatabaseEnvironment_RepClockskewSlow.htm">RepClockskewSlow</a></td><td><div class="summary">
|
|
The value of the slowest clock in the group of sites.
|
|
</div></td></tr><tr data="public;declared;notNetfw;"><td><img src="../icons/pubproperty.gif" title="Public property" /></td><td><a href="P_BerkeleyDB_DatabaseEnvironment_RepConnectionRetry.htm">RepConnectionRetry</a></td><td><div class="summary">
|
|
The amount of time the replication manager waits before trying
|
|
to re-establish a connection to another site after a communication
|
|
failure. The default wait time is 30 seconds.
|
|
</div></td></tr><tr data="public;declared;notNetfw;"><td><img src="../icons/pubproperty.gif" title="Public property" /></td><td><a href="P_BerkeleyDB_DatabaseEnvironment_RepDelayClientSync.htm">RepDelayClientSync</a></td><td><div class="summary">
|
|
If true, the client should delay synchronizing to a newly declared
|
|
master (defaults to false). Clients configured in this way remain
|
|
unsynchronized until the application calls <a href="M_BerkeleyDB_DatabaseEnvironment_RepSync.htm">RepSync<span class="languageSpecificText"><span class="cs">()</span><span class="cpp">()</span><span class="nu">()</span></span></a>.
|
|
</div></td></tr><tr data="public;declared;notNetfw;"><td><img src="../icons/pubproperty.gif" title="Public property" /></td><td><a href="P_BerkeleyDB_DatabaseEnvironment_RepElectionRetry.htm">RepElectionRetry</a></td><td><div class="summary">
|
|
Configure the amount of time the replication manager waits
|
|
before retrying a failed election. The default wait time is 10
|
|
seconds.
|
|
</div></td></tr><tr data="public;declared;notNetfw;"><td><img src="../icons/pubproperty.gif" title="Public property" /></td><td><a href="P_BerkeleyDB_DatabaseEnvironment_RepElectionTimeout.htm">RepElectionTimeout</a></td><td><div class="summary">
|
|
The timeout period for an election. The default timeout is 2
|
|
seconds.
|
|
</div></td></tr><tr data="public;declared;notNetfw;"><td><img src="../icons/pubproperty.gif" title="Public property" /></td><td><a href="P_BerkeleyDB_DatabaseEnvironment_RepForwardWrites.htm">RepForwardWrites</a></td><td><div class="summary">
|
|
Enable simple write forwarding for this site. By default, write
|
|
operations cannot be performed on a replication client site. This
|
|
option enables forwarding of simple client put and delete operations
|
|
to the master site for processing. These operations must use an implicit
|
|
NULL transaction ID to be forwarded. Any other write operation that
|
|
specifies a non-NULL transaction throws a DatabaseException. The master
|
|
must have an open database handle for the database on which a forwarded
|
|
write operation is being performed. All sites in the replication group
|
|
should have the same value for this configuration option.
|
|
</div></td></tr><tr data="public;declared;notNetfw;"><td><img src="../icons/pubproperty.gif" title="Public property" /></td><td><a href="P_BerkeleyDB_DatabaseEnvironment_RepFullElectionTimeout.htm">RepFullElectionTimeout</a></td><td><div class="summary">
|
|
An optional configuration timeout period to wait for full election
|
|
participation the first time the replication group finds a master.
|
|
By default this option is turned off and normal election timeouts
|
|
are used. (See the Elections section in the Berkeley DB Reference
|
|
Guide for more information.)
|
|
</div></td></tr><tr data="public;declared;notNetfw;"><td><img src="../icons/pubproperty.gif" title="Public property" /></td><td><a href="P_BerkeleyDB_DatabaseEnvironment_RepHeartbeatMonitor.htm">RepHeartbeatMonitor</a></td><td><div class="summary">
|
|
The amount of time the replication manager, running at a client
|
|
site, waits for some message activity on the connection from the
|
|
master (heartbeats or other messages) before concluding that the
|
|
connection has been lost. When 0 (the default), no monitoring is
|
|
performed.
|
|
</div></td></tr><tr data="public;declared;notNetfw;"><td><img src="../icons/pubproperty.gif" title="Public property" /></td><td><a href="P_BerkeleyDB_DatabaseEnvironment_RepHeartbeatSend.htm">RepHeartbeatSend</a></td><td><div class="summary">
|
|
The frequency at which the replication manager, running at a master
|
|
site, broadcasts a heartbeat message in an otherwise idle system.
|
|
When 0 (the default), no heartbeat messages are sent.
|
|
</div></td></tr><tr data="public;declared;notNetfw;"><td><img src="../icons/pubproperty.gif" title="Public property" /></td><td><a href="P_BerkeleyDB_DatabaseEnvironment_RepInMemory.htm">RepInMemory</a></td><td><div class="summary">
|
|
If true, replication only stores the internal information in-memory
|
|
and cannot keep persistent state across a site crash or reboot. By
|
|
default, it is false and replication creates files in the
|
|
environment home directory to preserve the internal information.
|
|
</div></td></tr><tr data="public;declared;notNetfw;"><td><img src="../icons/pubproperty.gif" title="Public property" /></td><td><a href="P_BerkeleyDB_DatabaseEnvironment_RepLeaseTimeout.htm">RepLeaseTimeout</a></td><td><div class="summary">
|
|
The amount of time a client grants its master lease to a master.
|
|
When using master leases all sites in a replication group must use
|
|
the same lease timeout value. There is no default value. If leases
|
|
are desired, this method must be called prior to calling
|
|
<a href="M_BerkeleyDB_DatabaseEnvironment_RepStartClient.htm">RepStartClient<span class="languageSpecificText"><span class="cs">()</span><span class="cpp">()</span><span class="nu">()</span></span></a> or <a href="M_BerkeleyDB_DatabaseEnvironment_RepStartMaster.htm">RepStartMaster<span class="languageSpecificText"><span class="cs">()</span><span class="cpp">()</span><span class="nu">()</span></span></a>.
|
|
</div></td></tr><tr data="public;declared;notNetfw;"><td><img src="../icons/pubproperty.gif" title="Public property" /></td><td><a href="P_BerkeleyDB_DatabaseEnvironment_ReplicationView.htm">ReplicationView</a></td><td><div class="summary">
|
|
The function used to create a replication view that determines
|
|
whether a database file is replicated to the local site.
|
|
</div></td></tr><tr data="public;declared;notNetfw;"><td><img src="../icons/pubproperty.gif" title="Public property" /></td><td><a href="P_BerkeleyDB_DatabaseEnvironment_RepMessageDispatch.htm">RepMessageDispatch</a></td><td><div class="summary">
|
|
Set the message dispatch function. It is responsible for receiving
|
|
messages sent from remote sites using either
|
|
<a href="M_BerkeleyDB_DbChannel_SendMessage.htm">SendMessage(<span class="languageSpecificText"><span class="cpp">array<</span></span>DatabaseEntry<span class="languageSpecificText"><span class="cpp">></span><span class="cs">[]</span><span class="vb">()</span><span class="nu">[]</span></span>)</a> or <a href="M_BerkeleyDB_DbChannel_SendRequest_1.htm">SendRequest(<span class="languageSpecificText"><span class="cpp">array<</span></span>DatabaseEntry<span class="languageSpecificText"><span class="cpp">></span><span class="cs">[]</span><span class="vb">()</span><span class="nu">[]</span></span>, UInt32)</a>.
|
|
If the message received by this function was sent using
|
|
<a href="M_BerkeleyDB_DbChannel_SendMessage.htm">SendMessage(<span class="languageSpecificText"><span class="cpp">array<</span></span>DatabaseEntry<span class="languageSpecificText"><span class="cpp">></span><span class="cs">[]</span><span class="vb">()</span><span class="nu">[]</span></span>)</a>, then no response is required.
|
|
If the message was sent using <a href="M_BerkeleyDB_DbChannel_SendRequest_1.htm">SendRequest(<span class="languageSpecificText"><span class="cpp">array<</span></span>DatabaseEntry<span class="languageSpecificText"><span class="cpp">></span><span class="cs">[]</span><span class="vb">()</span><span class="nu">[]</span></span>, UInt32)</a>,
|
|
then this function must send a response using
|
|
<a href="M_BerkeleyDB_DbChannel_SendMessage.htm">SendMessage(<span class="languageSpecificText"><span class="cpp">array<</span></span>DatabaseEntry<span class="languageSpecificText"><span class="cpp">></span><span class="cs">[]</span><span class="vb">()</span><span class="nu">[]</span></span>)</a>.
|
|
</div></td></tr><tr data="public;declared;notNetfw;"><td><img src="../icons/pubproperty.gif" title="Public property" /></td><td><a href="P_BerkeleyDB_DatabaseEnvironment_RepMgrAckPolicy.htm">RepMgrAckPolicy</a></td><td><div class="summary">
|
|
Specify how master and client sites handle acknowledgment of
|
|
replication messages which are necessary for "permanent" records.
|
|
The current implementation requires all sites in a replication group
|
|
configure the same acknowledgement policy.
|
|
</div></td></tr><tr data="public;declared;notNetfw;"><td><img src="../icons/pubproperty.gif" title="Public property" /></td><td><a href="P_BerkeleyDB_DatabaseEnvironment_RepmgrIncomingQueueMaxBytes.htm">RepmgrIncomingQueueMaxBytes</a></td><td><div class="summary">
|
|
The bytes component of the maximum amount of dynamic memory
|
|
used by the Replication Manager incoming queue.
|
|
</div></td></tr><tr data="public;declared;notNetfw;"><td><img src="../icons/pubproperty.gif" title="Public property" /></td><td><a href="P_BerkeleyDB_DatabaseEnvironment_RepmgrIncomingQueueMaxGBytes.htm">RepmgrIncomingQueueMaxGBytes</a></td><td><div class="summary">
|
|
The gigabytes component of the maximum amount of dynamic memory
|
|
used by the Replication Manager incoming queue.
|
|
</div></td></tr><tr data="public;declared;notNetfw;"><td><img src="../icons/pubproperty.gif" title="Public property" /></td><td><a href="P_BerkeleyDB_DatabaseEnvironment_RepMgrLocalSite.htm">RepMgrLocalSite</a></td><td><div class="summary">
|
|
The local site of the replication manager. Returns null if the
|
|
local site has not been configured.
|
|
</div></td></tr><tr data="public;declared;notNetfw;"><td><img src="../icons/pubproperty.gif" title="Public property" /></td><td><a href="P_BerkeleyDB_DatabaseEnvironment_RepMgrRemoteSites.htm">RepMgrRemoteSites</a></td><td><div class="summary">
|
|
The status of the sites currently known by the replication manager.
|
|
</div></td></tr><tr data="public;declared;notNetfw;"><td><img src="../icons/pubproperty.gif" title="Public property" /></td><td><a href="P_BerkeleyDB_DatabaseEnvironment_RepMgrRunElections.htm">RepMgrRunElections</a></td><td><div class="summary">
|
|
If true, Replication Manager automatically runs elections to
|
|
choose a new master when the old master disconnects (defaults to true).
|
|
</div></td></tr><tr data="public;declared;notNetfw;"><td><img src="../icons/pubproperty.gif" title="Public property" /></td><td><a href="P_BerkeleyDB_DatabaseEnvironment_RepNoBlocking.htm">RepNoBlocking</a></td><td><div class="summary">
|
|
If true, errors are returned immediately for Berkeley DB method calls
|
|
that would normally block while clients are in recovery
|
|
(defaults to false).
|
|
</div></td></tr><tr data="public;declared;notNetfw;"><td><img src="../icons/pubproperty.gif" title="Public property" /></td><td><a href="P_BerkeleyDB_DatabaseEnvironment_RepNSites.htm">RepNSites</a></td><td><div class="summary">
|
|
The total number of sites in the replication group.
|
|
</div></td></tr><tr data="public;declared;notNetfw;"><td><img src="../icons/pubproperty.gif" title="Public property" /></td><td><a href="P_BerkeleyDB_DatabaseEnvironment_RepPrefmasClient.htm">RepPrefmasClient</a></td><td><div class="summary">
|
|
This flag is used to specify the client site in a replication group
|
|
operating in preferred master mode. A preferred master replication
|
|
group must contain only two sites, with one site specified as the
|
|
preferred master site and the other site specified as the client
|
|
site. The client site in a preferred master replication group takes
|
|
over temporarily as master when the preferred master site is
|
|
unavailable.
|
|
</div></td></tr><tr data="public;declared;notNetfw;"><td><img src="../icons/pubproperty.gif" title="Public property" /></td><td><a href="P_BerkeleyDB_DatabaseEnvironment_RepPrefmasMaster.htm">RepPrefmasMaster</a></td><td><div class="summary">
|
|
This flag is used to specify the preferred master site in a
|
|
replication group operating in preferred master mode. A preferred
|
|
master replication group must contain only two sites, with one site
|
|
specified as the preferred master site and the other site specified
|
|
as the client site. The preferred master site operates as the
|
|
master site whenever possible.
|
|
</div></td></tr><tr data="public;declared;notNetfw;"><td><img src="../icons/pubproperty.gif" title="Public property" /></td><td><a href="P_BerkeleyDB_DatabaseEnvironment_RepPriority.htm">RepPriority</a></td><td><div class="summary">
|
|
The database environment's priority in replication group elections.
|
|
A special value of 0 indicates that this environment cannot be a
|
|
replication group master. If not configured, then a default value
|
|
of 100 is used.
|
|
</div></td></tr><tr data="public;declared;notNetfw;"><td><img src="../icons/pubproperty.gif" title="Public property" /></td><td><a href="P_BerkeleyDB_DatabaseEnvironment_RepRetransmissionRequestMax.htm">RepRetransmissionRequestMax</a></td><td><div class="summary">
|
|
The maximum number of microseconds a client waits before requesting
|
|
retransmission.
|
|
</div></td></tr><tr data="public;declared;notNetfw;"><td><img src="../icons/pubproperty.gif" title="Public property" /></td><td><a href="P_BerkeleyDB_DatabaseEnvironment_RepRetransmissionRequestMin.htm">RepRetransmissionRequestMin</a></td><td><div class="summary">
|
|
The minimum number of microseconds a client waits before requesting
|
|
retransmission.
|
|
</div></td></tr><tr data="public;declared;notNetfw;"><td><img src="../icons/pubproperty.gif" title="Public property" /></td><td><a href="P_BerkeleyDB_DatabaseEnvironment_RepStrict2Site.htm">RepStrict2Site</a></td><td><div class="summary">
|
|
Replication Manager observes the strict "majority" rule in managing
|
|
elections, even in a group with only 2 sites. The client
|
|
in a 2-site group is unable to take over as master if the
|
|
original master fails or becomes disconnected. (See the Elections
|
|
section in the Berkeley DB Reference Guide for more information.)
|
|
Both sites in the replication group should have the same value for
|
|
this parameter.
|
|
</div></td></tr><tr data="public;declared;notNetfw;"><td><img src="../icons/pubproperty.gif" title="Public property" /></td><td><a href="P_BerkeleyDB_DatabaseEnvironment_RepTransmitLimitBytes.htm">RepTransmitLimitBytes</a></td><td><div class="summary">
|
|
The bytes component of the byte-count limit on the amount of data
|
|
that is transmitted from a site in response to a single
|
|
message processed by <a href="M_BerkeleyDB_DatabaseEnvironment_RepProcessMessage.htm">RepProcessMessage(DatabaseEntry, DatabaseEntry, Int32)</a>.
|
|
</div></td></tr><tr data="public;declared;notNetfw;"><td><img src="../icons/pubproperty.gif" title="Public property" /></td><td><a href="P_BerkeleyDB_DatabaseEnvironment_RepTransmitLimitGBytes.htm">RepTransmitLimitGBytes</a></td><td><div class="summary">
|
|
The gigabytes component of the byte-count limit on the amount of
|
|
data that is transmitted from a site in response to a single
|
|
message processed by <a href="M_BerkeleyDB_DatabaseEnvironment_RepProcessMessage.htm">RepProcessMessage(DatabaseEntry, DatabaseEntry, Int32)</a>.
|
|
</div></td></tr><tr data="public;declared;notNetfw;"><td><img src="../icons/pubproperty.gif" title="Public property" /></td><td><a href="P_BerkeleyDB_DatabaseEnvironment_RepTransport.htm">RepTransport</a></td><td><div class="summary">
|
|
The delegate used to transmit data using the replication
|
|
application's communication infrastructure.
|
|
</div></td></tr><tr data="public;declared;notNetfw;"><td><img src="../icons/pubproperty.gif" title="Public property" /></td><td><a href="P_BerkeleyDB_DatabaseEnvironment_RepUseMasterLeases.htm">RepUseMasterLeases</a></td><td><div class="summary">
|
|
If true, master leases are used for this site (defaults to
|
|
false).
|
|
</div></td></tr><tr data="public;declared;notNetfw;"><td><img src="../icons/pubproperty.gif" title="Public property" /></td><td><a href="P_BerkeleyDB_DatabaseEnvironment_RepWriteForwardTimeout.htm">RepWriteForwardTimeout</a></td><td><div class="summary">
|
|
Configure the amount of time a Replication Manager client waits
|
|
for a response from a forwarded write operation before returning
|
|
a failure indication. The default value is 5 seconds.
|
|
</div></td></tr><tr data="public;declared;notNetfw;"><td><img src="../icons/pubproperty.gif" title="Public property" /></td><td><a href="P_BerkeleyDB_DatabaseEnvironment_RunFatalRecovery.htm">RunFatalRecovery</a></td><td><div class="summary">
|
|
If true, catastrophic recovery was run on this environment before
|
|
opening it for normal use.
|
|
</div></td></tr><tr data="public;declared;notNetfw;"><td><img src="../icons/pubproperty.gif" title="Public property" /></td><td><a href="P_BerkeleyDB_DatabaseEnvironment_RunRecovery.htm">RunRecovery</a></td><td><div class="summary">
|
|
If true, normal recovery was run on this environment before opening
|
|
it for normal use.
|
|
</div></td></tr><tr data="public;declared;notNetfw;"><td><img src="../icons/pubproperty.gif" title="Public property" /></td><td><a href="P_BerkeleyDB_DatabaseEnvironment_SequentialWritePause.htm">SequentialWritePause</a></td><td><div class="summary">
|
|
The number of microseconds the thread of control pauses before
|
|
scheduling further write operations.
|
|
</div></td></tr><tr data="public;declared;notNetfw;"><td><img src="../icons/pubproperty.gif" title="Public property" /></td><td><a href="P_BerkeleyDB_DatabaseEnvironment_SetThreadID.htm">SetThreadID</a></td><td><div class="summary">
|
|
A delegate that returns a unique identifier pair for the current
|
|
thread of control.
|
|
</div></td></tr><tr data="public;declared;notNetfw;"><td><img src="../icons/pubproperty.gif" title="Public property" /></td><td><a href="P_BerkeleyDB_DatabaseEnvironment_SetThreadName.htm">SetThreadName</a></td><td><div class="summary">
|
|
A delegate that formats a process ID and thread ID identifier pair.
|
|
</div></td></tr><tr data="public;declared;notNetfw;"><td><img src="../icons/pubproperty.gif" title="Public property" /></td><td><a href="P_BerkeleyDB_DatabaseEnvironment_SystemMemory.htm">SystemMemory</a></td><td><div class="summary">
|
|
If true, allocate region memory from system shared memory instead of
|
|
from heap memory or memory backed by the filesystem.
|
|
</div></td></tr><tr data="public;declared;notNetfw;"><td><img src="../icons/pubproperty.gif" title="Public property" /></td><td><a href="P_BerkeleyDB_DatabaseEnvironment_TempDir.htm">TempDir</a></td><td><div class="summary">
|
|
The path of a directory to be used as the location for temporary
|
|
files.
|
|
</div></td></tr><tr data="public;declared;notNetfw;"><td><img src="../icons/pubproperty.gif" title="Public property" /></td><td><a href="P_BerkeleyDB_DatabaseEnvironment_ThreadCount.htm">ThreadCount</a></td><td><div class="summary">
|
|
An approximate number of threads in the database environment.
|
|
</div></td></tr><tr data="public;declared;notNetfw;"><td><img src="../icons/pubproperty.gif" title="Public property" /></td><td><a href="P_BerkeleyDB_DatabaseEnvironment_ThreadIsAlive.htm">ThreadIsAlive</a></td><td><div class="summary">
|
|
A delegate that returns if a thread of control (either a true thread
|
|
or a process) is still running.
|
|
</div></td></tr><tr data="public;declared;notNetfw;"><td><img src="../icons/pubproperty.gif" title="Public property" /></td><td><a href="P_BerkeleyDB_DatabaseEnvironment_TimeNotGranted.htm">TimeNotGranted</a></td><td><div class="summary">
|
|
If true, database calls timing out based on lock or transaction
|
|
timeout values throw <a href="T_BerkeleyDB_LockNotGrantedException.htm">LockNotGrantedException</a>
|
|
instead of <a href="T_BerkeleyDB_DeadlockException.htm">DeadlockException</a>.
|
|
</div></td></tr><tr data="public;declared;notNetfw;"><td><img src="../icons/pubproperty.gif" title="Public property" /></td><td><a href="P_BerkeleyDB_DatabaseEnvironment_TxnNoSync.htm">TxnNoSync</a></td><td><div class="summary">
|
|
If true, Berkeley DB does not write or synchronously flush the log
|
|
on transaction commit.
|
|
</div></td></tr><tr data="public;declared;notNetfw;"><td><img src="../icons/pubproperty.gif" title="Public property" /></td><td><a href="P_BerkeleyDB_DatabaseEnvironment_TxnNoWait.htm">TxnNoWait</a></td><td><div class="summary">
|
|
If true and a lock is unavailable for any Berkeley DB operation
|
|
performed in the context of a transaction, cause the operation to
|
|
throw <a href="T_BerkeleyDB_DeadlockException.htm">DeadlockException</a> (or
|
|
<a href="T_BerkeleyDB_LockNotGrantedException.htm">LockNotGrantedException</a> if configured with
|
|
<a href="P_BerkeleyDB_DatabaseEnvironment_TimeNotGranted.htm">TimeNotGranted</a>).
|
|
</div></td></tr><tr data="public;declared;notNetfw;"><td><img src="../icons/pubproperty.gif" title="Public property" /></td><td><a href="P_BerkeleyDB_DatabaseEnvironment_TxnSnapshot.htm">TxnSnapshot</a></td><td><div class="summary">
|
|
If true, all transactions in the environment are started as if
|
|
<a href="F_BerkeleyDB_TransactionConfig_Snapshot.htm">Snapshot</a> was passed to
|
|
<a href="M_BerkeleyDB_DatabaseEnvironment_BeginTransaction.htm">BeginTransaction<span class="languageSpecificText"><span class="cs">()</span><span class="cpp">()</span><span class="nu">()</span></span></a>, and all non-transactional cursors
|
|
are opened as if <a href="F_BerkeleyDB_CursorConfig_SnapshotIsolation.htm">SnapshotIsolation</a>
|
|
was passed to <a href="M_BerkeleyDB_BaseDatabase_Cursor.htm">Cursor<span class="languageSpecificText"><span class="cs">()</span><span class="cpp">()</span><span class="nu">()</span></span></a>.
|
|
</div></td></tr><tr data="public;declared;notNetfw;"><td><img src="../icons/pubproperty.gif" title="Public property" /></td><td><a href="P_BerkeleyDB_DatabaseEnvironment_TxnTimeout.htm">TxnTimeout</a></td><td><div class="summary">
|
|
A value, in microseconds, representing transaction timeouts.
|
|
</div></td></tr><tr data="public;declared;notNetfw;"><td><img src="../icons/pubproperty.gif" title="Public property" /></td><td><a href="P_BerkeleyDB_DatabaseEnvironment_TxnTimestamp.htm">TxnTimestamp</a></td><td><div class="summary">
|
|
The recovery timestamp
|
|
</div></td></tr><tr data="public;declared;notNetfw;"><td><img src="../icons/pubproperty.gif" title="Public property" /></td><td><a href="P_BerkeleyDB_DatabaseEnvironment_TxnWriteNoSync.htm">TxnWriteNoSync</a></td><td><div class="summary">
|
|
If true, Berkeley DB writes, but does not synchronously flush,
|
|
the log on transaction commit.
|
|
</div></td></tr><tr data="public;declared;notNetfw;"><td><img src="../icons/pubproperty.gif" title="Public property" /></td><td><a href="P_BerkeleyDB_DatabaseEnvironment_UseEnvironmentVars.htm">UseEnvironmentVars</a></td><td><div class="summary">
|
|
The Berkeley DB process' environment may be permitted to specify
|
|
information to be used when naming files; see Berkeley DB File
|
|
Naming in the Programmer's Reference Guide for more information.
|
|
</div></td></tr><tr data="public;declared;notNetfw;"><td><img src="../icons/pubproperty.gif" title="Public property" /></td><td><a href="P_BerkeleyDB_DatabaseEnvironment_UseMVCC.htm">UseMVCC</a></td><td><div class="summary">
|
|
If true, all databases in the environment are opened as if
|
|
<a href="F_BerkeleyDB_DatabaseConfig_UseMVCC.htm">UseMVCC</a> was set.
|
|
</div></td></tr><tr data="public;declared;notNetfw;"><td><img src="../icons/pubproperty.gif" title="Public property" /></td><td><a href="P_BerkeleyDB_DatabaseEnvironment_UsingCDB.htm">UsingCDB</a></td><td><div class="summary">
|
|
If true, locking for the Berkeley DB Concurrent Data Store product
|
|
was initialized.
|
|
</div></td></tr><tr data="public;declared;notNetfw;"><td><img src="../icons/pubproperty.gif" title="Public property" /></td><td><a href="P_BerkeleyDB_DatabaseEnvironment_UsingLocking.htm">UsingLocking</a></td><td><div class="summary">
|
|
If true, the locking subsystem was initialized.
|
|
</div></td></tr><tr data="public;declared;notNetfw;"><td><img src="../icons/pubproperty.gif" title="Public property" /></td><td><a href="P_BerkeleyDB_DatabaseEnvironment_UsingLogging.htm">UsingLogging</a></td><td><div class="summary">
|
|
If true, the logging subsystem was initialized.
|
|
</div></td></tr><tr data="public;declared;notNetfw;"><td><img src="../icons/pubproperty.gif" title="Public property" /></td><td><a href="P_BerkeleyDB_DatabaseEnvironment_UsingMPool.htm">UsingMPool</a></td><td><div class="summary">
|
|
If true, the shared memory buffer pool subsystem was initialized.
|
|
</div></td></tr><tr data="public;declared;notNetfw;"><td><img src="../icons/pubproperty.gif" title="Public property" /></td><td><a href="P_BerkeleyDB_DatabaseEnvironment_UsingReplication.htm">UsingReplication</a></td><td><div class="summary">
|
|
If true, the replication subsystem was initialized.
|
|
</div></td></tr><tr data="public;declared;notNetfw;"><td><img src="../icons/pubproperty.gif" title="Public property" /></td><td><a href="P_BerkeleyDB_DatabaseEnvironment_UsingTxns.htm">UsingTxns</a></td><td><div class="summary">
|
|
If true, the transaction subsystem was initialized.
|
|
</div></td></tr><tr data="public;declared;notNetfw;"><td><img src="../icons/pubproperty.gif" title="Public property" /></td><td><a href="P_BerkeleyDB_DatabaseEnvironment_Verbosity.htm">Verbosity</a></td><td><div class="summary">
|
|
Specific additional informational and debugging messages in the
|
|
Berkeley DB message output.
|
|
</div></td></tr><tr data="public;declared;notNetfw;"><td><img src="../icons/pubproperty.gif" title="Public property" /></td><td><a href="P_BerkeleyDB_DatabaseEnvironment_YieldCPU.htm">YieldCPU</a></td><td><div class="summary">
|
|
If true, Berkeley DB yields the processor immediately after each
|
|
page or mutex acquisition.
|
|
</div></td></tr></table></div><h1 class="heading"><span onclick="ExpandCollapse(seeAlsoToggle)" style="cursor:default;" onkeypress="ExpandCollapse_CheckKey(seeAlsoToggle, event)" tabindex="0"><img id="seeAlsoToggle" class="toggle" name="toggleSwitch" src="../icons/collapse_all.gif" />See Also</span></h1><div id="seeAlsoSection" class="section" name="collapseableSection" style=""><div class="seeAlsoStyle"><a href="T_BerkeleyDB_DatabaseEnvironment.htm">DatabaseEnvironment Class</a></div><div class="seeAlsoStyle"><a href="N_BerkeleyDB.htm">BerkeleyDB Namespace</a></div></div></div><div id="footer"><div class="footerLine"><img width="100%" height="3px" src="../icons/footer.gif" title="Footer image" /></div><A NAME="feedback"></A><span id="fb" class="feedbackcss"> </span>
|
|
Report Feedback on this item in the Oracle Technology Network Forum <p />Copyright (c) 2008, 2016 Oracle. All rights reserved.</div></div></body></html>
|