Commit Graph

97 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
bdc6f4b541 planner: refactor to put all plan-cacheability-check functions together (#40625)
ref pingcap/tidb#36598
2023-01-17 13:29:49 +08:00
331f69f52d planner,infoschema,executor: Add tiflash fine grained shuffle support for hash join and aggregation (#40121)
close pingcap/tidb#40123
2023-01-06 09:24:20 +08:00
b1967563e3 planner: record reasons when skipping Plan Cache (#40210) 2022-12-28 17:46:16 +08:00
6b4739f170 planner: change the stage of count star rewriter rule from logical to post (#39555)
close pingcap/tidb#37165
2022-12-02 12:20:00 +08:00
7b91e6aab6 planner: enrich diagnosis info for plan-cache (#39457)
close pingcap/tidb#39147
2022-12-02 02:22:02 +08:00
37bd052ee5 planner: rewrite count star to count not null column (#39197)
close pingcap/tidb#37165
2022-11-28 23:57:59 +08:00
e245b84c44 planner: Add HashJoin<-Receiver specific physicalPlan column pruner (#38536)
close pingcap/tidb#38511
2022-11-02 09:57:59 +08:00
5fa9da1bf7 planner: make the meaning of displayed estimated row count consistent with actual row count (#38188)
close pingcap/tidb#38187
2022-10-17 18:45:53 +08:00
f4f6a13856 planner: separate cost ver1/ver2 functions thoroughly (#38337)
ref pingcap/tidb#36243
2022-10-09 16:39:49 +08:00
b5ab19c098 planner: remove old useless interfaces about cost model (#37801)
ref pingcap/tidb#35240
2022-09-15 15:47:00 +08:00
aa5645adf2 planner: fix update plan's projection elimination will cause column resolution error. (#37582)
close pingcap/tidb#37568
2022-09-04 08:52:25 +08:00
8e9e839190 planner: support cost detail framework (#36641)
ref pingcap/tidb#29661
2022-08-03 19:56:05 +08:00
2c3d4f1ae4 planner/core: change behavior of fine_grained_shffule_stream_count (#36621)
close pingcap/tidb#36622
2022-07-28 17:09:11 +08:00
c28bac3d72 planner: support rewrite for skew group distinct aggregate to avoid skew execution (#36181)
close pingcap/tidb#36169
2022-07-18 15:29:07 +08:00
ce4edc9df4 planner: fix optimizer trace may miss operators in some cases (#35058)
close pingcap/tidb#31811
2022-07-15 13:59:05 +08:00
b4cd14d713 planner: use SEMI_JOIN_REWRITE hint to rewrite the semi join (#35325)
close pingcap/tidb#35323
2022-07-14 15:49:05 +08:00
cdde0398fe sessionctx,kv,planner: add system variable for fine_grained_shuffle (#35256)
close pingcap/tidb#35342
2022-07-06 10:27:02 +08:00
78b0ae579c planner: fix TRACE PLAN TARGET = 'estimation' panic when meeting partition table (#35743)
close pingcap/tidb#35117
2022-06-28 17:34:39 +08:00
de0e2005ef planner: use pdqsort to improve sort performance (#35137)
ref pingcap/tidb#34250
2022-06-07 02:18:30 +08:00
a5d91dc895 planner: support straight join order hint (#34339)
ref pingcap/tidb#29932
2022-05-11 10:50:34 +08:00
56e1789cc4 planner: support MaxOneRow clone (#33888)
close pingcap/tidb#33887
2022-04-15 13:42:36 +08:00
9bc9572754 planner: add the functional dependency for Datasource, proj, select, agg (#33071)
ref pingcap/tidb#29766
2022-03-17 20:02:30 +08:00
c11e650527 *: make golangci-lint work on Go1.18 (#33081)
close pingcap/tidb#33080
2022-03-15 22:43:52 +08:00
636c8cfe36 planner, explaintest: add imdbload tests for explaintest (#32759)
ref pingcap/tidb#32758
2022-03-03 18:29:46 +08:00
2d62d23b20 planner: support trace candidates for Datasource (#31810)
ref pingcap/tidb#29661
2022-01-21 11:11:45 +08:00
883f72bd36 planner: revise optimize tracer code structure (#31739)
ref pingcap/tidb#29661
2022-01-19 12:47:44 +08:00
9acb2c2ad5 planner: add optimizer trace framework for physicalOptimize (#30335)
close pingcap/tidb#30334
2022-01-05 15:44:36 +08:00
6afd85b2d7 planner: support trace column prune (#31076)
ref pingcap/tidb#29661
2022-01-01 14:39:51 +08:00
48fce5e15c *: sync wait stats loading for stable plan (#30026) 2021-12-31 10:35:50 +08:00
8085c99ddf *: implement analyze predicate columns (#30816)
close pingcap/tidb#31102
2021-12-30 15:45:50 +08:00
fb03dacbca *: periodically dump column stats usage into disk (#31072) 2021-12-28 21:27:51 +08:00
57b2908957 planner: improve the bindSQL check for plan cache (#31054) 2021-12-28 15:28:20 +08:00
beb5451ee3 planner: revise the optimize trace output (#30882) 2021-12-22 15:47:47 +08:00
af259faacf planner: support the plan cache aware of bindings (#30169) 2021-12-16 10:18:35 +08:00
23af09d8bf *: support trace plan target='estimation' statement (#30491) 2021-12-10 11:43:57 +08:00
8ace8f612e planner: revise optimize trace logic (#30163) 2021-11-29 19:27:52 +08:00
3baa95ff38 planner: implement aggregation eliminate optimize trace (#30114) 2021-11-29 18:21:53 +08:00
8dc59e684a planner: make clear for MaybeOverOptimized4PlanCache (#29782) 2021-11-25 16:42:29 +08:00
fe5733ce41 planner: support dump file for trace plan statement (#30059) 2021-11-25 16:19:50 +08:00
34bd98d39e ddl: fix rename locked table (#29754) 2021-11-17 19:53:47 +08:00
a4bd02e35c planner: add optimizer trace framework for logicalOptimize (#29559) 2021-11-12 12:35:06 +08:00
8d9647dee5 privileges: fix create temporary tables privilege (#29279) 2021-11-01 16:46:51 +08:00
xhe
94e30df8e2 parser: fix compiling, add unit tests (#28700) 2021-10-11 23:15:25 +08:00
d6e19a6938 planner: disable tiflash plan caching (#28475) 2021-10-08 14:09:23 +08:00
8370cab551 planner: rename BuildLogicalPlan to BuildLogicalPlanForTest (#27606) 2021-08-26 18:42:05 +08:00
7755d25aba *: Integrate SkyWalking-eyes to check license headers in CI and fix licenses headers (#27198) 2021-08-16 18:52:00 +08:00
d56be06f4d executor,planner: use an object pool to reuse PlanBuilder (#26216) 2021-07-15 21:17:33 +08:00
0db5df550b planner: rename stable-result-mode to ordered-result-mode (#26093) 2021-07-12 16:01:32 +08:00
c24a90f9e7 planner: support stable result mode (#25971) 2021-07-06 15:11:29 +08:00