Imported Upstream version 5.3.21
[platform/upstream/libdb.git] / docs / gsg_txn / JAVA / perftune-intro.html
1 <?xml version="1.0" encoding="UTF-8" standalone="no"?>
2 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
3 <html xmlns="http://www.w3.org/1999/xhtml">
4   <head>
5     <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
6     <title>Performance Tuning</title>
7     <link rel="stylesheet" href="gettingStarted.css" type="text/css" />
8     <meta name="generator" content="DocBook XSL Stylesheets V1.73.2" />
9     <link rel="start" href="index.html" title="Getting Started with Berkeley DB Transaction Processing" />
10     <link rel="up" href="introduction.html" title="Chapter 1. Introduction" />
11     <link rel="prev" href="recovery-intro.html" title="Recoverability" />
12     <link rel="next" href="enabletxn.html" title="Chapter 2. Enabling Transactions" />
13   </head>
14   <body>
15     <div xmlns="" class="navheader">
16       <div class="libver">
17         <p>Library Version 11.2.5.3</p>
18       </div>
19       <table width="100%" summary="Navigation header">
20         <tr>
21           <th colspan="3" align="center">Performance Tuning</th>
22         </tr>
23         <tr>
24           <td width="20%" align="left"><a accesskey="p" href="recovery-intro.html">Prev</a> </td>
25           <th width="60%" align="center">Chapter 1. Introduction</th>
26           <td width="20%" align="right"> <a accesskey="n" href="enabletxn.html">Next</a></td>
27         </tr>
28       </table>
29       <hr />
30     </div>
31     <div class="sect1" lang="en" xml:lang="en">
32       <div class="titlepage">
33         <div>
34           <div>
35             <h2 class="title" style="clear: both"><a id="perftune-intro"></a>Performance Tuning</h2>
36           </div>
37         </div>
38       </div>
39       <p>
40             From a performance perspective, the use of transactions is not free.
41             Depending on how you configure them, transaction commits
42             usually require your application to perform disk I/O that a non-transactional
43             application does not perform. Also, for multi-threaded
44             <span>and
45             multi-process</span> applications, the use of transactions can
46             result in increased lock contention due to extra locking
47             requirements driven by transactional isolation guarantees.
48         </p>
49       <p>
50             There is therefore a performance tuning component to transactional applications 
51             that is not applicable for non-transactional applications (although
52             some tuning considerations do exist whether or not your application uses
53             transactions). Where appropriate, these tuning considerations are
54             introduced in the following chapters. 
55             
56             <span>
57             However, for a more complete description of them, see the
58             <a class="ulink" href="http://download.oracle.com/docs/cd/E17076_02/html/programmer_reference/transapp_tune.html" target="_top">
59             Transaction tuning
60             </a>
61             and 
62             <a class="ulink" href="http://download.oracle.com/docs/cd/E17076_02/html/programmer_reference/transapp_throughput.html" target="_top">
63             Transaction throughput
64             </a>
65             sections of the <em class="citetitle">Berkeley DB Programmer's Reference Guide</em>.
66             </span>
67
68         </p>
69     </div>
70     <div class="navfooter">
71       <hr />
72       <table width="100%" summary="Navigation footer">
73         <tr>
74           <td width="40%" align="left"><a accesskey="p" href="recovery-intro.html">Prev</a> </td>
75           <td width="20%" align="center">
76             <a accesskey="u" href="introduction.html">Up</a>
77           </td>
78           <td width="40%" align="right"> <a accesskey="n" href="enabletxn.html">Next</a></td>
79         </tr>
80         <tr>
81           <td width="40%" align="left" valign="top">Recoverability </td>
82           <td width="20%" align="center">
83             <a accesskey="h" href="index.html">Home</a>
84           </td>
85           <td width="40%" align="right" valign="top"> Chapter 2. Enabling Transactions</td>
86         </tr>
87       </table>
88     </div>
89   </body>
90 </html>