Debian Codegraph @

www/docs.html

raw
1 <!DOCTYPE html>
2 <html><head>
3 <meta name="viewport" content="width=device-width, initial-scale=1.0">
4 <meta http-equiv="content-type" content="text/html; charset=UTF-8">
5 <link href="sqlite.css" rel="stylesheet">
6 <title>SQLite Documentation</title>
7 <!-- path= -->
8 </head>
9 <body>
10 <div class=nosearch>
11 <a href="index.html">
12 <img class="logo" src="images/sqlite370_banner.gif" alt="SQLite" border="0">
13 </a>
14 <div><!-- IE hack to prevent disappearing logo --></div>
15 <div class="tagline desktoponly">
16 Small. Fast. Reliable.<br>Choose any three.
17 </div>
18 <div class="menu mainmenu">
19 <ul>
20 <li><a href="index.html">Home</a>
21 <li class='mobileonly'><a href="javascript:void(0)" onclick='toggle_div("submenu")'>Menu</a>
22 <li class='wideonly'><a href='about.html'>About</a>
23 <li class='desktoponly'><a href="docs.html">Documentation</a>
24 <li class='desktoponly'><a href="download.html">Download</a>
25 <li class='wideonly'><a href='copyright.html'>License</a>
26 <li class='desktoponly'><a href="support.html">Support</a>
27 <li class='desktoponly'><a href="prosupport.html">Purchase</a>
28 <li class='search' id='search_menubutton'>
29 <a href="javascript:void(0)" onclick='toggle_search()'>Search</a>
30 </ul>
31 </div>
32 <div class="menu submenu" id="submenu">
33 <ul>
34 <li><a href='about.html'>About</a>
35 <li><a href='docs.html'>Documentation</a>
36 <li><a href='download.html'>Download</a>
37 <li><a href='support.html'>Support</a>
38 <li><a href='prosupport.html'>Purchase</a>
39 </ul>
40 </div>
41 <div class="searchmenu" id="searchmenu">
42 <form method="GET" action="search">
43 <select name="s" id="searchtype">
44 <option value="d">Search Documentation</option>
45 <option value="c">Search Changelog</option>
46 </select>
47 <input type="text" name="q" id="searchbox" value="">
48 <input type="submit" value="Go">
49 </form>
50 </div>
51 </div>
52 <script>
53 function toggle_div(nm) {
54 var w = document.getElementById(nm);
55 if( w.style.display=="block" ){
56 w.style.display = "none";
57 }else{
58 w.style.display = "block";
59 }
60 }
61 function toggle_search() {
62 var w = document.getElementById("searchmenu");
63 if( w.style.display=="block" ){
64 w.style.display = "none";
65 } else {
66 w.style.display = "block";
67 setTimeout(function(){
68 document.getElementById("searchbox").focus()
69 }, 30);
70 }
71 }
72 function div_off(nm){document.getElementById(nm).style.display="none";}
73 window.onbeforeunload = function(e){div_off("submenu");}
74 /* Disable the Search feature if we are not operating from CGI, since */
75 /* Search is accomplished using CGI and will not work without it. */
76 if( !location.origin || !location.origin.match || !location.origin.match(/http/) ){
77 document.getElementById("search_menubutton").style.display = "none";
78 }
79 /* Used by the Hide/Show button beside syntax diagrams, to toggle the */
80 function hideorshow(btn,obj){
81 var x = document.getElementById(obj);
82 var b = document.getElementById(btn);
83 if( x.style.display!='none' ){
84 x.style.display = 'none';
85 b.innerHTML='show';
86 }else{
87 x.style.display = '';
88 b.innerHTML='hide';
89 }
90 return false;
91 }
92 var antiRobot = 0;
93 function antiRobotGo(){
94 if( antiRobot!=3 ) return;
95 antiRobot = 7;
96 var j = document.getElementById("mtimelink");
97 if(j && j.hasAttribute("data-href")) j.href=j.getAttribute("data-href");
98 }
99 function antiRobotDefense(){
100 document.body.onmousedown=function(){
101 antiRobot |= 2;
102 antiRobotGo();
103 document.body.onmousedown=null;
104 }
105 document.body.onmousemove=function(){
106 antiRobot |= 2;
107 antiRobotGo();
108 document.body.onmousemove=null;
109 }
110 setTimeout(function(){
111 antiRobot |= 1;
112 antiRobotGo();
113 }, 100)
114 antiRobotGo();
115 }
116 antiRobotDefense();
117 </script>
118
119
120
121 <div class="rightsidebar desktoponly border2px">
122 <h3 align="center">Common Links</h3>
123 <ul class=nounderline>
124 <li> <a href="features.html">Features</a> </li>
125 <li> <a href="whentouse.html">When to use SQLite</a> </li>
126 <li> <a href="quickstart.html">Getting Started</a> </li>
127 <li> <a href="https://sqlite.org/fiddle">Try it live!</li>
128 <li> <a href="chronology.html">Prior Releases</a>
129 <li> <a href="lang.html">SQL Syntax</a>
130 <ul>
131 <li> <a href="pragma.html#toc">Pragmas</a>
132 <li> <a href="lang_corefunc.html">SQL functions</a>
133 <li> <a href="lang_datefunc.html">Date &amp; time functions</a>
134 <li> <a href="lang_aggfunc.html#aggfunclist">Aggregate functions</a>
135 <li> <a href="windowfunctions.html#biwinfunc">Window functions</a>
136 <li> <a href="lang_mathfunc.html">Math functions</a>
137 <li> <a href="json1.html">JSON functions</a>
138 </ul>
139 </li>
140 <li> <a href="c3ref/intro.html">C/C++ Interface Spec</a>
141 <ul>
142 <li> <a href="cintro.html">Introduction</a>
143 <li> <a href="c3ref/funclist.html">List of C-language APIs</a>
144 </ul>
145 </li>
146 <li> <a href="tclsqlite.html">The TCL Interface Spec</a>
147 <li> <a href="quirks.html">Quirks and Gotchas</a> </li>
148 <li> <a href="faq.html">Frequently Asked Questions</a> </li>
149 <li> <a href="http://www.sqlite.org/src/timeline?n=100&y=ci">Commit History</a> </li>
150 <li> <a href="http://www.sqlite.org/src/wiki?name=Bug+Reports">Bugs</a> </li>
151 <li> <a href="news.html">News</a> </li>
152 </ul>
153
154 </div>
155
156 <h2 align="center">Documentation</h1>
157 <div class="docsearch" id="docsearch">
158 <form method="GET" action="./search">
159 <select name="s" id="searchtype">
160 <option value="d">Search Documentation</option>
161 <option value="c">Search Changelog</option>
162 </select>
163 <input type="text" name="q" id="searchbox">
164 <input type="submit" value="Go">
165 </form>
166 </div>
167 <style>
168 .showhide {
169 margin-left: 0;
170 padding-left: 0;
171 list-style-type: none;
172 }
173 .showhide > li {
174 padding-left: 1em;
175 text-indent: -1em;
176 }
177 .showhide > li li {
178 padding-left: 0;
179 text-indent: 0;
180 padding-top: 1ex;
181 padding-bottom: 1ex;
182 }
183 .showhide ul {
184 display: none;
185 list-style-type: disc;
186 }
187 .showhide > li > a {
188 text-decoration: none;
189 color: black;
190 cursor: pointer;
191 }
192 .sh_mark {
193 width: 1em;
194 }
195 .sh_link {
196 font-weight: bold;
197 }
198 .docsearch {
199 margin: auto;
200 width: 450px;
201 padding-bottom: 1.5em;
202 }
203 </style>
204 <script>
205 function showhide(n){
206 var ul = document.getElementById("sh_sub_"+n)
207 var mk = document.getElementById("sh_mark_"+n)
208 if( ul.style.display!="block" ){
209 ul.style.display = "block";
210 mk.innerHTML = "&#x25bc;";
211 } else {
212 ul.style.display = "none";
213 mk.innerHTML = "&#x25ba;";
214 }
215 }
216 if( !location.origin || !location.origin.match || !location.origin.match(/http/) ){
217 document.getElementById("docsearch").style.display = "none";
218 }
219 </script>
220
221 <ul class="showhide">
222 <li><a onclick='showhide(1)'><span class='sh_mark' id='sh_mark_1'>&#x25bc;</span> Document Lists And Indexes</a>
223 <ul id='sh_sub_1' style='display:block;'>
224 <li><a class='sh_link' href='doclist.html'>Alphabetical Listing Of All Documents</a>
225 <li><a class='sh_link' href='keyword_index.html'>Website Keyword Index</a>
226 <li><a class='sh_link' href='sitemap.html'>Permuted Title Index</a>
227 </ul>
228 <li><a onclick='showhide(2)'><span class='sh_mark' id='sh_mark_2'>&#x25ba;</span> Overview Documents</a>
229 <ul id='sh_sub_2'>
230 <li><a class='sh_link' href='about.html'>About SQLite</a>
231 <span class='desktoponly'>&rarr;
232 A high-level overview of what SQLite is and why you might be
233 interested in using it.
234 </span>
235 <li><a class='sh_link' href='whentouse.html'>Appropriate Uses For SQLite</a>
236 <span class='desktoponly'>&rarr;
237 This document describes situations where SQLite is an appropriate
238 database engine to use versus situations where a client/server
239 database engine might be a better choice.
240 </span>
241 <li><a class='sh_link' href='different.html'>Distinctive Features</a>
242 <span class='desktoponly'>&rarr;
243 This document enumerates and describes some of the features of
244 SQLite that make it different from other SQL database engines.
245 </span>
246 <li><a class='sh_link' href='quirks.html'>Quirks of SQLite</a>
247 <span class='desktoponly'>&rarr;
248 This document is a short list of some unusual features of SQLite
249 that tend to cause misunderstandings and confusion. The list includes
250 both deliberate innovations and "misfeatures" that are retained only
251 for backwards compatibility.
252 </span>
253 <li><a class='sh_link' href='testing.html'>How SQLite Is Tested</a>
254 <span class='desktoponly'>&rarr;
255 The reliability and robustness of SQLite is achieved in large part
256 by thorough and careful testing. This document identifies the
257 many tests that occur before every release of SQLite.
258 </span>
259 <li><a class='sh_link' href='copyright.html'>Copyright</a>
260 <span class='desktoponly'>&rarr;
261 SQLite is in the public domain. This document describes what that means
262 and the implications for contributors.
263 </span>
264 <li><a class='sh_link' href='faq.html'>Frequently Asked Questions</a>
265 <span class='desktoponly'>&rarr;
266 The title of the document says all...
267 </span>
268 <li><a class='sh_link' href='books.html'>Books About SQLite</a>
269 <span class='desktoponly'>&rarr;
270 A list of independently written books about SQLite.
271 </span>
272 </ul>
273 <li><a onclick='showhide(3)'><span class='sh_mark' id='sh_mark_3'>&#x25ba;</span> Programming Interfaces</a>
274 <ul id='sh_sub_3'>
275 <li><a class='sh_link' href='quickstart.html'>SQLite In 5 Minutes Or Less</a>
276 <span class='desktoponly'>&rarr;
277 A very quick introduction to programming with SQLite.
278 </span>
279 <li><a class='sh_link' href='cintro.html'>Introduction to the C/C++ API </a>
280 <span class='desktoponly'>&rarr;
281 This document introduces the C/C++ API. Users should read this document
282 before the C/C++ API Reference Guide linked below.
283 </span>
284 <li><a class='sh_link' href='howtocompile.html'>How To Compile SQLite</a>
285 <span class='desktoponly'>&rarr;
286 Instructions and hints for compiling SQLite C code and integrating
287 that code with your own application.
288 </span>
289 <li><a class='sh_link' href='c3ref/intro.html'>C/C++ API Reference</a>
290 <span class='desktoponly'>&rarr;
291 This document describes each API function separately.
292 </span>
293 <li><a class='sh_link' href='rescode.html'>Result and Error Codes</a>
294 <span class='desktoponly'>&rarr;
295 A description of the meanings of the numeric result codes
296 returned by various C/C++ interfaces.
297 </span>
298 <li><a class='sh_link' href='lang.html'>SQL Syntax</a>
299 <span class='desktoponly'>&rarr;
300 This document describes the SQL language that is understood by
301 SQLite.
302 </span>
303 <li><a class='sh_link' href='pragma.html'>Pragma commands</a>
304 <span class='desktoponly'>&rarr;
305 This document describes SQLite performance tuning options and other
306 special purpose database commands.
307 </span>
308 <li><a class='sh_link' href='lang_corefunc.html'>Core SQL Functions</a>
309 <span class='desktoponly'>&rarr;
310 General-purpose built-in scalar SQL functions.
311 </span>
312 <li><a class='sh_link' href='lang_aggfunc.html'>Aggregate SQL Functions</a>
313 <span class='desktoponly'>&rarr;
314 General-purpose built-in aggregate SQL functions.
315 </span>
316 <li><a class='sh_link' href='lang_datefunc.html'>Date and Time SQL Functions</a>
317 <span class='desktoponly'>&rarr;
318 SQL functions for manipulating dates and times.
319 </span>
320 <li><a class='sh_link' href='windowfunctions.html'>Window Functions</a>
321 <span class='desktoponly'>&rarr;
322 SQL Window functions.
323 </span>
324 <li><a class='sh_link' href='gencol.html'>Generated Columns</a>
325 <span class='desktoponly'>&rarr;
326 Stored and virtual columns in table definitions.
327 </span>
328 <li><a class='sh_link' href='http://system.data.sqlite.org/'>System.Data.SQLite</a>
329 <span class='desktoponly'>&rarr;
330 C#/.NET bindings for SQLite
331 </span>
332 <li><a class='sh_link' href='tclsqlite.html'>Tcl API</a>
333 <span class='desktoponly'>&rarr;
334 A description of the TCL interface bindings for SQLite.
335 </span>
336 <li><a class='sh_link' href='datatype3.html'>DataTypes</a>
337 <span class='desktoponly'>&rarr;
338 SQLite version 3 introduces the concept of manifest typing, where the
339 type of a value is associated with the value itself, not the column that
340 it is stored in.
341 This page describes data typing for SQLite version 3 in further detail.
342 </span>
343 </ul>
344 <li><a onclick='showhide(4)'><span class='sh_mark' id='sh_mark_4'>&#x25ba;</span> Extensions</a>
345 <ul id='sh_sub_4'>
346 <li><a class='sh_link' href='json1.html'>Json1 - JSON Integration</a>
347 <span class='desktoponly'>&rarr;
348 SQL functions for creating, parsing, and querying JSON content.
349 </span>
350 <li><a class='sh_link' href='fts5.html'>FTS5 - Full Text Search</a>
351 <span class='desktoponly'>&rarr;
352 A description of the SQLite Full Text Search (FTS5) extension.
353 </span>
354 <li><a class='sh_link' href='fts3.html'>FTS3 - Full Text Search</a>
355 <span class='desktoponly'>&rarr;
356 A description of the SQLite Full Text Search (FTS3) extension.
357 </span>
358 <li><a class='sh_link' href='rtree.html'>R-Tree Module</a>
359 <span class='desktoponly'>&rarr;
360 A description of the SQLite R-Tree extension. An R-Tree is a specialized
361 data structure that supports fast multi-dimensional range queries often
362 used in geospatial systems.
363 </span>
364 <li><a class='sh_link' href='sessionintro.html'>Sessions</a>
365 <span class='desktoponly'>&rarr;
366 The Sessions extension allows change to an SQLite database to be
367 captured in a compact file which can be reverted on the original
368 database (to implement "undo") or transferred and applied to another
369 similar database.
370 </span>
371 <li><a class='sh_link' href='loadext.html'>Run-Time Loadable Extensions</a>
372 <span class='desktoponly'>&rarr;
373 A general overview on how run-time loadable extensions work, how they
374 are compiled, and how developers can create their own run-time loadable
375 extensions for SQLite.
376 </span>
377 <li><a class='sh_link' href='http://sqlite.org/android/'>SQLite Android Bindings</a>
378 <span class='desktoponly'>&rarr;
379 Information on how to deploy your own private copy of SQLite on
380 Android, bypassing the built-in SQLite, but using the same Java
381 interface.
382 </span>
383 <li><a class='sh_link' href='dbstat.html'>Dbstat Virtual Table</a>
384 <span class='desktoponly'>&rarr;
385 The DBSTAT virtual table reports on the sizes and geometries of tables
386 storing content in an SQLite database, and is the basis for the
387 <a href="sqlanalyze.html">sqlite3_analyzer</a> utility program.
388 </span>
389 <li><a class='sh_link' href='csv.html'>Csv Virtual Table</a>
390 <span class='desktoponly'>&rarr;
391 The CSV virtual table allows SQLite to directly read and query
392 <a href="https://www.ietf.org/rfc/rfc4180.txt">RFC 4180</a> formatted files.
393 </span>
394 <li><a class='sh_link' href='carray.html'>Carray</a>
395 <span class='desktoponly'>&rarr;
396 CARRAY is a <a href="vtab.html#tabfunc2">table-valued function</a>
397 that allows C-language arrays to be used in SQL queries.
398 </span>
399 <li><a class='sh_link' href='series.html'>generate_series</a>
400 <span class='desktoponly'>&rarr;
401 A description of the generate_series()
402 <a href="vtab.html#tabfunc2">table-valued function</a>.
403 </span>
404 <li><a class='sh_link' href='spellfix1.html'>Spellfix1</a>
405 <span class='desktoponly'>&rarr;
406 The spellfix1 extension is an experiment in doing spelling correction
407 for <a href="fts3.html">full-text search</a>.
408 </span>
409 </ul>
410 <li><a onclick='showhide(5)'><span class='sh_mark' id='sh_mark_5'>&#x25ba;</span> Features</a>
411 <ul id='sh_sub_5'>
412 <li><a class='sh_link' href='shortnames.html'>8+3 Filenames</a>
413 <span class='desktoponly'>&rarr;
414 How to make SQLite work on filesystems that only support
415 8+3 filenames.
416 </span>
417 <li><a class='sh_link' href='autoinc.html'>Autoincrement</a>
418 <span class='desktoponly'>&rarr;
419 A description of the AUTOINCREMENT keyword in SQLite, what it does,
420 why it is sometimes useful, and why it should be avoided if not
421 strictly necessary.
422 </span>
423 <li><a class='sh_link' href='backup.html'>Backup API</a>
424 <span class='desktoponly'>&rarr;
425 The <a href="c3ref/backup_finish.html">online-backup interface</a> can be
426 used to copy content from a disk file into an in-memory database or vice
427 versa and it can make a hot backup of a live database. This application
428 note gives examples of how.
429 </span>
430 <li><a class='sh_link' href='errlog.html'>Error and Warning Log</a>
431 <span class='desktoponly'>&rarr;
432 SQLite supports an "error and warning log" design to capture information
433 about suspicious and/or error events during operation. Embedded applications
434 are encouraged to enable the error and warning log to help with debugging
435 application problems that arise in the field. This document explains how
436 to do that.
437 </span>
438 <li><a class='sh_link' href='foreignkeys.html'>Foreign Key Support</a>
439 <span class='desktoponly'>&rarr;
440 This document describes the support for foreign key constraints introduced
441 in version 3.6.19.
442 </span>
443 <li><a class='sh_link' href='expridx.html'>Indexes On Expressions</a>
444 <span class='desktoponly'>&rarr;
445 Notes on how to create indexes on expressions instead of just
446 individual columns.
447 </span>
448 <li><a class='sh_link' href='intern-v-extern-blob.html'>Internal versus External Blob Storage</a>
449 <span class='desktoponly'>&rarr;
450 Should you store large BLOBs directly in the database, or store them
451 in files and just record the filename in the database? This document
452 seeks to shed light on that question.
453 </span>
454 <li><a class='sh_link' href='limits.html'>Limits In SQLite</a>
455 <span class='desktoponly'>&rarr;
456 This document describes limitations of SQLite (the maximum length of a
457 string or blob, the maximum size of a database, the maximum number of
458 tables in a database, etc.) and how these limits can be altered at
459 compile-time and run-time.
460 </span>
461 <li><a class='sh_link' href='mmap.html'>Memory-Mapped I/O</a>
462 <span class='desktoponly'>&rarr;
463 SQLite supports memory-mapped I/O. Learn how to enable memory-mapped
464 I/O and about the various advantages and disadvantages to using
465 memory-mapped I/O in this document.
466 </span>
467 <li><a class='sh_link' href='threadsafe.html'>Multi-threaded Programs and SQLite</a>
468 <span class='desktoponly'>&rarr;
469 SQLite is safe to use in multi-threaded programs. This document
470 provides the details and hints on how to maximize performance.
471 </span>
472 <li><a class='sh_link' href='nulls.html'>Null Handling</a>
473 <span class='desktoponly'>&rarr;
474 Different SQL database engines handle NULLs in different ways. The
475 SQL standards are ambiguous. This (circa 2003) document describes
476 how SQLite handles NULLs in comparison with other SQL database engines.
477 </span>
478 <li><a class='sh_link' href='partialindex.html'>Partial Indexes</a>
479 <span class='desktoponly'>&rarr;
480 A partial index is an index that only covers a subset of the rows in
481 a table. Learn how to use partial indexes in SQLite from this document.
482 </span>
483 <li><a class='sh_link' href='sharedcache.html'>Shared Cache Mode</a>
484 <span class='desktoponly'>&rarr;
485 Version 3.3.0 and later supports the ability for two or more
486 database connections to share the same page and schema cache.
487 This feature is useful for certain specialized applications.
488 </span>
489 <li><a class='sh_link' href='unlock_notify.html'>Unlock Notify</a>
490 <span class='desktoponly'>&rarr;
491 The "unlock notify" feature can be used in conjunction with
492 <a href="sharedcache.html">shared cache mode</a> to more efficiently
493 manage resource conflict (database table locks).
494 </span>
495 <li><a class='sh_link' href='uri.html'>URI Filenames</a>
496 <span class='desktoponly'>&rarr;
497 The names of database files can be specified using either an ordinary
498 filename or a URI. Using URI filenames provides additional capabilities,
499 as this document describes.
500 </span>
501 <li><a class='sh_link' href='withoutrowid.html'>WITHOUT ROWID Tables</a>
502 <span class='desktoponly'>&rarr;
503 The WITHOUT ROWID optimization is a option that can sometimes result
504 in smaller and faster databases.
505 </span>
506 <li><a class='sh_link' href='wal.html'>Write-Ahead Log (WAL) Mode</a>
507 <span class='desktoponly'>&rarr;
508 Transaction control using a write-ahead log offers more concurrency and
509 is often faster than the default rollback transactions. This document
510 explains how to use WAL mode for improved performance.
511 </span>
512 </ul>
513 <li><a onclick='showhide(6)'><span class='sh_mark' id='sh_mark_6'>&#x25ba;</span> Tools</a>
514 <ul id='sh_sub_6'>
515 <li><a class='sh_link' href='cli.html'>Command-Line Shell (sqlite3.exe)</a>
516 <span class='desktoponly'>&rarr;
517 Notes on using the "sqlite3.exe" command-line interface that
518 can be used to create, modify, and query arbitrary SQLite
519 database files.
520 </span>
521 <li><a class='sh_link' href='sqlanalyze.html'>SQLite Database Analyzer (sqlite3_analyzer.exe)</a>
522 <span class='desktoponly'>&rarr;
523 This stand-alone program reads an SQLite database and outputs a file
524 showing the space used by each table and index and other statistics.
525 Built using the <a href="dbstat.html">dbstat virtual table</a>.
526 </span>
527 <li><a class='sh_link' href='rbu.html'>RBU</a>
528 <span class='desktoponly'>&rarr;
529 The "Resumable Bulk Update" utility program allows a batch of changes
530 to be applied to a remote database running on embedded hardware in a
531 way that is resumeable and does not interrupt ongoing operation.
532 </span>
533 <li><a class='sh_link' href='sqldiff.html'>SQLite Database Diff (sqldiff.exe)</a>
534 <span class='desktoponly'>&rarr;
535 This stand-alone program compares two SQLite database files and
536 outputs the SQL needed to convert one into the other.
537 </span>
538 <li><a class='sh_link' href='dbhash.html'>Database Hash (dbhash.exe)</a>
539 <span class='desktoponly'>&rarr;
540 This program demonstrates how to compute a hash over the content
541 of an SQLite database.
542 </span>
543 <li><a class='sh_link' href='http://www.fossil-scm.org/'>Fossil</a>
544 <span class='desktoponly'>&rarr;
545 The Fossil Version Control System is a distributed VCS designed specifically
546 to support SQLite development. Fossil uses SQLite as for storage.
547 </span>
548 <li><a class='sh_link' href='https://www.sqlite.org/sqlar/'>SQLite Archiver (sqlar.exe)</a>
549 <span class='desktoponly'>&rarr;
550 A ZIP-like archive program that uses SQLite for storage.
551 </span>
552 </ul>
553 <li><a onclick='showhide(7)'><span class='sh_mark' id='sh_mark_7'>&#x25ba;</span> Advocacy</a>
554 <ul id='sh_sub_7'>
555 <li><a class='sh_link' href='appfileformat.html'>SQLite As An Application File Format</a>
556 <span class='desktoponly'>&rarr;
557 This article advocates using SQLite as an application file format
558 in place of XML or JSON or a "pile-of-file".
559 </span>
560 <li><a class='sh_link' href='famous.html'>Well Known Users</a>
561 <span class='desktoponly'>&rarr;
562 This page lists a small subset of the many thousands of devices
563 and application programs that make use of SQLite.
564 </span>
565 <li><a class='sh_link' href='fasterthanfs.html'>35% Faster Than The Filesystem</a>
566 <span class='desktoponly'>&rarr;
567 This article points out that reading blobs out of an SQLite database
568 is often faster than reading the same blobs from individual files in
569 the filesystem.
570 </span>
571 </ul>
572 <li><a onclick='showhide(8)'><span class='sh_mark' id='sh_mark_8'>&#x25ba;</span> Technical and Design Documentation</a>
573 <ul id='sh_sub_8'>
574 <li><a class='sh_link' href='howtocorrupt.html'>How Database Corruption Can Occur</a>
575 <span class='desktoponly'>&rarr;
576 SQLite is highly resistant to database corruption. But application,
577 OS, and hardware bugs can still result in corrupt database files.
578 This article describes many of the ways that SQLite database files
579 can go corrupt.
580 </span>
581 <li><a class='sh_link' href='tempfiles.html'>Temporary Files Used By SQLite</a>
582 <span class='desktoponly'>&rarr;
583 SQLite can potentially use many different temporary files when
584 processing certain SQL statements. This document describes the
585 many kinds of temporary files that SQLite uses and offers suggestions
586 for avoiding them on systems where creating a temporary file is an
587 expensive operation.
588 </span>
589 <li><a class='sh_link' href='inmemorydb.html'>In-Memory Databases</a>
590 <span class='desktoponly'>&rarr;
591 SQLite normally stores content in a disk file. However, it can also
592 be used as an in-memory database engine. This document explains how.
593 </span>
594 <li><a class='sh_link' href='atomiccommit.html'>How SQLite Implements Atomic Commit</a>
595 <span class='desktoponly'>&rarr;
596 A description of the logic within SQLite that implements
597 transactions with atomic commit, even in the face of power
598 failures.
599 </span>
600 <li><a class='sh_link' href='malloc.html'>Dynamic Memory Allocation in SQLite</a>
601 <span class='desktoponly'>&rarr;
602 SQLite has a sophisticated memory allocation subsystem that can be
603 configured and customized to meet memory usage requirements of the
604 application and that is robust against out-of-memory conditions and
605 leak-free. This document provides the details.
606 </span>
607 <li><a class='sh_link' href='custombuild.html'>Customizing And Porting SQLite</a>
608 <span class='desktoponly'>&rarr;
609 This document explains how to customize the build of SQLite and
610 how to port SQLite to new platforms.
611 </span>
612 <li><a class='sh_link' href='lockingv3.html'>Locking And Concurrency<br>In SQLite Version 3</a>
613 <span class='desktoponly'>&rarr;
614 A description of how the new locking code in version 3 increases
615 concurrency and decreases the problem of writer starvation.
616 </span>
617 <li><a class='sh_link' href='isolation.html'>Isolation In SQLite</a>
618 <span class='desktoponly'>&rarr;
619 When we say that SQLite transactions are "serializable" what exactly
620 does that mean? How and when are changes made visible within the
621 same database connection and to other database connections?
622 </span>
623 <li><a class='sh_link' href='optoverview.html'>Overview Of The Optimizer</a>
624 <span class='desktoponly'>&rarr;
625 A quick overview of the various query optimizations that are
626 attempted by the SQLite code generator.
627 </span>
628 <li><a class='sh_link' href='queryplanner-ng.html'>The Next-Generation Query Planner</a>
629 <span class='desktoponly'>&rarr;
630 Additional information about the SQLite query planner, and in particular
631 the redesign of the query planner that occurred for version 3.8.0.
632 </span>
633 <li><a class='sh_link' href='arch.html'>Architecture</a>
634 <span class='desktoponly'>&rarr;
635 An architectural overview of the SQLite library, useful for those who want
636 to hack the code.
637 </span>
638 <li><a class='sh_link' href='opcode.html'>VDBE Opcodes</a>
639 <span class='desktoponly'>&rarr;
640 This document is an automatically generated description of the various
641 opcodes that the VDBE understands. Programmers can use this document as
642 a reference to better understand the output of EXPLAIN listings from
643 SQLite.
644 </span>
645 <li><a class='sh_link' href='vfs.html'>Virtual Filesystem</a>
646 <span class='desktoponly'>&rarr;
647 The "VFS" object is the interface between the SQLite core and the
648 underlying operating system. Learn more about how the VFS object
649 works and how to create new VFS objects from this article.
650 </span>
651 <li><a class='sh_link' href='vtab.html'>Virtual Tables</a>
652 <span class='desktoponly'>&rarr;
653 This article describes the virtual table mechanism and API in SQLite and how
654 it can be used to add new capabilities to the core SQLite library.
655 </span>
656 <li><a class='sh_link' href='fileformat2.html'>SQLite File Format</a>
657 <span class='desktoponly'>&rarr;
658 A description of the format used for SQLite database and journal files, and
659 other details required to create software to read and write SQLite
660 databases without using SQLite.
661 </span>
662 <li><a class='sh_link' href='compile.html'>Compilation Options</a>
663 <span class='desktoponly'>&rarr;
664 This document describes the compile time options that may be set to
665 modify the default behavior of the library or omit optional features
666 in order to reduce binary size.
667 </span>
668 <li><a class='sh_link' href='https://sqlite.org/android/'>Android Bindings for SQLite</a>
669 <span class='desktoponly'>&rarr;
670 A description of how to compile your own SQLite for Android
671 (bypassing the SQLite that is built into Android) together with
672 code and makefiles.
673 </span>
674 <li><a class='sh_link' href='debugging.html'>Debugging Hints</a>
675 <span class='desktoponly'>&rarr;
676 A list of tricks and techniques used to trace, examine, and understand
677 the operation of the core SQLite library.
678 </span>
679 </ul>
680 <li><a onclick='showhide(9)'><span class='sh_mark' id='sh_mark_9'>&#x25ba;</span> Upgrading SQLite, Backwards Compatibility</a>
681 <ul id='sh_sub_9'>
682 <li><a class='sh_link' href='35to36.html'>Moving From SQLite 3.5 to 3.6</a>
683 <span class='desktoponly'>&rarr;
684 A document describing the differences between SQLite version 3.5.9
685 and 3.6.0.
686 </span>
687 <li><a class='sh_link' href='34to35.html'>Moving From SQLite 3.4 to 3.5</a>
688 <span class='desktoponly'>&rarr;
689 A document describing the differences between SQLite version 3.4.2
690 and 3.5.0.
691 </span>
692 <li><a class='sh_link' href='changes.html'>Release History</a>
693 <span class='desktoponly'>&rarr;
694 A chronology of SQLite releases going back to version 1.0.0
695 </span>
696 <li><a class='sh_link' href='formatchng.html'>Backwards Compatibility</a>
697 <span class='desktoponly'>&rarr;
698 This document details all of the incompatible changes to the SQLite
699 file format that have occurred since version 1.0.0.
700 </span>
701 <li><a class='sh_link' href='privatebranch.html'>Private Branches</a>
702 <span class='desktoponly'>&rarr;
703 This document suggests procedures for maintaining a private branch
704 or fork of SQLite and keeping that branch or fork in sync with the
705 public SQLite source tree.
706 </span>
707 </ul>
708 <li><a onclick='showhide(10)'><span class='sh_mark' id='sh_mark_10'>&#x25ba;</span> Obsolete Documents</a>
709 <ul id='sh_sub_10'>
710 <li><a class='sh_link' href='asyncvfs.html'>Asynchronous IO Mode</a>
711 <span class='desktoponly'>&rarr;
712 This page describes the asynchronous IO extension developed alongside
713 SQLite. Using asynchronous IO can cause SQLite to appear more responsive
714 by delegating database writes to a background thread. <i>NB: This
715 extension is deprecated. <a href="wal.html">WAL mode</a> is recommended
716 as a replacement.</i>
717 </span>
718 <li><a class='sh_link' href='c_interface.html'>Version 2 C/C++ API</a>
719 <span class='desktoponly'>&rarr;
720 A description of the C/C++ interface bindings for SQLite through version
721 2.8
722 </span>
723 <li><a class='sh_link' href='datatypes.html'>Version 2 DataTypes </a>
724 <span class='desktoponly'>&rarr;
725 A description of how SQLite version 2 handles SQL datatypes.
726 Short summary: Everything is a string.
727 </span>
728 <li><a class='sh_link' href='vdbe.html'>VDBE Tutorial</a>
729 <span class='desktoponly'>&rarr;
730 The VDBE is the subsystem within SQLite that does the actual work of
731 executing SQL statements. This page describes the principles of operation
732 for the VDBE in SQLite version 2.7. This is essential reading for anyone
733 who want to modify the SQLite sources.
734 </span>
735 <li><a class='sh_link' href='version3.html'>SQLite Version 3</a>
736 <span class='desktoponly'>&rarr;
737 A summary of the changes between SQLite version 2.8 and SQLite version 3.0.
738 </span>
739 <li><a class='sh_link' href='capi3.html'>Version 3 C/C++ API</a>
740 <span class='desktoponly'>&rarr;
741 A summary of the API related changes between SQLite version 2.8 and
742 SQLite version 3.0.
743 </span>
744 <li><a class='sh_link' href='speed.html'>Speed Comparison</a>
745 <span class='desktoponly'>&rarr;
746 The speed of version 2.7.6 of SQLite is compared against PostgreSQL and
747 MySQL.
748 </span>
749 </ul>
750
751 </ul>
752 <br clear="both">
753
754