From: drh Date: Sat, 14 Apr 2007 12:04:39 +0000 (+0000) Subject: Update the whentouse.html document to mention that less bitmap memory X-Git-Tag: version-3.6.10~2327 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=9e4e6e502f91f629fc09200ff06bdce40381b6dc;p=thirdparty%2Fsqlite.git Update the whentouse.html document to mention that less bitmap memory is used for larger page sizes. (CVS 3843) FossilOrigin-Name: 2c8e2a5be34cdfe11ef22bd6f78ec0519f497392 --- diff --git a/manifest b/manifest index 38a871e2ee..59ec2cac17 100644 --- a/manifest +++ b/manifest @@ -1,5 +1,5 @@ -C Match\sORDER\sBY\sterms\sto\scolumns\susing\snames\sin\scompound\squeries.\s\sMake\ssure\nthis\sworks\sfor\ssubqueries,\sespecially\sin\sthe\sright-hand\sside\sof\san\sIN\noperator.\sTicket\s#2296.\s(CVS\s3842) -D 2007-04-13T16:06:33 +C Update\sthe\swhentouse.html\sdocument\sto\smention\sthat\sless\sbitmap\smemory\nis\sused\sfor\slarger\spage\ssizes.\s(CVS\s3843) +D 2007-04-14T12:04:39 F Makefile.in 8cab54f7c9f5af8f22fd97ddf1ecfd1e1860de62 F Makefile.linux-gcc 2d8574d1ba75f129aba2019f0b959db380a90935 F README 9c4e2d6706bdcc3efdd773ce752a8cdab4f90028 @@ -457,8 +457,8 @@ F www/table-ex1b2.gif a588d21a2d88bb2a2ef0431fcc5ed5aa48c0bbc5 F www/tclsqlite.tcl bb0d1357328a42b1993d78573e587c6dcbc964b9 F www/vdbe.tcl 87a31ace769f20d3627a64fa1fade7fed47b90d0 F www/version3.tcl 890248cf7b70e60c383b0e84d77d5132b3ead42b -F www/whentouse.tcl 97e2b5cd296f7d8057e11f44427dea8a4c2db513 -P e39efa195a28f1cd7431b0811bd908dc7af3c8b1 -R b434a64adc5cd5e0bdd07ca7975fa65b +F www/whentouse.tcl fc46eae081251c3c181bd79c5faef8195d7991a5 +P cfc6f933dc60ca88ae848f7f0c402e820437c2ff +R 28caddcdc5058b3369c1c52b75efe638 U drh -Z 8bca189cccc6e2802e95c88c94744665 +Z 5805ea2bb38918a004e8fa50c9627a61 diff --git a/manifest.uuid b/manifest.uuid index 99eda3ad82..a0c9a728d9 100644 --- a/manifest.uuid +++ b/manifest.uuid @@ -1 +1 @@ -cfc6f933dc60ca88ae848f7f0c402e820437c2ff \ No newline at end of file +2c8e2a5be34cdfe11ef22bd6f78ec0519f497392 \ No newline at end of file diff --git a/www/whentouse.tcl b/www/whentouse.tcl index 54891c3632..bb4378baee 100644 --- a/www/whentouse.tcl +++ b/www/whentouse.tcl @@ -1,7 +1,7 @@ # # Run this TCL script to generate HTML for the goals.html file. # -set rcsid {$Id: whentouse.tcl,v 1.6 2005/08/16 14:44:49 drh Exp $} +set rcsid {$Id: whentouse.tcl,v 1.7 2007/04/14 12:04:39 drh Exp $} source common.tcl header {Appropriate Uses For SQLite} @@ -221,7 +221,9 @@ engine instead of SQLite.

before any write operation that is not within an explicit BEGIN...COMMIT) the engine has to allocate a bitmap of dirty pages in the disk file to help it manage its rollback journal. SQLite needs 256 bytes of RAM for -every 1MB of database. For smaller databases, the amount of memory +every 1MiB of database (assuming a 1024-byte page size: less memory is +used with larger page sizes, of course). +For smaller databases, the amount of memory required is not a problem, but when database begin to grow into the multi-gigabyte range, the size of the bitmap can get quite large. If you need to store and modify more than a few dozen GB of data, you should