dan
|
8ad1d8ba38
|
If the user provides likelihood() data for a WHERE clause term used as part of an index key, have the planner use it when calculating the expected number of rows visited by the loop.
FossilOrigin-Name: c51efaa5d29ee0a91b9e6a83a8dd82530670811a
|
2014-04-25 20:22:45 +00:00 |
|
dan
|
374cd78c1d
|
Avoid discarding an ORDER BY clause in the case where an identical GROUP BY clauses uses an index to group, but not sort, the rows. Fix for [b75a9ca6b0].
FossilOrigin-Name: de9a490f594183f337a2ec9e0f87792eac83548b
|
2014-04-21 13:21:56 +00:00 |
|
drh
|
ddba0c227e
|
Make the partial-ORDER-BY information in the query planner available to the
SELECT code generator. Still doesn't make a difference in the generated code.
FossilOrigin-Name: e258df236b7de70087c8227cb209080e55b9bf9c
|
2014-03-18 20:33:42 +00:00 |
|
drh
|
0401acec91
|
Experiments with the optimization of ORDER BY and GROUP BY clauses.
FossilOrigin-Name: b150902579d708b454efd5f8750e26a816f7f1a6
|
2014-03-18 15:30:27 +00:00 |
|
drh
|
e39a732ce2
|
Provide hints to the btree layer Next and Previous primitives to let them
know if they can be no-ops if the underlying index is unique.
FossilOrigin-Name: 6c643e45c274e755dc5a1a65673df79261c774be
|
2014-02-03 14:04:11 +00:00 |
|
drh
|
2e5ef4ed77
|
Improve the way that skip-scan loops are constructued. Add test cases.
Improved the scoring of skip-scan loops.
FossilOrigin-Name: 5e75ab93881b85801cb4ebf70f2063ff7c51ac19
|
2013-11-13 16:58:54 +00:00 |
|
drh
|
cd8629e4bb
|
Add the ability to use an index even if the left-most columns of the index
are unconstrainted, provided that the left-most columns have few distinct
values.
FossilOrigin-Name: 27dd5993d1ae5625eb94bf406421eb390d001be9
|
2013-11-13 12:27:25 +00:00 |
|
drh
|
5e6790cb15
|
Minor enhancements to the auxiliary information added to EXPLAIN output with
SQLITE_EXPLAIN_ENABLE_COMMENTS.
FossilOrigin-Name: 0d1328e33ca761eddcf8a50e8e83c997861e9047
|
2013-11-12 20:18:14 +00:00 |
|
drh
|
e54df42d87
|
Break out the structure and macro definitions of where.c into a separate
header file whereInt.h for easier editing and debugging.
FossilOrigin-Name: c44467124623733aac64096d605f16139b733a7f
|
2013-11-12 18:37:25 +00:00 |
|