From: drh Date: Tue, 27 Jan 2004 15:58:37 +0000 (+0000) Subject: Add a web page describing when it is appropriate to use SQLite and when it X-Git-Tag: version-3.6.10~4869 X-Git-Url: http://git.ipfire.org/gitweb/gitweb.cgi?a=commitdiff_plain;h=11437fa6b153859c9a69c24ea9760e1f19f09075;p=thirdparty%2Fsqlite.git Add a web page describing when it is appropriate to use SQLite and when it is not. (CVS 1199) FossilOrigin-Name: d77e47764818ef495894013fb26b1a510f2f1a7e --- diff --git a/manifest b/manifest index d861563460..a429eccc10 100644 --- a/manifest +++ b/manifest @@ -1,5 +1,5 @@ -C Modularize\sthe\scolumn\sname\sresolution\scode\sso\sthat\sit\sis\ssmaller,\sfaster,\nand\sready\sfor\ssome\senhancements\sthat\swill\sfix\slong-standing\sname\nresolutions\sproblems.\s(CVS\s1198) -D 2004-01-25T22:44:59 +C Add\sa\sweb\spage\sdescribing\swhen\sit\sis\sappropriate\sto\suse\sSQLite\sand\swhen\sit\nis\snot.\s(CVS\s1199) +D 2004-01-27T15:58:38 F Makefile.in 0515ff9218ad8d5a8f6220f0494b8ef94c67013b F Makefile.linux-gcc b86a99c493a5bfb402d1d9178dcdc4bd4b32f906 F README f1de682fbbd94899d50aca13d387d1b3fd3be2dd @@ -181,7 +181,8 @@ F www/speed.tcl 2f6b1155b99d39adb185f900456d1d592c4832b3 F www/sqlite.tcl 3c83b08cf9f18aa2d69453ff441a36c40e431604 F www/tclsqlite.tcl b9271d44dcf147a93c98f8ecf28c927307abd6da F www/vdbe.tcl 9b9095d4495f37697fd1935d10e14c6015e80aa1 -P 3626f6d4a1adb4209d5bd9e6477343b52bddbdf2 -R dd7edf82e94deb20012095d659a5fe16 +F www/whentouse.tcl a8335bce47cc2fddb07f19052cb0cb4d9129a8e4 +P d3648034b409822909d79eb5aa4e64cafa986541 +R 09ffcac6450729a067d4f6d8020881e5 U drh -Z cf295a8614ac26ab40dca8b761e6d91c +Z 6b879081bfc399734855dd0b9bd013b6 diff --git a/manifest.uuid b/manifest.uuid index e552cac47c..d47ca99479 100644 --- a/manifest.uuid +++ b/manifest.uuid @@ -1 +1 @@ -d3648034b409822909d79eb5aa4e64cafa986541 \ No newline at end of file +d77e47764818ef495894013fb26b1a510f2f1a7e \ No newline at end of file diff --git a/www/whentouse.tcl b/www/whentouse.tcl new file mode 100644 index 0000000000..a47fbf04fe --- /dev/null +++ b/www/whentouse.tcl @@ -0,0 +1,266 @@ +# +# Run this TCL script to generate HTML for the goals.html file. +# +set rcsid {$Id: whentouse.tcl,v 1.1 2004/01/27 15:58:38 drh Exp $} + +puts { +Appropriate Uses of SQLite + +

Appropriate Uses Of SQLite

+} +puts "

+(This page was last modified on [lrange $rcsid 3 4] UTC) +

" + +puts { +

+SQLite is different from most other SQL database engines in that its +primary design goal is to be simple: +

+ + + +

+Many people like SQLite because it is small and fast. But those +qualities are just happy accidents. +Users also find that SQLite is very reliable. Reliability is +a consequence of simplicity. With less complication, there is +less to go wrong. So, yes, SQLite is small, fast, and reliable, +but first and foremost, SQLite strives to be simple. +

+ +

+Simplicity in a database engine can be either a strength or a +weakness, depending on what you are trying to do. In order to +achieve simplicity, SQLite has had to sacrifice other characteristics +that some people find useful, such as high concurrancy, fine-grained +access control, a rich set of built-in functions, stored procedures, +esoteric SQL language features, XML and/or Java extensions, +tera- or peta-byte scalability, and so forth. If you need these +kinds of features and don't mind the added complexity that they +bring, then SQLite is probably not the database for you. +SQLite is not intended to be an enterprise database engine. It +not designed to compete with Oracle or PostgreSQL. +

+ +

+The basic rule of thumb for when it is appropriate to use SQLite is +this: Use SQLite in situations where simplicity of administration, +implementation, and maintenance are more important than the countless +complex features that enterprise database engines provide. +As it turns out, situations where simplicity is the better choice +are more common that many people realize. +

+ +

Situations Where SQLite Works Well

+ + + +

Situations Where Another RDBMS May Work Better

+ + + +} + + +puts { +


+

+ +Back to the SQLite home page +

+ +}