]> git.ipfire.org Git - thirdparty/sqlite.git/commitdiff
Estimate row sizes for tables and indices and use those estimates during
authordrh <drh@noemail.net>
Thu, 10 Oct 2013 12:38:11 +0000 (12:38 +0000)
committerdrh <drh@noemail.net>
Thu, 10 Oct 2013 12:38:11 +0000 (12:38 +0000)
query planning.  Enhance the index_info pragma to show the estimated row
sizes and to show the estimated row size for the main table as well.  Allow
an alternative row size estimate to be specified in the sqlite_stat1 table.

FossilOrigin-Name: d27b88b8c2705f444f794096c719e6f38a792165

1  2 
manifest
manifest.uuid

diff --cc manifest
index 9df2430a3d2b5b28bf49950a1556f78b65618748,a72ced4c6c44beee683de9d47ffbdd312684fc57..bd8d2796c4f3bd9a0a8b55ab01e7a2bb53d49c5a
+++ b/manifest
@@@ -1,5 -1,5 +1,5 @@@
- C Fix\scompilation\sissue\swith\sMSVC.
- D 2013-10-07T21:49:16.905
 -C Make\ssure\sthe\scorrect\sprintf\sformat\sis\sused\sfor\stype\stRowcnt\sregardless\nof\swhether\s32-bit\sor\s64-bit\srow\scounts\sare\sspecified\sat\scompile-time.
 -D 2013-10-09T19:07:22.896
++C Estimate\srow\ssizes\sfor\stables\sand\sindices\sand\suse\sthose\sestimates\sduring\nquery\splanning.\s\sEnhance\sthe\sindex_info\spragma\sto\sshow\sthe\sestimated\srow\nsizes\sand\sto\sshow\sthe\sestimated\srow\ssize\sfor\sthe\smain\stable\sas\swell.\s\sAllow\nan\salternative\srow\ssize\sestimate\sto\sbe\sspecified\sin\sthe\ssqlite_stat1\stable.
++D 2013-10-10T12:38:11.216
  F Makefile.arm-wince-mingw32ce-gcc d6df77f1f48d690bd73162294bbba7f59507c72f
  F Makefile.in 5e41da95d92656a5004b03d3576e8b226858a28e
  F Makefile.linux-gcc 91d710bdc4998cb015f39edf3cb314ec4f4d7e23
@@@ -1119,9 -1120,8 +1120,8 @@@ F tool/tostr.awk e75472c2f98dd76e06b8c9
  F tool/vdbe-compress.tcl f12c884766bd14277f4fcedcae07078011717381
  F tool/warnings-clang.sh f6aa929dc20ef1f856af04a730772f59283631d4
  F tool/warnings.sh fbc018d67fd7395f440c28f33ef0f94420226381
- F tool/wherecosttest.c f407dc4c79786982a475261866a161cd007947ae
  F tool/win/sqlite.vsix 030f3eeaf2cb811a3692ab9c14d021a75ce41fff
- P 0aca31e1514b3df254c049b4251bcb199831681a
- R d3aa6a286a3048275a719f5e0f524038
- U mistachkin
- Z c61ccb89f30c9bc6ea7f451bc07fd5fb
 -P f7cc30d45b77f58c258b21f5823c2b39a44e2bf5
 -R 78b5ffec5e7f00f3e552898f1fba4dac
++P 36d64dc36f18c166b2c93c43579fa3bbb5cd545f e97d7d3044aa6c5e21d1faab7d5e709d92faa261
++R 57860f2afd769aeffdd11c615e695d0a
+ U drh
 -Z 0f6503bc07f710c6b5b79c1a4c3be97a
++Z 2546d871db6bcc36ea3db39835f90b3e
diff --cc manifest.uuid
index d3c79e88942852a0b76fb0eb9ed0ba61d3f64d09,72ac48a4b91f9680710be4141d4f6a6d92288160..64bac1a9fc055aefd9736c66ca033beb64a22b74
@@@ -1,1 -1,1 +1,1 @@@
- 36d64dc36f18c166b2c93c43579fa3bbb5cd545f
 -e97d7d3044aa6c5e21d1faab7d5e709d92faa261
++d27b88b8c2705f444f794096c719e6f38a792165