Commit Graph

57 Commits

Author SHA1 Message Date
3578b1da09 *: Use strict validation for stale read ts & flashback ts (#57050)
close pingcap/tidb#56809
2024-11-12 07:46:24 +00:00
e16613d0bc planner: optimize the performance of PointPlan for Instance Plan Cache (#57260)
ref pingcap/tidb#54057
2024-11-11 06:34:29 +00:00
1770006c2e planner: refactor some code of Plan Cache (#57234)
ref pingcap/tidb#54057
2024-11-08 08:12:25 +00:00
d700beba25 planner: add more test cases for plan cache (#56579)
ref pingcap/tidb#54057
2024-10-12 03:29:37 +00:00
c7fde050c3 planner: add more test cases for plan cache (#56380)
ref pingcap/tidb#54057
2024-09-27 13:37:27 +00:00
4c23efb10b *: move annotated attributes of AST node to resolve.Context (#55634)
ref pingcap/tidb#54436
2024-08-29 13:39:01 +00:00
0b6e2e68a4 planner: move logical cte into logicalop pkg (#55496)
ref pingcap/tidb#51664, ref pingcap/tidb#52714
2024-08-21 05:12:12 +00:00
02526988cb *: upgrade linter revive (#55346) 2024-08-16 07:58:11 +00:00
876268f619 *: add ctx parameter to infoschema TableByID (#55329)
ref pingcap/tidb#50959
2024-08-09 10:42:47 +00:00
99857e33e8 server: add tidb_enable_shared_lock_promotion to support for share lock upgrade (#55023)
close pingcap/tidb#55022
2024-08-08 12:26:10 +00:00
fa554f8775 planner: use code-gen to generate CloneForPlanCache method for Insert/Update/Delete (#55185)
ref pingcap/tidb#54057
2024-08-06 04:21:39 +00:00
3fd284b025 planner: add more test cases for Plan Clone (#55011)
ref pingcap/tidb#54057
2024-07-30 11:44:47 +00:00
2d8753bc76 planner: simplify the plan cache code for fast point get (#54838)
ref pingcap/tidb#54057
2024-07-23 10:36:11 +00:00
f5ac1c4a45 *: support tidb_redact_log for explain (#54553)
close pingcap/tidb#54565
2024-07-23 08:45:04 +00:00
e1626a9c5b planner: fix the issue of reusing wrong point-plan for "select ... for update" (#54661)
close pingcap/tidb#54652
2024-07-17 03:17:59 +00:00
4b557dda0b planner: add more test cases for Plan.Clone (#54537)
ref pingcap/tidb#54057
2024-07-11 07:24:04 +00:00
f490a98438 *: add context.Context parameter to infoschema TableByName (#54479)
ref pingcap/tidb#50959
2024-07-09 16:04:33 +00:00
593c415707 planner: Remove CloneForPlanCache method (#54528)
ref pingcap/tidb#54057
2024-07-09 15:12:03 +00:00
7a0611ff35 planner: consider using instance level plan cache (#54472)
ref pingcap/tidb#54057
2024-07-05 15:42:01 +00:00
d19fc99ec6 planner: refactor a few code of plan cache (#54464)
ref pingcap/tidb#54057
2024-07-05 03:50:58 +00:00
3a384e6066 planner: refactor a few code of plan cache (#54442)
ref pingcap/tidb#54057
2024-07-04 14:22:28 +00:00
ef53d61c10 planner: refactor a few code of plan cache (#54404)
ref pingcap/tidb#54057
2024-07-03 11:31:27 +00:00
5909899601 expression,*: remove the session context inside ParamMarker (#53534)
close pingcap/tidb#53533
2024-07-03 07:44:58 +00:00
482ccd6b6d planner: refactor a few code of plan cache (#54362)
ref pingcap/tidb#54057
2024-07-01 15:29:56 +00:00
486995620a planner: a new thread-safe lock-free plan cache (#54089)
close pingcap/tidb#54057
2024-06-25 11:32:51 +00:00
00eafc0933 planner: refactor a few code of plan cache (#54075)
ref pingcap/tidb#54057
2024-06-18 07:22:23 +00:00
42852ee632 planner: refactor a few code of plan cache (#54058)
ref pingcap/tidb#54057
2024-06-18 02:13:16 +00:00
5e6df4eeb1 expression, *: Eval param get type with context (#53656)
close pingcap/tidb#53653
2024-06-03 09:39:01 +00:00
2038b1fb2a planner: bypass plan cache for cached PointGet plan (#53686)
close pingcap/tidb#53687
2024-05-30 12:01:21 +00:00
87999d1d4a planner: fix small regression caused by #53094 (#53646)
ref pingcap/tidb#50618
2024-05-29 09:23:51 +00:00
87247c113c planner: move code of rebuilding cached plans into a separate file (#53163)
ref pingcap/tidb#50618
2024-05-10 08:20:39 +00:00
341503b0a8 planner: merge fast plan cache and normal plan cache (#53143)
ref pingcap/tidb#50618
2024-05-10 05:53:39 +00:00
50b8dfab22 planner: simplify plan cache for fast point get (#53094)
ref pingcap/tidb#50618
2024-05-08 10:04:08 +00:00
5798dc64f6 Revert "planner: merge fast plan cache and normal plan cache" (#53084)
ref pingcap/tidb#50618
2024-05-07 12:49:08 +00:00
b421b729c8 planner: merge fast plan cache and normal plan cache (#53033)
ref pingcap/tidb#50618
2024-05-06 12:19:10 +00:00
17d3f7fd45 planner: small refactor for plan cache (#53028)
ref pingcap/tidb#50618
2024-05-06 09:04:07 +00:00
70a825397f *: add metadata lock when using the plan cache (#51897)
close pingcap/tidb#51407
2024-04-28 09:16:27 +00:00
a74d9a74c6 planner: small refactor for plan cache (#52837)
ref pingcap/tidb#50618
2024-04-23 10:25:40 +00:00
5aa48d8284 planner: move base plan related output of core pkg and make it well-pkged (#52529)
ref pingcap/tidb#51664
2024-04-15 10:51:06 +00:00
060ff39ab7 planner: simplify plan cache code (#52384)
ref pingcap/tidb#51407
2024-04-07 09:46:49 +00:00
62d6f4737b planner: move fields from ast.Prepared to planner.PlanCacheStmt (#52373)
ref pingcap/tidb#51407
2024-04-07 08:30:20 +00:00
ccbab5eeb7 *: Enable plan cache for partitioned tables (#49161)
close pingcap/tidb#33031, close pingcap/tidb#45532
2024-03-12 05:38:08 +00:00
5b187e5e56 planner: standalone implement for PlanContext (#51237)
close pingcap/tidb#51236
2024-02-22 15:03:28 +00:00
ee1864460f planner: introduce PlanContext to provide context for planner phase (#51074)
close pingcap/tidb#51070
2024-02-08 10:35:47 +00:00
51e1e13494 *: update interface{} to any (#50770)
ref pingcap/tidb#50765
2024-01-29 07:21:29 +00:00
9416934ea3 *: split planner errors and remove duplicate definitions (#50695)
ref pingcap/tidb#48875
2024-01-26 09:42:21 +00:00
799a46107e planner: move more hint code to the hint package (#50728)
ref pingcap/tidb#48875
2024-01-25 15:09:21 +00:00
bfa10bdc18 bindinfo: SetSkipPlanCache use nostack errors (#50585)
close pingcap/tidb#49291
2024-01-19 05:34:47 +00:00
6be00181f7 planner: enhance fix control 49736 (#50405)
ref pingcap/tidb#49736
2024-01-15 03:20:48 +00:00
c3346856e6 planner: avoid repeat normalization on the same query when matching binding for plan cache (#50133)
ref pingcap/tidb#48875
2024-01-05 09:58:51 +00:00