mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-08-13 01:26:58 +00:00
add sqlite 3.3.8 to in tree libs
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3735 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
15
libs/sqlite/www/optimizing.tcl
Normal file
15
libs/sqlite/www/optimizing.tcl
Normal file
@@ -0,0 +1,15 @@
|
||||
set rcsid {$Id: optimizing.tcl,v 1.1 2005/01/17 03:42:52 drh Exp $}
|
||||
source common.tcl
|
||||
header {Hints For Optimizing Queries In SQLite}
|
||||
proc section {level tag name} {
|
||||
incr level
|
||||
if {$level>6} {set level 6}
|
||||
puts "\n"<a name=\"tag\" />"
|
||||
puts "<h$level>$name</h$level>\n"
|
||||
}
|
||||
section 1 recompile {Recompile the library for optimal performance}
|
||||
section 2 avoidtrans {Minimize the number of transactions}
|
||||
section 3 usebind {Use sqlite3_bind to insert large chunks of data}
|
||||
section 4 useindices {Use appropriate indices}
|
||||
section 5 recordjoin {Reorder the tables in a join}
|
||||
footer $rcsid
|
Reference in New Issue
Block a user