Commit Graph

72 Commits

Author SHA1 Message Date
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
f79dc8b218 executor: pessimistic lock on the temporary table should not be written to TiKV (#24737) 2021-05-26 12:41:34 +08:00
e7db533810 planner: ignore lock for temporary table of PointGet and BatchPointGet (#24540) 2021-05-12 19:49:40 +08:00
e40f8c0881 *: fix revoke statement for CURRENT_USER() and refine error message (#24052)
* *: fix revoke statement for CURRENT_USER() and refine error message
2021-05-12 16:40:58 +08:00
f135c534a5 plan: merge continuous selections and delete surely true expressions (#24214) 2021-05-10 23:25:37 +08:00
90d02b2eed *: add support for dynamic privileges (#22778) 2021-04-01 00:17:24 +08:00
92b1b8e0e9 planner: check schema stale for plan cache when forUpdateRead (#22381) 2021-03-19 17:25:36 +08:00
72d4504f45 planner: fix explain-hint panic for joins generated by subquery (#20675) 2020-12-03 15:18:37 +08:00
72794461eb *: support read only lock (#21100)
Signed-off-by: Shuaipeng Yu <jackysp@gmail.com>
2020-11-25 10:06:54 +08:00
7475d92393 *: inject projection for the plan pushed to TiDB (#21090) 2020-11-19 11:27:53 +08:00
369c12f779 [planner, executor, kv]: refine and extract mpp codes to the right place (#20691) 2020-11-02 14:30:47 +08:00
84e07a2a59 planner: propagate NDV of column groups across plan nodes (#17854) 2020-08-12 16:39:11 +08:00
f6ef1c371f executor: implement parallel apply (#18044) 2020-07-27 17:49:28 +08:00
baf6c99b95 *: fix a bug causes indexed virtual generated column return wrong value and refine admin check table (#18408) 2020-07-24 12:59:47 +08:00
dce0e45bdf planner, add hint nth_plan(x) to help user force a plan (#17850) 2020-07-01 15:34:22 +08:00
902231076d planner: move flagPrunColumnsAgain so that UPDATE statement ca… (#16785) 2020-04-24 18:58:51 +08:00
2619f02ddd *: move hint and block hint processor to util directory (#15897) 2020-03-31 16:37:45 +08:00
248be5bba5 planner: push down Lock to PointGet and BatchPointGet (#15257) 2020-03-11 13:58:32 +08:00
dcdfd60c51 planner: move flagPrunColumnsAgain to the last (#14791) 2020-02-24 16:22:36 +08:00
6702d95fc0 planner: prune columns again after predicate push down (#14683) 2020-02-12 18:13:18 +08:00
1d9ed45b37 *: support virtual generate column substitute optimization (#14367) 2020-02-10 16:01:05 +08:00
64da4b583f planner/cascades: implement PreparePossibleProperties in cascades planner (#13910) 2019-12-06 15:52:49 +08:00
5c5aa104d9 *: support using multiply bindings in planner (#13047) 2019-11-05 16:38:15 +08:00
36f0f37b40 expression, planner: remove some fields from `expression.Colum… (#12573) 2019-10-29 15:48:26 +08:00
619b9a92b3 *: fix typo of eliminator (#12071) 2019-09-09 10:20:11 +08:00
3de23f0f7c planner/core: support query block hint (#11861) 2019-08-29 19:14:38 +09:00