Commit Graph

33 Commits

Author SHA1 Message Date
fd5e67581b planner: add a switch control if prepare stmt with param limit can be cached (#40712)
ref pingcap/tidb#40219
2023-01-30 12:01:54 +08:00
05e20162a4 Revert "planner: show un-cacheable reasons for execute statements" (#40680)
ref pingcap/tidb#36598
2023-01-18 11:31:50 +08:00
a879ba2d5b planner: show un-cacheable reasons for execute statements (#40651)
ref pingcap/tidb#36598
2023-01-17 17:29:49 +08:00
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
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
7fafb6db45 planner: better coordination between the ignore_plan_cache() binding and plan-cache (#40280)
close pingcap/tidb#40225
2023-01-04 12:52:19 +08:00
5327d07afc planner: refactor plan-cache UseCache flag (#40256)
ref pingcap/tidb#36598
2023-01-03 17:30:20 +08:00
ffaf2ac9ee planner: remove the unnecessary skip-plan-cache flag in StmtCtx (#40235) 2022-12-30 10:20:17 +08:00
b1967563e3 planner: record reasons when skipping Plan Cache (#40210) 2022-12-28 17:46:16 +08:00
5f1a739491 planner: add more test cases for non-prep plan cache (#40060) 2022-12-20 19:58:54 +08:00
aeceb22fa6 planner: rename general plan cache to non-prepared plan cache (#39873) 2022-12-13 17:16:13 +08:00
bd014d67e0 *: add context for preprocess (#38360)
close pingcap/tidb#38359
2022-10-18 17:27:53 +08:00
1f5bddc682 planner: fix index join range display when executing the cached plan (#38284)
close pingcap/tidb#38269
2022-10-10 14:49:49 +08:00
da3dab17db *: restrict index range mem usage (#37754)
ref pingcap/tidb#37176
2022-09-22 00:29:02 +08:00
001abf4366 *: restrict column range mem usage (#37714)
ref pingcap/tidb#37176
2022-09-09 21:10:56 +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
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
0e00c4b53a planner: move logic of plan cache stmt checking to plan cache backend (#37053)
ref pingcap/tidb#36598
2022-08-15 15:14:50 +08:00
7d8c45aa4d planner: provide a unified interface to set and get user variables and types (#37046)
ref pingcap/tidb#36598
2022-08-11 19:18:50 +08:00
af989fb6c4 executor: add privilege check for prepare stmt (#36933)
close pingcap/tidb#35784
2022-08-10 21:32:50 +08:00
ba8e7cc78e planner: remove keyword prepared in plan cache backend (#37023)
ref pingcap/tidb#36598
2022-08-10 17:50:48 +08:00
f403e198c4 planner: handle PointPlan specially in execute statements (#36987)
close pingcap/tidb#36783
2022-08-09 21:36:48 +08:00
d76074623c planner: unify the parameters name in plan cache (#36899)
ref pingcap/tidb#36598
2022-08-05 17:20:06 +08:00
5e00a1540f planner: clean useless Plan Cache code of binary protocol parameters (#36887)
ref pingcap/tidb#36598
2022-08-04 16:58:06 +08:00
5ef18981cc Revert "planner: refactor the IsolationReadEngines variable for plan cache" (#36873) 2022-08-04 10:30:06 +08:00
3847d9e56f planner: refactor the IsolationReadEngines variable for plan cache (#36770)
ref pingcap/tidb#36598
2022-08-03 19:44:05 +08:00
b364cecdcc planner: use the unified parameters for plan cache (#36781) 2022-08-03 18:35:49 +08:00
c8cb3c96c8 planner: update plan cache key and value (#36779)
ref pingcap/tidb#36598
2022-08-02 15:26:05 +08:00
7eb79e6db3 planner: refactor the function (#36603)
ref pingcap/tidb#36598
2022-07-28 18:49:11 +08:00
0331f9a827 planner: add a dedicated source file for plan cache (#36577)
close pingcap/tidb#36537
2022-07-26 20:45:10 +08:00