Debian Codegraph @

docs/bdb-sql/dbsqlbasics.html

raw symbols SCIP
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>Chapter 1. Berkeley DB SQL: The Absolute Basics</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 the Oracle Berkeley DB SQL APIs" />
10 <link rel="up" href="index.html" title="Getting Started with the Oracle Berkeley DB SQL APIs" />
11 <link rel="prev" href="moreinfo.html" title="For More Information" />
12 <link rel="next" href="buildinstall.html" title="Getting and Installing BDB SQL" />
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">Chapter 1. Berkeley DB SQL: The Absolute Basics</th>
22 </tr>
23 <tr>
24 <td width="20%" align="left"><a accesskey="p" href="moreinfo.html">Prev</a> </td>
25 <th width="60%" align="center"> </th>
26 <td width="20%" align="right"> <a accesskey="n" href="buildinstall.html">Next</a></td>
27 </tr>
28 </table>
29 <hr />
30 </div>
31 <div class="chapter" lang="en" xml:lang="en">
32 <div class="titlepage">
33 <div>
34 <div>
35 <h2 class="title"><a id="dbsqlbasics"></a>Chapter 1. Berkeley DB SQL: The Absolute Basics</h2>
36 </div>
37 </div>
38 </div>
39 <div class="toc">
40 <p>
41 <b>Table of Contents</b>
42 </p>
43 <dl>
44 <dt>
45 <span class="sect1">
46 <a href="dbsqlbasics.html#identicalusage">BDB SQL Is Nearly Identical to SQLite</a>
47 </span>
48 </dt>
49 <dt>
50 <span class="sect1">
51 <a href="buildinstall.html">Getting and Installing BDB SQL</a>
52 </span>
53 </dt>
54 <dd>
55 <dl>
56 <dt>
57 <span class="sect2">
58 <a href="buildinstall.html#onwin">On Windows Systems</a>
59 </span>
60 </dt>
61 <dt>
62 <span class="sect2">
63 <a href="buildinstall.html#onunix">On Unix</a>
64 </span>
65 </dt>
66 <dt>
67 <span class="sect2">
68 <a href="buildinstall.html#ado_net">The BDB SQL ADO.NET Interface</a>
69 </span>
70 </dt>
71 </dl>
72 </dd>
73 <dt>
74 <span class="sect1">
75 <a href="accessing_bdb_sql_databases.title.html">Accessing BDB SQL Databases</a>
76 </span>
77 </dt>
78 <dt>
79 <span class="sect1">
80 <a href="journaldirectory.html">The Journal Directory</a>
81 </span>
82 </dt>
83 <dt>
84 <span class="sect1">
85 <a href="unsupportedpragmas.html">Unsupported PRAGMAs</a>
86 </span>
87 </dt>
88 <dt>
89 <span class="sect1">
90 <a href="changedpragmas.html">Changed PRAGMAs</a>
91 </span>
92 </dt>
93 <dd>
94 <dl>
95 <dt>
96 <span class="sect2">
97 <a href="changedpragmas.html#auto_vacuum">PRAGMA auto_vacuum</a>
98 </span>
99 </dt>
100 <dt>
101 <span class="sect2">
102 <a href="changedpragmas.html#incremental_vacuum">PRAGMA incremental_vacuum</a>
103 </span>
104 </dt>
105 <dt>
106 <span class="sect2">
107 <a href="changedpragmas.html#journal_size_limit">PRAGMA journal_size_limit</a>
108 </span>
109 </dt>
110 </dl>
111 </dd>
112 <dt>
113 <span class="sect1">
114 <a href="addedpragmas.html">Added PRAGMAs</a>
115 </span>
116 </dt>
117 <dd>
118 <dl>
119 <dt>
120 <span class="sect2">
121 <a href="addedpragmas.html#bdbsql_error_file">PRAGMA bdbsql_error_file</a>
122 </span>
123 </dt>
124 <dt>
125 <span class="sect2">
126 <a href="addedpragmas.html#bdbsql_lock_tablesize">PRAGMA bdbsql_lock_tablesize</a>
127 </span>
128 </dt>
129 <dt>
130 <span class="sect2">
131 <a href="addedpragmas.html#bdbsql_shared_resources">PRAGMA bdbsql_shared_resources</a>
132 </span>
133 </dt>
134 <dt>
135 <span class="sect2">
136 <a href="addedpragmas.html#bdbsql_single_process">PRAGMA bdbsql_single_process</a>
137 </span>
138 </dt>
139 <dt>
140 <span class="sect2">
141 <a href="addedpragmas.html#bdbsql_system_memory">PRAGMA bdbsql_system_memory</a>
142 </span>
143 </dt>
144 <dt>
145 <span class="sect2">
146 <a href="addedpragmas.html#bdbsql_vacuum_fillpercent">PRAGMA bdbsql_vacuum_fillpercent</a>
147 </span>
148 </dt>
149 <dt>
150 <span class="sect2">
151 <a href="addedpragmas.html#bdbsql_vacuum_pages">PRAGMA bdbsql_vacuum_pages</a>
152 </span>
153 </dt>
154 <dt>
155 <span class="sect2">
156 <a href="addedpragmas.html#multiversion">PRAGMA multiversion</a>
157 </span>
158 </dt>
159 <dt>
160 <span class="sect2">
161 <a href="addedpragmas.html#snapshot_isolation">PRAGMA snapshot_isolation</a>
162 </span>
163 </dt>
164 <dt>
165 <span class="sect2">
166 <a href="addedpragmas.html#trickle">PRAGMA trickle</a>
167 </span>
168 </dt>
169 <dt>
170 <span class="sect2">
171 <a href="addedpragmas.html#txn_bulk">PRAGMA txn_bulk</a>
172 </span>
173 </dt>
174 <dt>
175 <span class="sect2">
176 <a href="addedpragmas.html#replication_pragmas">Replication PRAGMAs</a>
177 </span>
178 </dt>
179 </dl>
180 </dd>
181 <dt>
182 <span class="sect1">
183 <a href="miscdiff.html">Miscellaneous Differences</a>
184 </span>
185 </dt>
186 <dt>
187 <span class="sect1">
188 <a href="bdb-concepts.html">Berkeley DB Concepts</a>
189 </span>
190 </dt>
191 <dt>
192 <span class="sect1">
193 <a href="sql_encryption.html">Encryption</a>
194 </span>
195 </dt>
196 <dt>
197 <span class="sect1">
198 <a href="sequencesupport.html">Using Sequences</a>
199 </span>
200 </dt>
201 <dd>
202 <dl>
203 <dt>
204 <span class="sect2">
205 <a href="sequencesupport.html#create_sequence">create_sequence</a>
206 </span>
207 </dt>
208 <dt>
209 <span class="sect2">
210 <a href="sequencesupport.html#seq_nextval">nextval</a>
211 </span>
212 </dt>
213 <dt>
214 <span class="sect2">
215 <a href="sequencesupport.html#seq_currval">currval</a>
216 </span>
217 </dt>
218 <dt>
219 <span class="sect2">
220 <a href="sequencesupport.html#seq_drop_sequence">drop_sequence</a>
221 </span>
222 </dt>
223 </dl>
224 </dd>
225 <dt>
226 <span class="sect1">
227 <a href="normal-sql.html">Differences for Users of other SQL Engines</a>
228 </span>
229 </dt>
230 </dl>
231 </div>
232 <p>
233 Welcome to the Berkeley DB SQL interface. If you are a SQLite user who is
234 using the BDB SQL interface for reasons other than performance
235 enhancements, this chapter tells you the minimum things you
236 need to know about the interface. You should simply read this
237 chapter and then skip the rest of this book.
238 </p>
239 <p>
240 If, however, you are using the BDB SQL interface for performance reasons,
241 then you need to read this chapter, plus most of the rest of
242 the chapters in this book (although you can probably skip most
243 of <a class="xref" href="admin.html" title="Chapter 5. Administrating Berkeley DB SQL Databases">Administrating Berkeley DB SQL Databases</a>, unless you
244 want to administer your database "the Berkeley DB way").
245 </p>
246 <p>
247 Also, if you are an existing Berkeley DB user who is interested in
248 the BDB SQL interface, read this chapter plus the rest of this book.
249 </p>
250 <div class="sect1" lang="en" xml:lang="en">
251 <div class="titlepage">
252 <div>
253 <div>
254 <h2 class="title" style="clear: both"><a id="identicalusage"></a>BDB SQL Is Nearly Identical to SQLite</h2>
255 </div>
256 </div>
257 </div>
258 <p>
259 Your interaction with the BDB SQL interface is almost identical to
260 SQLite. You use the same APIs, the same command shell
261 environment, the same SQL statements, and the same PRAGMAs
262 to work with the database created by the BDB SQL interface as you
263 would if you were using SQLite.
264 </p>
265 <p>
266 To learn how to use SQLite, see the official
267 <a class="ulink" href="http://www.sqlite.org/docs.html" target="_top">SQLite
268 Documentation Page.</a>
269 </p>
270 <p>
271 That said, there are a few small differences between the
272 two interfaces. These are described in the remainder of
273 this chapter.
274 </p>
275 </div>
276 </div>
277 <div class="navfooter">
278 <hr />
279 <table width="100%" summary="Navigation footer">
280 <tr>
281 <td width="40%" align="left"><a accesskey="p" href="moreinfo.html">Prev</a> </td>
282 <td width="20%" align="center"> </td>
283 <td width="40%" align="right"> <a accesskey="n" href="buildinstall.html">Next</a></td>
284 </tr>
285 <tr>
286 <td width="40%" align="left" valign="top">For More Information </td>
287 <td width="20%" align="center">
288 <a accesskey="h" href="index.html">Home</a>
289 </td>
290 <td width="40%" align="right" valign="top"> Getting and Installing BDB SQL</td>
291 </tr>
292 </table>
293 </div>
294 </body>
295 </html>