diff options
Diffstat (limited to 'libraries/sqlite/unix/sqlite-3.5.1/www/optimizing.tcl')
-rw-r--r-- | libraries/sqlite/unix/sqlite-3.5.1/www/optimizing.tcl | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/libraries/sqlite/unix/sqlite-3.5.1/www/optimizing.tcl b/libraries/sqlite/unix/sqlite-3.5.1/www/optimizing.tcl new file mode 100644 index 0000000..44d2825 --- /dev/null +++ b/libraries/sqlite/unix/sqlite-3.5.1/www/optimizing.tcl | |||
@@ -0,0 +1,15 @@ | |||
1 | set rcsid {$Id: optimizing.tcl,v 1.1 2005/01/17 03:42:52 drh Exp $} | ||
2 | source common.tcl | ||
3 | header {Hints For Optimizing Queries In SQLite} | ||
4 | proc section {level tag name} { | ||
5 | incr level | ||
6 | if {$level>6} {set level 6} | ||
7 | puts "\n"<a name=\"tag\" />" | ||
8 | puts "<h$level>$name</h$level>\n" | ||
9 | } | ||
10 | section 1 recompile {Recompile the library for optimal performance} | ||
11 | section 2 avoidtrans {Minimize the number of transactions} | ||
12 | section 3 usebind {Use sqlite3_bind to insert large chunks of data} | ||
13 | section 4 useindices {Use appropriate indices} | ||
14 | section 5 recordjoin {Reorder the tables in a join} | ||
15 | footer $rcsid | ||