Debian Codegraph @

docs/gsg_txn/CXX/index.html

raw
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>Getting Started with Berkeley DB Transaction Processing</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="next" href="preface.html" title="Preface" />
11 </head>
12 <body>
13 <div xmlns="" class="navheader">
14 <div class="libver">
15 <p>Library Version 11.2.5.3</p>
16 </div>
17 <table width="100%" summary="Navigation header">
18 <tr>
19 <th colspan="3" align="center">Getting Started with Berkeley DB Transaction Processing</th>
20 </tr>
21 <tr>
22 <td width="20%" align="left"> </td>
23 <th width="60%" align="center"> </th>
24 <td width="20%" align="right"> <a accesskey="n" href="preface.html">Next</a></td>
25 </tr>
26 </table>
27 <hr />
28 </div>
29 <div class="book" lang="en" xml:lang="en">
30 <div class="titlepage">
31 <div>
32 <div>
33 <h1 class="title"><a id="idp11328"></a>Getting Started with Berkeley DB Transaction Processing</h1>
34 </div>
35 <div>
36 <div class="legalnotice">
37 <a id="idp50427896"></a>
38 <p class="legalnotice-title">
39 <b>Legal Notice</b>
40 </p>
41 <span>
42 <p>
43 This documentation is distributed under an open source license.
44 You may review the terms of this license at:
45 <a class="ulink" href="http://www.oracle.com/technetwork/database/berkeleydb/downloads/oslicense-093458.html" target="_top">http://www.oracle.com/technetwork/database/berkeleydb/downloads/oslicense-093458.html</a>
46
47
48 </p>
49
50 <p>
51 Oracle, Berkeley DB,
52
53
54 and
55 Sleepycat are trademarks or registered trademarks of
56 Oracle. All rights to these marks are reserved.
57 No third-party use is permitted without the
58 express prior written consent of Oracle.
59 </p>
60
61 <p>
62 Other names may be trademarks of their respective owners.
63 </p>
64 <p>
65 To obtain a copy of this document's original source code, please
66 submit a request to the Oracle Technology Network forum at:
67 <a class="ulink" href="http://forums.oracle.com/forums/forum.jspa?forumID=271" target="_top">http://forums.oracle.com/forums/forum.jspa?forumID=271</a>
68
69
70 </p>
71 </span>
72 </div>
73 </div>
74 <div>
75 <p class="pubdate">9/9/2013</p>
76 </div>
77 </div>
78 <hr />
79 </div>
80 <div class="toc">
81 <p>
82 <b>Table of Contents</b>
83 </p>
84 <dl>
85 <dt>
86 <span class="preface">
87 <a href="preface.html">Preface</a>
88 </span>
89 </dt>
90 <dd>
91 <dl>
92 <dt>
93 <span class="sect1">
94 <a href="preface.html#conventions">Conventions Used in this Book</a>
95 </span>
96 </dt>
97 <dt>
98 <span class="sect1">
99 <a href="moreinfo.html">For More Information</a>
100 </span>
101 </dt>
102 <dd>
103 <dl>
104 <dt>
105 <span class="sect2">
106 <a href="moreinfo.html#contact_us">Contact Us</a>
107 </span>
108 </dt>
109 </dl>
110 </dd>
111 </dl>
112 </dd>
113 <dt>
114 <span class="chapter">
115 <a href="introduction.html">1. Introduction</a>
116 </span>
117 </dt>
118 <dd>
119 <dl>
120 <dt>
121 <span class="sect1">
122 <a href="introduction.html#txnintro">Transaction Benefits</a>
123 </span>
124 </dt>
125 <dt>
126 <span class="sect1">
127 <a href="sysfailure.html">A Note on System Failure</a>
128 </span>
129 </dt>
130 <dt>
131 <span class="sect1">
132 <a href="apireq.html">Application Requirements</a>
133 </span>
134 </dt>
135 <dt>
136 <span class="sect1">
137 <a href="multithread-intro.html">Multi-threaded
138 <span>and Multi-process</span>
139 Applications</a>
140 </span>
141 </dt>
142 <dt>
143 <span class="sect1">
144 <a href="recovery-intro.html">Recoverability</a>
145 </span>
146 </dt>
147 <dt>
148 <span class="sect1">
149 <a href="perftune-intro.html">Performance Tuning</a>
150 </span>
151 </dt>
152 </dl>
153 </dd>
154 <dt>
155 <span class="chapter">
156 <a href="enabletxn.html">2. Enabling Transactions</a>
157 </span>
158 </dt>
159 <dd>
160 <dl>
161 <dt>
162 <span class="sect1">
163 <a href="enabletxn.html#environments">Environments</a>
164 </span>
165 </dt>
166 <dd>
167 <dl>
168 <dt>
169 <span class="sect2">
170 <a href="enabletxn.html#filenaming">File Naming</a>
171 </span>
172 </dt>
173 <dt>
174 <span class="sect2">
175 <a href="enabletxn.html#errorsupport">Error Support</a>
176 </span>
177 </dt>
178 <dt>
179 <span class="sect2">
180 <a href="enabletxn.html#sharedmemory">Shared Memory Regions</a>
181 </span>
182 </dt>
183 <dt>
184 <span class="sect2">
185 <a href="enabletxn.html#security">Security Considerations</a>
186 </span>
187 </dt>
188 </dl>
189 </dd>
190 <dt>
191 <span class="sect1">
192 <a href="envopen.html">Opening a Transactional Environment and
193 <span>Database</span>
194
195
196 </a>
197 </span>
198 </dt>
199 </dl>
200 </dd>
201 <dt>
202 <span class="chapter">
203 <a href="usingtxns.html">3. Transaction Basics</a>
204 </span>
205 </dt>
206 <dd>
207 <dl>
208 <dt>
209 <span class="sect1">
210 <a href="usingtxns.html#commitresults">Committing a Transaction</a>
211 </span>
212 </dt>
213 <dt>
214 <span class="sect1">
215 <a href="nodurabletxn.html">Non-Durable Transactions</a>
216 </span>
217 </dt>
218 <dt>
219 <span class="sect1">
220 <a href="abortresults.html">Aborting a Transaction</a>
221 </span>
222 </dt>
223 <dt>
224 <span class="sect1">
225 <a href="autocommit.html">Auto Commit</a>
226 </span>
227 </dt>
228 <dt>
229 <span class="sect1">
230 <a href="nestedtxn.html">Nested Transactions</a>
231 </span>
232 </dt>
233 <dt>
234 <span class="sect1">
235 <a href="txncursor.html">Transactional Cursors</a>
236 </span>
237 </dt>
238 <dt>
239 <span class="sect1">
240 <a href="txnindices.html">Secondary Indices with Transaction Applications</a>
241 </span>
242 </dt>
243 <dt>
244 <span class="sect1">
245 <a href="maxtxns.html">Configuring the Transaction Subsystem</a>
246 </span>
247 </dt>
248 </dl>
249 </dd>
250 <dt>
251 <span class="chapter">
252 <a href="txnconcurrency.html">4. Concurrency</a>
253 </span>
254 </dt>
255 <dd>
256 <dl>
257 <dt>
258 <span class="sect1">
259 <a href="txnconcurrency.html#concurrenthandles">Which DB Handles are Free-Threaded</a>
260 </span>
261 </dt>
262 <dt>
263 <span class="sect1">
264 <a href="blocking_deadlocks.html">Locks, Blocks, and Deadlocks</a>
265 </span>
266 </dt>
267 <dd>
268 <dl>
269 <dt>
270 <span class="sect2">
271 <a href="blocking_deadlocks.html#locks">Locks</a>
272 </span>
273 </dt>
274 <dt>
275 <span class="sect2">
276 <a href="blocking_deadlocks.html#blocks">Blocks</a>
277 </span>
278 </dt>
279 <dt>
280 <span class="sect2">
281 <a href="blocking_deadlocks.html#deadlocks">Deadlocks</a>
282 </span>
283 </dt>
284 </dl>
285 </dd>
286 <dt>
287 <span class="sect1">
288 <a href="lockingsubsystem.html">The Locking Subsystem</a>
289 </span>
290 </dt>
291 <dd>
292 <dl>
293 <dt>
294 <span class="sect2">
295 <a href="lockingsubsystem.html#configuringlock">Configuring the Locking Subsystem</a>
296 </span>
297 </dt>
298 <dt>
299 <span class="sect2">
300 <a href="lockingsubsystem.html#configdeadlkdetect">Configuring Deadlock Detection</a>
301 </span>
302 </dt>
303 <dt>
304 <span class="sect2">
305 <a href="lockingsubsystem.html#deadlockresolve">Resolving Deadlocks</a>
306 </span>
307 </dt>
308 <dt>
309 <span class="sect2">
310 <a href="lockingsubsystem.html#setpriority">Setting Transaction Priorities</a>
311 </span>
312 </dt>
313 </dl>
314 </dd>
315 <dt>
316 <span class="sect1">
317 <a href="isolation.html">Isolation</a>
318 </span>
319 </dt>
320 <dd>
321 <dl>
322 <dt>
323 <span class="sect2">
324 <a href="isolation.html#degreesofisolation">Supported Degrees of Isolation</a>
325 </span>
326 </dt>
327 <dt>
328 <span class="sect2">
329 <a href="isolation.html#dirtyreads">Reading Uncommitted Data</a>
330 </span>
331 </dt>
332 <dt>
333 <span class="sect2">
334 <a href="isolation.html#readcommitted">Committed Reads</a>
335 </span>
336 </dt>
337 <dt>
338 <span class="sect2">
339 <a href="isolation.html#snapshot_isolation">Using Snapshot Isolation</a>
340 </span>
341 </dt>
342 </dl>
343 </dd>
344 <dt>
345 <span class="sect1">
346 <a href="txn_ccursor.html">Transactional Cursors and Concurrent Applications</a>
347 </span>
348 </dt>
349 <dd>
350 <dl>
351 <dt>
352 <span class="sect2">
353 <a href="txn_ccursor.html#cursordirtyreads">Using Cursors with Uncommitted Data</a>
354 </span>
355 </dt>
356 </dl>
357 </dd>
358 <dt>
359 <span class="sect1">
360 <a href="exclusivelock.html">Exclusive Database Handles</a>
361 </span>
362 </dt>
363 <dt>
364 <span class="sect1">
365 <a href="readmodifywrite.html">Read/Modify/Write</a>
366 </span>
367 </dt>
368 <dt>
369 <span class="sect1">
370 <a href="txnnowait.html">No Wait on Blocks</a>
371 </span>
372 </dt>
373 <dt>
374 <span class="sect1">
375 <a href="reversesplit.html">Reverse BTree Splits</a>
376 </span>
377 </dt>
378 </dl>
379 </dd>
380 <dt>
381 <span class="chapter">
382 <a href="filemanagement.html">5. Managing DB Files</a>
383 </span>
384 </dt>
385 <dd>
386 <dl>
387 <dt>
388 <span class="sect1">
389 <a href="filemanagement.html#checkpoints">Checkpoints</a>
390 </span>
391 </dt>
392 <dt>
393 <span class="sect1">
394 <a href="backuprestore.html">Backup Procedures</a>
395 </span>
396 </dt>
397 <dd>
398 <dl>
399 <dt>
400 <span class="sect2">
401 <a href="backuprestore.html#copyutilities">About Unix Copy Utilities</a>
402 </span>
403 </dt>
404 <dt>
405 <span class="sect2">
406 <a href="backuprestore.html#standardbackup">Offline Backups</a>
407 </span>
408 </dt>
409 <dt>
410 <span class="sect2">
411 <a href="backuprestore.html#hotbackup">Hot Backup</a>
412 </span>
413 </dt>
414 <dt>
415 <span class="sect2">
416 <a href="backuprestore.html#incrementalbackups">Incremental Backups</a>
417 </span>
418 </dt>
419 </dl>
420 </dd>
421 <dt>
422 <span class="sect1">
423 <a href="recovery.html">Recovery Procedures</a>
424 </span>
425 </dt>
426 <dd>
427 <dl>
428 <dt>
429 <span class="sect2">
430 <a href="recovery.html#normalrecovery">Normal Recovery</a>
431 </span>
432 </dt>
433 <dt>
434 <span class="sect2">
435 <a href="recovery.html#catastrophicrecovery">Catastrophic Recovery</a>
436 </span>
437 </dt>
438 </dl>
439 </dd>
440 <dt>
441 <span class="sect1">
442 <a href="architectrecovery.html">Designing Your Application for Recovery</a>
443 </span>
444 </dt>
445 <dd>
446 <dl>
447 <dt>
448 <span class="sect2">
449 <a href="architectrecovery.html#multithreadrecovery">Recovery for Multi-Threaded Applications</a>
450 </span>
451 </dt>
452 <dt>
453 <span class="sect2">
454 <a href="architectrecovery.html#multiprocessrecovery">Recovery in Multi-Process Applications</a>
455 </span>
456 </dt>
457 </dl>
458 </dd>
459 <dt>
460 <span class="sect1">
461 <a href="hotfailover.html">Using Hot Failovers</a>
462 </span>
463 </dt>
464 <dt>
465 <span class="sect1">
466 <a href="logfileremoval.html">Removing Log Files</a>
467 </span>
468 </dt>
469 <dt>
470 <span class="sect1">
471 <a href="logconfig.html">Configuring the Logging Subsystem</a>
472 </span>
473 </dt>
474 <dd>
475 <dl>
476 <dt>
477 <span class="sect2">
478 <a href="logconfig.html#logfilesize">Setting the Log File Size</a>
479 </span>
480 </dt>
481 <dt>
482 <span class="sect2">
483 <a href="logconfig.html#logregionsize">Configuring the Logging Region Size</a>
484 </span>
485 </dt>
486 <dt>
487 <span class="sect2">
488 <a href="logconfig.html#inmemorylogging">Configuring In-Memory Logging</a>
489 </span>
490 </dt>
491 <dt>
492 <span class="sect2">
493 <a href="logconfig.html#logbuffer">Setting the In-Memory Log Buffer Size</a>
494 </span>
495 </dt>
496 </dl>
497 </dd>
498 </dl>
499 </dd>
500 <dt>
501 <span class="chapter">
502 <a href="wrapup.html">6. Summary and Examples</a>
503 </span>
504 </dt>
505 <dd>
506 <dl>
507 <dt>
508 <span class="sect1">
509 <a href="wrapup.html#anatomy">Anatomy of a Transactional Application</a>
510 </span>
511 </dt>
512 <dt>
513 <span class="sect1">
514 <a href="txnexample_c.html">Transaction Example</a>
515 </span>
516 </dt>
517 <dt>
518 <span class="sect1">
519 <a href="inmem_txnexample_c.html">In-Memory Transaction Example</a>
520 </span>
521 </dt>
522 </dl>
523 </dd>
524 </dl>
525 </div>
526 </div>
527 <div class="navfooter">
528 <hr />
529 <table width="100%" summary="Navigation footer">
530 <tr>
531 <td width="40%" align="left"> </td>
532 <td width="20%" align="center"> </td>
533 <td width="40%" align="right"> <a accesskey="n" href="preface.html">Next</a></td>
534 </tr>
535 <tr>
536 <td width="40%" align="left" valign="top"> </td>
537 <td width="20%" align="center"> </td>
538 <td width="40%" align="right" valign="top"> Preface</td>
539 </tr>
540 </table>
541 </div>
542 </body>
543 </html>