-C Add\ssupport\sfor\sdatabases\slarger\sthan\s2GB\sunder\sUnix.\s\sMust\sbe\scompiled\nwith\s-D_FILE_OFFSET_BITS=64\sand\s-D_LARGEFILE_SOURCE\sin\sorder\sto\swork\swith\nlarger\sdatabases.\s(CVS\s778)
-D 2002-11-05T23:03:03
+C Update\sthe\sFAQ\sto\sexplain\show\sto\senable\slarge\sfile\ssupport.\s(CVS\s779)
+D 2002-11-05T23:24:38
F Makefile.in d6c9a85c2a5e696843201d090dcf8bf2f8716f2a
F Makefile.linux-gcc b86a99c493a5bfb402d1d9178dcdc4bd4b32f906
F README f1de682fbbd94899d50aca13d387d1b3fd3be2dd
F www/datatypes.tcl 0cb28565580554fa7e03e8fcb303e87ce57757ae
F www/download.tcl 0932d7f4f0e8b2adbbd22fac73132f86e43ab4a9
F www/dynload.tcl 02eb8273aa78cfa9070dd4501dca937fb22b466c
-F www/faq.tcl 207d3e31597c63ed3bbecd58aaeaa38c53d39dd4
+F www/faq.tcl 7692f91e0b3f7ee9bb4387bc5028cb389dcc6546
F www/fileformat.tcl a4b5c2c6e89b7d42d09f97fd4d7bbd39cbf24936
F www/formatchng.tcl b4449e065d2da38b6563bdf12cf46cfe1d4d765e
F www/index.tcl c93b864e3c7313bbe5f86eec571479d438307173
F www/sqlite.tcl ae3dcfb077e53833b59d4fcc94d8a12c50a44098
F www/tclsqlite.tcl 1db15abeb446aad0caf0b95b8b9579720e4ea331
F www/vdbe.tcl 2013852c27a02a091d39a766bc87cff329f21218
-P 7c8c0e7633dca00bde7bc7c22075f688c034c200
-R bb6cf2c43588a20871dc03d12670be4d
+P a3f67fe9121ca4655510094fe775b8603a87800e
+R cf4f7decc291dfde5a877f00e8e00b89
U drh
-Z 1af0198577d28fb69a5246d24434f76c
+Z d6bb8956fe38e60e0b9132cb2cfe2434
-a3f67fe9121ca4655510094fe775b8603a87800e
\ No newline at end of file
+4caf624e9061fe7489a8e3c6892975036a2272d5
\ No newline at end of file
#
# Run this script to generated a faq.html output file
#
-set rcsid {$Id: faq.tcl,v 1.19 2002/08/24 18:24:57 drh Exp $}
+set rcsid {$Id: faq.tcl,v 1.20 2002/11/05 23:24:38 drh Exp $}
puts {<html>
<head>
faq {
Are there any known size limits to SQLite databases?
} {
- <p>Internally, SQLite can handle databases up to 2^40 bytes (1 terabyte)
+ <p>Internally, SQLite can handle databases up to 2^41 bytes (2 terabytes)
in size. But the backend interface to POSIX and Win32 limits files to
- 2^31 (2 gigabytes).</p>
+ 2^31 (2 gigabytes). (See the next question for instructions on how
+ to relax this limit under POSIX.)</p>
<p>SQLite arbitrarily limits the amount of data in one row to 1 megabyte.
There is a single #define in the source code that can be changed to raise
may not exceed 255 characters in length.</p>
}
+faq {
+ Are there any ways to increase the maximum database size limit above 2GB?
+} {
+ <p>For POSIX systems that support large files, you can increase the maximum
+ database size of SQLite by adding the following two options to your
+ compiler command line:</p>
+
+ <blockquote><pre>
+ -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE
+ </pre></blockquote>
+
+ <p>The resulting library and "sqlite" executable should be able to work
+ with databases as large as 2^41 bytes (2 terabytes).</p>
+}
+
faq {
What is the maximum size of a VARCHAR in SQLite?
} {