Commit Graph

181 Commits

Author SHA1 Message Date
45e85d9bd4 planner: disable plan-cache for plans with IndexMerge accessing Multi-Valued Index (#40646)
ref pingcap/tidb#40191
2023-01-17 15:17:48 +08:00
0f838d9a67 planner, executor: split the range for unsigned pk of partition table when limit is used (#40313)
close pingcap/tidb#40309
2023-01-09 18:36:22 +08:00
6ae151a9bc planner: open the partial order prop push down for LIST PARTITION (#40290)
close pingcap/tidb#40273
2023-01-04 17:24:20 +08:00
b94042c0b5 planner: refine planner code for disaggregated tiflash mode (#39813)
close pingcap/tidb#39814
2022-12-29 22:02:20 +08:00
017901d1d6 *: extend skyline pruning diagnostic info and add extra warnings (#39894)
ref pingcap/tidb#39893
2022-12-20 18:00:55 +08:00
4c04abce79 *: support disaggregated tiflash (#33535)
close pingcap/tidb#34707
2022-12-09 00:44:04 +08:00
38b0ab7333 planner: prohibit StreamAgg with group keys for TiFlash (#39547)
close pingcap/tidb#39266
2022-12-02 05:10:00 +08:00
9a7341eb43 executor: add tests for property pushed down for partition table (#39530)
ref pingcap/tidb#26166
2022-12-02 01:54:02 +08:00
f9a6e47192 planner: support push part of order property down to the partition table (#36108)
ref pingcap/tidb#26166
2022-11-29 13:51:59 +08:00
dd0a479b1a planner, parser: add basic preparations for intersection type IndexMerge (#39396)
ref pingcap/tidb#39335
2022-11-25 19:37:59 +08:00
ce62915289 planner: update the scan-row-size calculation formula in model2 (#38968)
ref pingcap/tidb#35240
2022-11-09 10:55:50 +08:00
acf1dcf696 planner: supply Task memory usage and correct some accumulation (#38638)
ref pingcap/tidb#37632
2022-11-02 12:03:59 +08:00
e3a19d81d8 planner: fix for single DQA mode issue (#37912)
close pingcap/tidb#37913
2022-09-19 10:23:00 +08:00
efc07201e3 planner: support 3 stage aggregation for single scalar distinct agg (#37203)
close pingcap/tidb#37202
2022-09-17 13:36:59 +08:00
b5ab19c098 planner: remove old useless interfaces about cost model (#37801)
ref pingcap/tidb#35240
2022-09-15 15:47:00 +08:00
e0da196b41 planner: support HashJoin cost detail (#37012)
ref pingcap/tidb#36962
2022-08-22 15:48:20 +08:00
d6d0ce7b10 *: gofmt code for adapting go 1.19 (#36832)
ref pingcap/tidb#36879
2022-08-11 12:50:49 +08:00
158ba1a1d9 *: enable part revive for all code (#36703) 2022-08-01 14:02:06 +08:00
beee5f314c *: fix revive in the planner (#36249) 2022-07-27 11:39:11 +08:00
a33d971add planner: costs of Selection operators from DataSources are not accumulated (#36244)
close pingcap/tidb#36243
2022-07-15 23:05:05 +08:00
b71a23ba47 *: support coprocessor cache for paging protocol (#35787)
close pingcap/tidb#35786
2022-07-01 18:32:39 +08:00
d99b358225 *: only add default value for final aggregation to fix the aggregate push down (partition) union case (#35443)
close pingcap/tidb#35295
2022-06-28 12:08:39 +08:00
3f8df8c389 Revert "planner: fix the wrong cost formula of MPPExchanger" (#35707)
ref pingcap/tidb#35240
2022-06-24 14:22:38 +08:00
8d589d2c7c planner: new cost formula for IndexJoin (#35671)
ref pingcap/tidb#35240
2022-06-24 10:38:37 +08:00
56d004e2ea planner: introduce new cost formula for MPPJoins (#35643)
ref pingcap/tidb#35240
2022-06-22 19:58:37 +08:00
97ac647785 planner: introduce new cost formula for MPPAggs (#35436)
ref pingcap/tidb#35240
2022-06-21 23:02:37 +08:00
9a77892ac8 execution: avoid decimal overflow and check valid (#34399)
close pingcap/tidb#30347, close pingcap/tidb#34388
2022-06-17 21:42:36 +08:00
d3b79de20b planner: fix the wrong cost formula of MPPExchanger (#35438)
ref pingcap/tidb#35240
2022-06-17 13:26:35 +08:00
c8fcad4d82 planner: refactor to use the standard function GetXXFactor() to get cost model factors (#35226)
ref pingcap/tidb#33945
2022-06-08 16:10:30 +08:00
9b1ef7815a planner: reset PhysicalWindow's schema for mpp plan. (#34764)
* fix

* add failpoint

* add test

* sort import

Co-authored-by: Ti Chi Robot <ti-community-prow-bot@tidb.io>
2022-05-18 15:00:34 +08:00
1c6dcf0913 planner: support push window function down to tiflash (#31601)
Issue Number: close #33072
2022-05-13 14:12:28 +08:00
12ee8f2cc8 planner: add more test cases for the new cost implementation (#34575)
ref pingcap/tidb#33945
2022-05-12 17:44:35 +08:00
1d2a0b998d planner: introduce a flag to cost calculation to control some behaviors (#34499)
ref pingcap/tidb#33945
2022-05-10 14:56:33 +08:00
53a3923358 planner: add more rand-gen test cases for the new cost implementation (#34486)
ref pingcap/tidb#33945
2022-05-10 11:16:34 +08:00
cf5ad49561 planner: add enforce-mpp test cases for the new cost implementation (#34446)
ref pingcap/tidb#33945
2022-05-07 15:48:32 +08:00
1af12c2345 planner: refactor the cost implementation for TiFlash plans (#34338) 2022-05-07 14:08:08 +08:00
2f8e52f9b1 planner: move all functions about cost calculation to plan_cost.go (#34408)
ref pingcap/tidb#33945
2022-05-06 15:08:56 +08:00
f88dab92f9 util: use generics to implement max/min (#34197)
close pingcap/tidb#34247
2022-05-06 10:08:57 +08:00
d22cd59da4 planner: refactor the cost implementation for Aggs (#34227) 2022-04-27 20:12:39 +08:00
1bf64c60f4 *: Refactor FieldType structure (#33569)
close pingcap/tidb#32116
2022-04-26 19:28:51 +08:00
99b871e20d planner: add projection pushdown (#27029)
close pingcap/tidb#26242
2022-04-22 11:06:05 +08:00
a523089d4a planner: consider seek cost of probe-side for index join (#33867)
close pingcap/tidb#32362
2022-04-18 19:06:03 +08:00
19b9f53d5e planner: remove task argument from IndexHashJoin.GetCost and IndexMergeJoin.GetCost (#33935)
close pingcap/tidb#33934
2022-04-13 19:14:36 +08:00
f5c2710cd4 planner: fix wrong row-sizes used in cost model (#33845)
close pingcap/tidb#33844
2022-04-13 14:02:36 +08:00
23e24d2fc8 planner: refactor net seek cost calculation for IndexScan and TableScan (#33717)
close pingcap/tidb#33727
2022-04-08 22:16:32 +08:00
bd8c710185 planner: refactor a few methods about cost calculation (#33681)
close pingcap/tidb#33722
2022-04-06 14:06:31 +08:00
3388915388 planner: fix incorrect estCost displayed in explain results (#33675)
close pingcap/tidb#32672
2022-04-02 17:28:29 +08:00
9f72bcded7 planner: fix "can't find column" when projection wrongly added above index lookup reader after agg pushed down (#33287)
close pingcap/tidb#33237
2022-03-22 18:42:32 +08:00
f0238dd286 planner: fix the wrong cost formula for MPP net cost (#32942)
close pingcap/tidb#30103
2022-03-14 15:39:52 +08:00
41c1cc98b0 planner: fix stream agg pushed down to mpp plan unexpectedly (#32752)
close pingcap/tidb#32632
2022-03-03 20:59:46 +08:00