Commit Graph

23 Commits

Author SHA1 Message Date
bca433fcab planner: remove pickFromBucket field in LRUPlanCache (#40668)
ref pingcap/tidb#36598
2023-01-28 16:41:53 +08:00
465ab74532 planner: skip the plan cache if non-int values are converted into int when optimization (#40686)
close pingcap/tidb#40679
2023-01-28 14:49:53 +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
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
46e67d272f planner: update the non-prep cacheable checker (#40446)
close pingcap/tidb#40296
2023-01-10 16:38:23 +08:00
be112dc31d planner: skip plan-cache for prepared queries with INT in (Decimals...) (#40312)
close pingcap/tidb#40224
2023-01-05 11:20:20 +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
72f52f3f09 planner: update the plan cache strategy when expressions with parameters affect null-check (#40218)
close pingcap/tidb#38205, close pingcap/tidb#40093
2022-12-30 11:00:18 +08:00
9e8a21c460 planner: check the ignore-plan-cache hint in insert-stmt (#40080)
ref pingcap/tidb#39717, close pingcap/tidb#40079
2022-12-21 20:40:55 +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
1ab88f2cf9 planner: rename 'tidb_enable_general_plan_cache' and 'tidb_general_plan_cache_size' to 'tidb_enable_non_prepared_plan_cache' and 'tidb_non_prepared_plan_cache_size' 2022-12-13 18:16:35 +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
510003d1f6 planner: add switch for plan cache memory trace (#38824)
ref pingcap/tidb#37632
2022-11-03 15:26:00 +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
7806b7c151 planner: process over-optimization and skip plan-cache in some cases to avoid disaster plans (#38537)
close pingcap/tidb#38533
2022-10-20 15:51:54 +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
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
ef738eaba4 planner: introduce the Parameterizer interface for general plan cache (#37170)
ref pingcap/tidb#36598
2022-08-18 11:04:53 +08:00