Commit Graph

18 Commits

Author SHA1 Message Date
970ac9150c planner: refactor plan cache value code (#40656)
ref pingcap/tidb#40219
2023-01-18 17:21:51 +08:00
17df596863 planner: prepared plan cache support cached plan with placeholder in limit clause (#40196)
ref pingcap/tidb#40219
2023-01-17 12:51:49 +08:00
5327d07afc planner: refactor plan-cache UseCache flag (#40256)
ref pingcap/tidb#36598
2023-01-03 17:30:20 +08:00
b268c65710 *: fix PointGet will return an stale value when tidb_enable_plan_replayer_capture is set (#40197)
close pingcap/tidb#40194
2022-12-28 16:00:17 +08:00
5f1a739491 planner: add more test cases for non-prep plan cache (#40060) 2022-12-20 19:58:54 +08:00
9f4dd8039b planner: fix the issue that NonPrep Cache cannot work with Explain well (#40044)
close pingcap/tidb#40039
2022-12-20 13:50:54 +08:00
aeceb22fa6 planner: rename general plan cache to non-prepared plan cache (#39873) 2022-12-13 17:16:13 +08:00
7b91e6aab6 planner: enrich diagnosis info for plan-cache (#39457)
close pingcap/tidb#39147
2022-12-02 02:22:02 +08:00
a65468ecfe planner: treat null as a different type compare to other types (#38840)
close pingcap/tidb#38710
2022-11-03 13:30:00 +08:00
f65f4bab99 planner: LRUPlanCache memory trace (#38069)
ref pingcap/tidb#37632
2022-10-21 14:25:55 +08:00
e48f35751f session: refactor non-transactional DML to make it ready for more DML types (#38197)
ref pingcap/tidb#33485
2022-10-19 17:35:53 +08:00
bd014d67e0 *: add context for preprocess (#38360)
close pingcap/tidb#38359
2022-10-18 17:27:53 +08:00
58822f8859 planner: get plan from the general plan cache before optimization (#37634) 2022-09-06 16:58:39 +08:00
b2723bf8ff planner: replace simple LRU with plan cache LRU (#37423)
ref pingcap/tidb#36598
2022-09-05 13:32:55 +08:00
c372adb7a8 planner: refactor PrepareExecutor (#37519)
ref pingcap/tidb#36598
2022-09-01 18:10:25 +08:00
ef738eaba4 planner: introduce the Parameterizer interface for general plan cache (#37170)
ref pingcap/tidb#36598
2022-08-18 11:04:53 +08:00
5dc3e58485 planner: introduce the general plan cache (#37150)
ref pingcap/tidb#36598
2022-08-16 20:24:51 +08:00
97f9c225a3 planner: add two functions to get and set cached plan from the plan cache (#37112)
ref pingcap/tidb#36598
2022-08-16 11:38:51 +08:00