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>Preface</title>
7    <link rel="stylesheet" href="gettingStarted.css" type="text/css" />
8    <meta name="generator" content="DocBook XSL Stylesheets V1.62.4" />
9    <link rel="home" href="index.html" title="Getting Started with Berkeley DB" />
10    <link rel="up" href="index.html" title="Getting Started with Berkeley DB" />
11    <link rel="previous" href="index.html" title="Getting Started with Berkeley DB" />
12    <link rel="next" href="introduction.html" title="Chapter 1. Introduction to Berkeley DB " />
13  </head>
14  <body>
15    <div class="navheader">
16      <table width="100%" summary="Navigation header">
17        <tr>
18          <th colspan="3" align="center">Preface</th>
19        </tr>
20        <tr>
21          <td width="20%" align="left"><a accesskey="p" href="index.html">Prev</a> </td>
22          <th width="60%" align="center"> </th>
23          <td width="20%" align="right"> <a accesskey="n" href="introduction.html">Next</a></td>
24        </tr>
25      </table>
26      <hr />
27    </div>
28    <div class="preface" lang="en" xml:lang="en">
29      <div class="titlepage">
30        <div>
31          <div>
32            <h2 class="title"><a id="preface"></a>Preface</h2>
33          </div>
34        </div>
35        <div></div>
36      </div>
37      <div class="toc">
38        <p>
39          <b>Table of Contents</b>
40        </p>
41        <dl>
42          <dt>
43            <span class="sect1">
44              <a href="preface.html#conventions">Conventions Used in this Book</a>
45            </span>
46          </dt>
47          <dd>
48            <dl>
49              <dt>
50                <span class="sect2">
51                  <a href="preface.html#moreinfo">For More Information</a>
52                </span>
53              </dt>
54            </dl>
55          </dd>
56        </dl>
57      </div>
58      <p>
59        Welcome to Berkeley DB (DB).  This document introduces 
60            
61            <span>DB, version 4.7.  </span>
62        It is intended 
63		to provide a rapid introduction to the DB API set and related concepts. The goal of this document is 
64		to provide you with an efficient mechanism
65        with which you can evaluate DB against your project's technical requirements. As such, this document is
66        intended for 
67         
68		<span>C</span> developers and senior software architects who are 
69        looking for an 
70        <span>
71        in-process data management solution. 
72        </span>
73        
74        No prior experience with Berkeley DB is expected or required.
75     </p>
76      <div class="sect1" lang="en" xml:lang="en">
77        <div class="titlepage">
78          <div>
79            <div>
80              <h2 class="title" style="clear: both"><a id="conventions"></a>Conventions Used in this Book</h2>
81            </div>
82          </div>
83          <div></div>
84        </div>
85        <p>
86        The following typographical conventions are used within in this manual:
87    </p>
88        <p>
89        Structure names are represented in <tt class="classname">monospaced font</tt>, as are <tt class="methodname">method
90        names</tt>. For example: "<tt class="methodname">DB-&gt;open()</tt> is a method
91		on a <tt class="classname">DB</tt> handle."
92    </p>
93        <p>
94        Variable or non-literal text is presented in <span class="emphasis"><em>italics</em></span>. For example: "Go to your
95        
96        <span class="emphasis"><em>DB_INSTALL</em></span> 
97         
98        directory."
99    </p>
100        <p>
101        Program examples are displayed in a <tt class="classname">monospaced font</tt> on a shaded background.
102        For example:
103    </p>
104        <pre class="programlisting">/* File: gettingstarted_common.h */
105typedef struct stock_dbs {
106    DB *inventory_dbp; /* Database containing inventory information */
107    DB *vendor_dbp;    /* Database containing vendor information */
108
109    char *db_home_dir;       /* Directory containing the database files */
110    char *inventory_db_name; /* Name of the inventory database */
111    char *vendor_db_name;    /* Name of the vendor database */
112} STOCK_DBS; </pre>
113        <p>
114        In some situations, programming examples are updated from one chapter to the next. When
115        this occurs, the new code is presented in <b class="userinput"><tt>monospaced bold</tt></b> font. For example:
116    </p>
117        <pre class="programlisting">typedef struct stock_dbs {
118    DB *inventory_dbp; /* Database containing inventory information */
119    DB *vendor_dbp;    /* Database containing vendor information */
120    <b class="userinput"><tt>DB *itemname_sdbp; /* Index based on the item name index */</tt></b>
121    char *db_home_dir;       /* Directory containing the database files */
122    <b class="userinput"><tt>char *itemname_db_name;  /* Itemname secondary database */</tt></b>
123    char *inventory_db_name; /* Name of the inventory database */
124    char *vendor_db_name;    /* Name of the vendor database */
125} STOCK_DBS; </pre>
126        <div class="note" style="margin-left: 0.5in; margin-right: 0.5in;">
127          <h3 class="title">Note</h3>
128          <p>
129            Finally, notes of interest are represented using a note block such
130            as this.
131        </p>
132        </div>
133        <div class="sect2" lang="en" xml:lang="en">
134          <div class="titlepage">
135            <div>
136              <div>
137                <h3 class="title"><a id="moreinfo"></a>For More Information</h3>
138              </div>
139            </div>
140            <div></div>
141          </div>
142          <p>
143            Beyond this manual, you may also find the following sources of information useful when building a
144            DB application:
145        </p>
146          <div class="itemizedlist">
147            <ul type="disc">
148              <li>
149                <p>
150                    
151
152                    <a href="http://www.oracle.com/technology/documentation/berkeley-db/db/gsg_txn/C/index.html" target="_top">
153                        Getting Started with Transaction Processing for C
154                    </a>
155                    
156                    
157                    
158                    
159                </p>
160              </li>
161              <li>
162                <p>
163                        <a href="http://www.oracle.com/technology/documentation/berkeley-db/db/gsg_db_rep/C/index.html" target="_top">
164                                Berkeley DB Getting Started with Replicated Applications for C
165                        </a>
166                        
167                        
168                </p>
169              </li>
170              <li>
171                <p>
172                    <a href="http://www.oracle.com/technology/documentation/berkeley-db/db/ref/toc.html" target="_top">
173                        Berkeley DB Programmer's Reference Guide
174                    </a>
175                </p>
176              </li>
177              <li>
178                <p>
179                    <a href="http://www.oracle.com/technology/documentation/berkeley-db/db/api_c/frame.html" target="_top">
180                        Berkeley DB C API
181                    </a>
182                    
183                    
184                    
185                    
186                    
187                </p>
188              </li>
189            </ul>
190          </div>
191        </div>
192      </div>
193    </div>
194    <div class="navfooter">
195      <hr />
196      <table width="100%" summary="Navigation footer">
197        <tr>
198          <td width="40%" align="left"><a accesskey="p" href="index.html">Prev</a> </td>
199          <td width="20%" align="center">
200            <a accesskey="u" href="index.html">Up</a>
201          </td>
202          <td width="40%" align="right"> <a accesskey="n" href="introduction.html">Next</a></td>
203        </tr>
204        <tr>
205          <td width="40%" align="left" valign="top">Getting Started with Berkeley DB </td>
206          <td width="20%" align="center">
207            <a accesskey="h" href="index.html">Home</a>
208          </td>
209          <td width="40%" align="right" valign="top"> Chapter 1. Introduction to Berkeley DB </td>
210        </tr>
211      </table>
212    </div>
213  </body>
214</html>
215