summaryrefslogtreecommitdiff
path: root/docs/programmer_reference/txn_config.html
diff options
context:
space:
mode:
authorLorry Tar Creator <lorry-tar-importer@baserock.org>2015-02-17 17:25:57 +0000
committer <>2015-03-17 16:26:24 +0000
commit780b92ada9afcf1d58085a83a0b9e6bc982203d1 (patch)
tree598f8b9fa431b228d29897e798de4ac0c1d3d970 /docs/programmer_reference/txn_config.html
parent7a2660ba9cc2dc03a69ddfcfd95369395cc87444 (diff)
downloadberkeleydb-master.tar.gz
Imported from /home/lorry/working-area/delta_berkeleydb/db-6.1.23.tar.gz.HEADdb-6.1.23master
Diffstat (limited to 'docs/programmer_reference/txn_config.html')
-rw-r--r--docs/programmer_reference/txn_config.html74
1 files changed, 40 insertions, 34 deletions
diff --git a/docs/programmer_reference/txn_config.html b/docs/programmer_reference/txn_config.html
index a7b3c5f1..69783439 100644
--- a/docs/programmer_reference/txn_config.html
+++ b/docs/programmer_reference/txn_config.html
@@ -14,7 +14,7 @@
<body>
<div xmlns="" class="navheader">
<div class="libver">
- <p>Library Version 11.2.5.3</p>
+ <p>Library Version 12.1.6.1</p>
</div>
<table width="100%" summary="Navigation header">
<tr>
@@ -22,9 +22,7 @@
</tr>
<tr>
<td width="20%" align="left"><a accesskey="p" href="txn.html">Prev</a> </td>
- <th width="60%" align="center">Chapter 19. 
- The Transaction Subsystem
- </th>
+ <th width="60%" align="center">Chapter 19.  The Transaction Subsystem </th>
<td width="20%" align="right"> <a accesskey="n" href="txn_limits.html">Next</a></td>
</tr>
</table>
@@ -38,33 +36,43 @@
</div>
</div>
</div>
- <p>The application may change the number of simultaneous outstanding
-transactions supported by the Berkeley DB environment by calling the
-<a href="../api_reference/C/envset_tx_max.html" class="olink">DB_ENV-&gt;set_tx_max()</a> method. This will also set the size of the
-underlying transaction subsystem's region. When the number of
-outstanding transactions is reached, additional calls to
-<a href="../api_reference/C/txnbegin.html" class="olink">DB_ENV-&gt;txn_begin()</a> will fail until some active transactions complete.</p>
- <p>The application can limit how long a transaction runs or blocks on
-contested resources.
-The <a href="../api_reference/C/envset_timeout.html" class="olink">DB_ENV-&gt;set_timeout()</a> method specifies the length of the timeout.
-This value is checked whenever deadlock detection is performed or
-when the transaction is about to block on a lock that cannot be
-immediately granted.
-Because timeouts are only checked at these times, the accuracy of the
-timeout depends on how often deadlock detection is performed or how
-frequently the transaction blocks.</p>
- <p>There is an additional parameter used in configuring transactions; the
-<a href="../api_reference/C/envset_flags.html#envset_flags_DB_TXN_NOSYNC" class="olink">DB_TXN_NOSYNC</a>. Setting the <a href="../api_reference/C/envset_flags.html#envset_flags_DB_TXN_NOSYNC" class="olink">DB_TXN_NOSYNC</a> flag to
-<a href="../api_reference/C/envset_flags.html" class="olink">DB_ENV-&gt;set_flags()</a> when opening a transaction region changes the
-behavior of transactions to not write or synchronously flush the log
-during transaction commit.</p>
- <p>This change may significantly increase application transactional
-throughput. However, it means that although transactions will continue
-to exhibit the ACI (atomicity, consistency, and isolation) properties,
-they will not have D (durability). Database integrity will be
-maintained, but it is possible that some number of the most recently
-committed transactions may be undone during recovery instead of being
-redone.</p>
+ <p>
+ The application may change the number of simultaneous
+ outstanding transactions supported by the Berkeley DB
+ environment by calling the <a href="../api_reference/C/envset_tx_max.html" class="olink">DB_ENV-&gt;set_tx_max()</a> method. This will
+ also set the size of the underlying transaction subsystem's
+ region. When the number of outstanding transactions is
+ reached, additional calls to <a href="../api_reference/C/txnbegin.html" class="olink">DB_ENV-&gt;txn_begin()</a> will fail until some
+ active transactions complete.
+ </p>
+ <p>
+ The application can limit how long a transaction runs or
+ blocks on contested resources. The <a href="../api_reference/C/envset_timeout.html" class="olink">DB_ENV-&gt;set_timeout()</a> method
+ specifies the length of the timeout. This value is checked
+ whenever deadlock detection is performed or when the
+ transaction is about to block on a lock that cannot be
+ immediately granted. Because timeouts are only checked at
+ these times, the accuracy of the timeout depends on how often
+ deadlock detection is performed or how frequently the
+ transaction blocks.
+ </p>
+ <p>
+ There is an additional parameter used in configuring
+ transactions; the <a href="../api_reference/C/envset_flags.html#envset_flags_DB_TXN_NOSYNC" class="olink">DB_TXN_NOSYNC</a>. Setting the <a href="../api_reference/C/envset_flags.html#envset_flags_DB_TXN_NOSYNC" class="olink">DB_TXN_NOSYNC</a>
+ flag to <a href="../api_reference/C/envset_flags.html" class="olink">DB_ENV-&gt;set_flags()</a> when opening a transaction region
+ changes the behavior of transactions to not write or
+ synchronously flush the log during transaction commit.
+ </p>
+ <p>
+ This change may significantly increase application
+ transactional throughput. However, it means that although
+ transactions will continue to exhibit the ACI (atomicity,
+ consistency, and isolation) properties, they will not have D
+ (durability). Database integrity will be maintained, but it is
+ possible that some number of the most recently committed
+ transactions may be undone during recovery instead of being
+ redone.
+ </p>
</div>
<div class="navfooter">
<hr />
@@ -77,9 +85,7 @@ redone.</p>
<td width="40%" align="right"> <a accesskey="n" href="txn_limits.html">Next</a></td>
</tr>
<tr>
- <td width="40%" align="left" valign="top">Chapter 19. 
- The Transaction Subsystem
-  </td>
+ <td width="40%" align="left" valign="top">Chapter 19.  The Transaction Subsystem  </td>
<td width="20%" align="center">
<a accesskey="h" href="index.html">Home</a>
</td>