Commit Graph

39 Commits

Author SHA1 Message Date
04e661095c planner, statistics, sessionctx: add variable to enable/disable the outdated statistics to pseudo logic (#28554) 2021-10-28 11:28:48 +08:00
cb65b7a2f7 statistics: improve out-of-range estimation strategy (#26502) 2021-08-02 17:43:08 +08:00
11716e7f4a *: use full sampling as default analyze (#25132) 2021-06-06 00:34:27 +08:00
7d5fe41470 planner: support explain verbose mode (#23926) 2021-04-15 18:23:53 +08:00
32f6e333af planner: split test data from test cases in cbo_test.go (#22559) 2021-04-03 00:33:24 +08:00
28c3748496 planner: remove some risky cache operations in the plan builder (#23354) 2021-03-18 15:35:11 +08:00
04e5137f48 *: use explain format = 'brief' for tests (#22677) 2021-02-22 17:50:06 +08:00
44641c3282 planner: change the content of AnalyzeTableID to build global-stats (#22554) 2021-02-02 15:39:44 +08:00
857e3da6eb planner: join reorder should not change the order of output columns (#16852) 2020-12-31 14:51:14 +08:00
d44e123395 planner: prevent agg push down if it is in the outer child of apply (#21902) 2020-12-22 16:43:26 +08:00
fd587c3552 session: add a switch for index merge join (#21830)
Signed-off-by: lzmhhh123 <lzmhhh123@gmail.com>
2020-12-18 11:05:05 +08:00
38bbb0dd21 planner: ban (index) merge join heuristically when convert eq cond to other cond (#21138) 2020-11-19 17:17:53 +08:00
41786cb976 *: seperate hash keys from join keys in IndexJoin (#20761) 2020-11-16 16:24:51 +08:00
ced01b2333 planner: estimate index row count using extended correlation stats (#20160) 2020-10-12 15:52:52 +08:00
170e2fec92 *: collect multiple partitions and store in tidb (part II) (#19899) 2020-09-29 21:25:56 +08:00
151ef8492b statistics: prioritize low selectivity indexes in the greedy search procedure of Selectivity() (#20038) 2020-09-22 19:17:42 +08:00
3b35c89958 util/ranger: fix explain does not display range[NULL, NULL] (#19028) (#19068) 2020-08-11 17:23:01 +08:00
3df573d2fc planner,executor: use new table partition implementation and fix CI (#18981) 2020-08-06 17:50:40 +08:00
aeee1524e4 planner: fix the inappropriate heuristic rule to estimate the EQ selectivity when out of range (#18543) 2020-08-05 14:11:06 +08:00
daad2699dd *: support clustered index for index join (#18204) 2020-07-01 16:15:51 +08:00
94a722e2df statistics: improve estimation for index equal condition (#17366) 2020-06-03 08:32:17 +08:00
777907bcee planner: push agg below partition union all by default (#17262) 2020-05-28 18:11:13 +08:00
e8779717d9 planner, expression: Remove the default asc order in explain result (#17074) 2020-05-14 17:38:19 +08:00
21ee980e11 *: Refine Explain's format. (#15507) 2020-03-23 17:57:49 +08:00
183a9d585a *: update explain info of outer hash joins (#15247) 2020-03-10 20:38:02 +08:00
9e98f706ae planner, executor: support point get as a option of DataSource (#14775) 2020-03-09 10:47:16 +08:00
6d00e2169b planner: enable inline projection for hash join (#14783) 2020-02-28 16:28:10 +08:00
236352e98f *: show build and probe side for join and index lookup related operators in explain result (#14838) 2020-02-26 17:12:09 +08:00
dbcf5fbcc8 planner: show cast type in EXPLAIN (#14942) 2020-02-26 16:36:35 +08:00
3399f4be31 planner: distinguish FullScan and the RangeScan in explain/desc info (#14696) 2020-02-24 15:23:06 +08:00
a5e0660439 coprocessor: let tiflash split range task consistent with tikv (#14710) 2020-02-14 15:31:37 +08:00
02408dbd04 planner: support cost model for Chunk encode format. (#13461) 2019-12-18 15:47:16 +08:00
e979cff6bb planner: add column mapping in explain result (#13640) 2019-11-27 16:39:19 +08:00
889ad618cf planner: projection don't new unnecessary column (#13406) 2019-11-20 13:58:38 +08:00
2baaf1f048 planner: support hint for IndexHashJoin and IndexMergeJoin (#13238) 2019-11-13 21:21:04 +08:00
6fd74f3e4c planner: support cost model for tiflash table scan (#12868) 2019-10-29 16:05:51 +08:00
7ffa4500e6 planner: support a hint to read from tiflash in planner (#12479) 2019-10-11 16:36:35 +08:00
1fe9773726 planner: introduce an individual physical plan for indexNestedLoopHashJoin (#12139) 2019-09-24 21:18:45 +08:00
ed9e973e50 util, planner: add more testSuite json files (#12247) 2019-09-18 13:59:46 +08:00