Commit Graph

41 Commits

Author SHA1 Message Date
440ece84c7 *: revise implementation of optimizer fix control (#44959)
close pingcap/tidb#43169
2023-06-27 07:37:06 +00:00
2a1645098c planner: enable revive for all planner (#44900)
close pingcap/tidb#44113
2023-06-25 08:41:33 +00:00
c16b3f65b3 planner: plan cache supports queries with more than 200 parameters (#44829)
close pingcap/tidb#44823
2023-06-21 03:14:41 +00:00
78c50dcdde planner: disable non-prep plan cache for DML statements for now (#43258)
ref pingcap/tidb#36598
2023-04-20 23:37:19 +08:00
8e7ebb330f planner: add more test cases for non-prep plan cache (#43083)
ref pingcap/tidb#36598
2023-04-17 21:41:18 +08:00
1535084f08 planner: introduce a new variable to control the maximum size of plans that can be cached (#43025)
ref pingcap/tidb#42975
2023-04-13 23:47:01 +08:00
516b848372 planner: add more test cases for non-prep plan cache (#42988)
ref pingcap/tidb#36598
2023-04-12 22:35:02 +08:00
bb05f742ed planner: skip caching too large plan for plan cache (#42976)
close pingcap/tidb#42975
2023-04-12 17:09:02 +08:00
c282c9c942 planner: add more test cases for non-prep plan cache (#42901)
ref pingcap/tidb#36598
2023-04-10 21:49:00 +08:00
7e0c14650f planner: add more metrics for non-prep plan cache (#42888)
ref pingcap/tidb#36598
2023-04-10 17:11:09 +08:00
03b8605d9a planner: non-prep plan cache to support limit clauses (#42879)
ref pingcap/tidb#36598
2023-04-10 13:44:59 +08:00
51a25c714e planner: add more test cases for non-prep plan cache (#42793)
ref pingcap/tidb#36598
2023-04-04 13:20:57 +08:00
3eff64a5f1 planner: non-prep plan cache supports DML (#42765)
ref pingcap/tidb#36598
2023-04-03 20:30:57 +08:00
326568bb08 planner: non-prep plan cache supports 2-way joins (#42740)
ref pingcap/tidb#36598
2023-04-03 16:28:57 +08:00
a6093c70eb planner: skip non-prep plan cache if query has under-score charsets (#42723)
ref pingcap/tidb#36598
2023-03-31 18:00:55 +08:00
39640ae709 planner: non-prep plan cache supports Agg and Order operators (#42671)
ref pingcap/tidb#36598
2023-03-29 16:56:54 +08:00
5d9170e304 planner: add more test cases for non-prep plan cache (#42604)
ref pingcap/tidb#36598
2023-03-27 15:34:44 +08:00
d7fe314bf3 planner: non-prep plan cache supports regular builtin-functions (#42554)
ref pingcap/tidb#36598
2023-03-25 15:42:42 +08:00
dcab1309ed planner: plan cache to support short insert statements (#42528)
ref pingcap/tidb#36598
2023-03-24 11:38:42 +08:00
18bce53428 planner: add more test cases for non-prep plan cache (#42445)
ref pingcap/tidb#36598
2023-03-21 23:42:41 +08:00
df92b9ff43 planner: make tidb_enable_plan_cache_for_subquery can take effective immediately (#41612)
ref pingcap/tidb#40219
2023-03-17 18:34:41 +08:00
39e955b8a2 planner: add test cases for non-prep plan cache (#41872)
ref pingcap/tidb#36598
2023-03-14 19:16:47 +08:00
4ac7dc9fb9 planner: optimize the performance of non-cacheable-checker (#42002) 2023-03-08 16:04:10 +08:00
196ddc08bc planner: add more test cases for non-prep plan cache (#41914)
ref pingcap/tidb#36598
2023-03-05 21:17:11 +08:00
b22cad0f5a planner: add more test cases for non-prep plan cache (#41909)
ref pingcap/tidb#36598
2023-03-03 18:11:10 +08:00
a4aa274c51 planner: fix the issue that cached IndexMerge plans can return wrong results in some cases (#41870)
close pingcap/tidb#41828
2023-03-02 18:53:10 +08:00
bd423ea76e planner: skip plan cache if plans have MemTableScan operator (#41830)
close pingcap/tidb#41829
2023-03-01 21:11:10 +08:00
226952e085 planner: add more test cases for non-prep plan cache (#41809)
ref pingcap/tidb#36598
2023-03-01 17:07:10 +08:00
00bbd16697 planner: add diagnosis information for non-prep plan cache (#41660)
ref pingcap/tidb#36598
2023-02-22 17:09:07 +08:00
5b0315e956 planner: add more test cases for non-prep cache (#41645)
ref pingcap/tidb#36598
2023-02-22 12:47:06 +08:00
bc52ce0739 planner: add more test cases for non-prep plan cache (#41608)
ref pingcap/tidb#36598
2023-02-20 22:09:13 +08:00
23f6ac82f7 planner: plan cache support caching plan with subquery (#41080)
ref pingcap/tidb#40219
2023-02-20 21:25:04 +08:00
71ed2674c5 planner: small refactor about plan cache checker (#41357)
ref pingcap/tidb#36598
2023-02-14 13:02:01 +08:00
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
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
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
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
11a86a2df5 planner: make general plan cache support 'or' and 'in' (#38047)
ref pingcap/tidb#36598
2022-09-22 17:27:03 +08:00
4d918466ef planner: support general plan cacheable checker (#37636) 2022-09-06 16:20:46 +08:00