1
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
3
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
4
<title>About SQLite</title>
5
<style type="text/css">
8
font-family: Verdana, sans-serif;
13
a:visited { color: #734559 }
15
.logo { position:absolute; margin:3px; }
31
.toolbar a { color: white; text-decoration: none; padding: 6px 12px; }
32
.toolbar a:visited { color: white; }
33
.toolbar a:hover { color: #044a64; background: white; }
35
.content { margin: 5%; }
36
.content dt { font-weight:bold; }
37
.content dd { margin-bottom: 25px; margin-left:20%; }
38
.content ul { padding:0px; padding-left: 15px; margin:0px; }
41
.se { background: url(images/se.gif) 100% 100% no-repeat #044a64}
42
.sw { background: url(images/sw.gif) 0% 100% no-repeat }
43
.ne { background: url(images/ne.gif) 100% 0% no-repeat }
44
.nw { background: url(images/nw.gif) 0% 0% no-repeat }
46
/* Things for "fancyformat" documents start here. */
47
.fancy img+p {font-style:italic}
48
.fancy .codeblock i { color: darkblue; }
49
.fancy h1,.fancy h2,.fancy h3,.fancy h4 {font-weight:normal;color:#044a64}
50
.fancy h2 { margin-left: 10px }
51
.fancy h3 { margin-left: 20px }
52
.fancy h4 { margin-left: 30px }
53
.fancy th {white-space:nowrap;text-align:left;border-bottom:solid 1px #444}
54
.fancy th, .fancy td {padding: 0.2em 1ex; vertical-align:top}
55
.fancy #toc a { color: darkblue ; text-decoration: none }
56
.fancy .todo { color: #AA3333 ; font-style : italic }
57
.fancy .todo:before { content: 'TODO:' }
58
.fancy p.todo { border: solid #AA3333 1px; padding: 1ex }
59
.fancy img { display:block; }
60
.fancy :link:hover, .fancy :visited:hover { background: wheat }
61
.fancy p,.fancy ul,.fancy ol { margin: 1em 5ex }
62
.fancy li p { margin: 1em 0 }
63
/* End of "fancyformat" specific rules. */
69
<div><!-- container div to satisfy validator -->
72
<img class="logo" src="images/sqlite370_banner.gif" alt="SQLite Logo"
74
<div><!-- IE hack to prevent disappearing logo--></div>
75
<div class="tagline">Small. Fast. Reliable.<br>Choose any three.</div>
77
<table width=100% style="clear:both"><tr><td>
78
<div class="se"><div class="sw"><div class="ne"><div class="nw">
79
<table width=100% style="padding:0;margin:0;cell-spacing:0"><tr>
82
<a href="about.html">About</a>
83
<a href="sitemap.html">Sitemap</a>
84
<a href="docs.html">Documentation</a>
85
<a href="download.html">Download</a>
86
<a href="copyright.html">License</a>
87
<a href="news.html">News</a>
88
<a href="support.html">Support</a>
91
gMsg = "Search SQLite Docs..."
92
function entersearch() {
93
var q = document.getElementById("q");
94
if( q.value == gMsg ) { q.value = "" }
95
q.style.color = "black"
96
q.style.fontStyle = "normal"
98
function leavesearch() {
99
var q = document.getElementById("q");
100
if( q.value == "" ) {
102
q.style.color = "#044a64"
103
q.style.fontStyle = "italic"
108
<div style="padding:0 1em 0px 0;white-space:nowrap">
109
<form name=f method="GET" action="http://www.sqlite.org/search">
110
<input id=q name=q type=text
111
onfocus="entersearch()" onblur="leavesearch()" style="width:24ex;padding:1px 1ex; border:solid white 1px; font-size:0.9em ; font-style:italic;color:#044a64;" value="Search SQLite Docs...">
112
<input type=submit value="Go" style="border:solid white 1px;background-color:#044a64;color:white;font-size:0.9em;padding:0 1ex">
116
</div></div></div></div>
118
<div class=startsearch></div>
122
<h1 align=center>About SQLite</h1>
124
<table align="right" border="1" cellpadding="10" hspace="20" cellspacing="0">
128
<li> <a href="features.html">Features</a> </li>
129
<li> <a href="faq.html">Frequently Asked Questions</a> </li>
130
<li> <a href="famous.html">Well-known Users</a> </li>
131
<li> <a href="books.html">Books About SQLite</a> </li>
132
<li> <a href="quickstart.html">Getting Started</a> </li>
133
<li> <a href="lang.html">SQL Syntax</a>
135
<li> <a href="pragma.html#toc">Pragmas</a>
136
<li> <a href="lang_corefunc.html">SQL functions</a>
137
<li> <a href="lang_datefunc.html">Date & time functions</a>
138
<li> <a href="lang_aggfunc.html">Aggregate functions</a>
141
<li> <a href="c3ref/intro.html">C/C++ Interface Spec</a>
143
<li> <a href="cintro.html">Introduction</a>
144
<li> <a href="c3ref/funclist.html">List of C-language APIs</a>
147
<li> <a href="tclsqlite.html">The TCL Interface Spec</a>
148
<li> <a href="http://www.sqlite.org/src/timeline">Development Timeline</a> </li>
149
<li> <a href="http://www.sqlite.org/src/wiki?name=Bug+Reports">Report a Bug</a> </li>
153
<p>SQLite is a in-process library that implements a
154
<a href="selfcontained.html">self-contained</a>,
155
<a href="serverless.html">serverless</a>,
156
<a href="zeroconf.html">zero-configuration</a>,
157
<a href="transactional.html">transactional</a>
159
The code for SQLite is in the
160
<a href="copyright.html">public domain</a> and is thus free for
161
use for any purpose, commercial or private.
162
SQLite is currently found in more applications than we can
163
count, including several <a href="famous.html">high-profile projects.</a></p>
165
<p>SQLite is an embedded SQL database engine.
166
Unlike most other SQL databases, SQLite does not have a separate
167
server process. SQLite reads and writes directly to ordinary disk
168
files. A complete SQL database with multiple tables, indices,
169
triggers, and views, is contained in a single disk file.
170
The database file format is cross-platform - you can freely copy a database
171
between 32-bit and 64-bit systems or between
172
<a href="http://en.wikipedia.org/wiki/Endianness">big-endian</a> and
173
<a href="http://en.wikipedia.org/wiki/Endianness">little-endian</a>
174
architectures. These features make SQLite a popular choice as
175
an <a href="whentouse.html#appfileformat">Application File Format</a>.
176
Think of SQLite not as a replacement for
177
<a href="http://www.oracle.com/database/index.html">Oracle</a> but
178
as a replacement for <a href="http://man.he.net/man3/fopen">fopen()</a></p>
180
<p>SQLite is a compact library.
181
With all features enabled, the <a href="footprint.html">library size</a> can be less than 350KiB,
182
depending on the target platform and compiler optimization settings.
183
(64-bit code is larger. And some compiler optimizations
184
such as aggressive function inlining and loop unrolling can cause the
185
object code to be much larger.) If optional features are omitted, the
186
size of the SQLite library can be reduced below 200KiB. SQLite can also
187
be made to run in minimal stack space (4KiB) and
188
very little heap (100KiB), making SQLite a popular database engine
189
choice on memory constrained gadgets such as cellphones, PDAs, and MP3 players.
190
There is a tradeoff between memory usage and speed.
191
SQLite generally runs faster the more memory
192
you give it. Nevertheless, performance is usually quite good even
193
in low-memory environments.</p>
196
<a href="testing.html">very carefully tested</a> prior to every
197
release and has a reputation for being very reliable.
198
Most of the SQLite source code is devoted purely to testing and
199
verification. An automated test suite runs millions and millions of
200
test cases involving hundreds of millions of individual SQL statements
201
and achieves <a href="testing.html#coverage">100% branch test coverage</a>.
202
SQLite responds gracefully to memory
203
allocation failures and disk I/O errors. Transactions are
204
<a href="http://en.wikipedia.org/wiki/ACID">ACID</a>
205
even if interrupted by system crashes or power failures.
206
All of this is verified by
207
the automated tests using special test harnesses which simulate
209
Of course, even with all this testing, there are still bugs.
210
But unlike some similar projects (especially commercial competitors)
211
SQLite is open and honest about all bugs and provides
212
<a href="http://www.sqlite.org/src/rptview?rn=2">bugs lists</a>
214
<a href="http://www.sqlite.org/cvstrac/wiki?p=DatabaseCorruption">
215
critical bugs</a> and
216
minute-by-minute <a href="http://www.sqlite.org/src/timeline">
217
chronologies</a> of bug reports and code changes.</p>
219
<p>The SQLite code base is supported by an
220
<a href="crew.html">international team</a> of developers who work on
222
The developers continue to expand the capabilities of SQLite
223
and enhance its reliability and performance while maintaining
224
backwards compatibility with the
225
<a href="c3ref/intro.html">published interface spec</a>,
226
<a href="lang.html">SQL syntax</a>, and database file format.
227
The source code is absolutely free to anybody who wants it,
228
but <a href="support.html#prosupport">professional support</a> is also available.</p>
230
<p>We the developers hope that you find SQLite useful and we
231
charge you to use it well: to make good and beautiful products that
232
are fast, reliable, and simple to use. Seek forgiveness for yourself
233
as you forgive others. And just as you have received SQLite for free,
234
so also freely give, paying the debt forward.</p>