53 Commits

Author SHA1 Message Date
27a4771206 bindinfo: save bindinfo into stmtctx to avoid calling NormalizeStmtForBinding and getbindcache repeatedly (#65484)
close pingcap/tidb#65100
2026-01-13 19:55:08 +00:00
b147abe19f planner: support cluster-level binding reload command (#65509)
close pingcap/tidb#65378
2026-01-13 16:29:32 +00:00
163790b780 planner: simplify TestBatchDropBindings to make it more stable (#65286)
close pingcap/tidb#65227
2025-12-26 12:29:26 +00:00
dd1df3f81b planner: fix the issue that READ_FROM_STORAGE hint doesn't consider cross-db binding (#64644)
ref pingcap/tidb#64643
2025-11-24 12:45:26 +00:00
d8bf6317aa *: add tidb_enable_binding_usage (#63988)
close pingcap/tidb#63986
2025-10-21 08:36:22 +00:00
70c7d5051c bindinfo: add last_used_date to track bindinfo usage frequency (#63409)
close pingcap/tidb#63407
2025-09-30 07:50:46 +00:00
461db9689d bindinfo: improve diagnostics in binding tests (#63542)
ref pingcap/tidb#63523
2025-09-17 15:26:56 +00:00
365cc25444 bindinfo: use microsecond precision for create/update timestamps (#63524)
ref pingcap/tidb#60148, close pingcap/tidb#63523
2025-09-16 21:29:50 +00:00
102ffeccba mdl/sessionmanager: some refactor of MDL loop and move sessionmanager from util to session pkg (#62671)
ref pingcap/tidb#61702
2025-07-29 12:55:28 +00:00
5ae6ad63c2 session: rename and unify location of interfaces, and some refactor (#62498)
ref pingcap/tidb#61702
2025-07-22 07:43:38 +00:00
3d7650d9fb planner: remove the test of manually setting cost v2 (#62493) 2025-07-18 06:24:57 +00:00
c778996297 planner: refactor some code related to binding (#59935)
ref pingcap/tidb#51347
2025-03-06 07:55:45 +00:00
b500d9e1eb planner: refactor some code related to binding (#59868)
ref pingcap/tidb#51347
2025-03-04 02:21:34 +00:00
681fa36087 planner: refactor some code related to binding (#59676)
ref pingcap/tidb#51347
2025-02-21 03:36:47 +00:00
9f5f53a645 statistics: add Destroy method and handle session recycling (#59546)
close pingcap/tidb#59524, close pingcap/tidb#59560
2025-02-18 13:48:25 +00:00
a2b6578b42 planner: refactor some code related to binding (#59272)
ref pingcap/tidb#51347
2025-02-07 03:58:58 +00:00
8390fc4557 planner: check binding validation when creating bindings (#58760)
ref pingcap/tidb#51347
2025-01-08 13:59:27 +00:00
b2f2faaa95 parser: move 'model' to 'ast' pkg (#58704)
ref pingcap/tidb#54436
2025-01-07 10:20:04 +00:00
06622419e3 planner: simplify the bindinfo package (#58664)
ref pingcap/tidb#51347
2025-01-03 13:31:21 +00:00
77c6d1bd18 planner: simplify the bindinfo package (#58548)
ref pingcap/tidb#51347
2024-12-26 10:48:43 +00:00
3ba6df425c planner: refactor some code of binding cache (#58532)
ref pingcap/tidb#51347
2024-12-25 12:25:01 +00:00
7e659e491b planner: refactor some code of binding cache (#58515)
ref pingcap/tidb#51347
2024-12-25 04:27:54 +00:00
a21c95b343 planner: update the underlying binding cache structure (#58481)
ref pingcap/tidb#51347
2024-12-24 07:41:36 +00:00
c400723217 planner: rename fuzzyBinding to crossDBBinding in SPM (#58402)
ref pingcap/tidb#51347
2024-12-19 11:08:19 +00:00
f3e27f0ca6 planner: remove unnecessary methods in global binding handler (#58350)
ref pingcap/tidb#51347
2024-12-18 05:01:46 +00:00
22aa14af15 testkit: unify the behavior for methods MustXXXX (#56534) 2024-10-10 09:35:08 +00:00
3176b9c263 *: move XXInfo/Job, etc, out from model pkg in parser to meta (#55754)
ref pingcap/tidb#54436
2024-09-04 04:49:45 +00:00
1f40cb0bc2 *: support batch create/drop bindings from plan/sql digest (#55315)
close pingcap/tidb#55343
2024-08-12 19:52:31 +00:00
2934442a76 *: optimize the speed of full load (#54185)
ref pingcap/tidb#50959
2024-07-15 04:20:58 +00:00
e03da4d858 *: fix bind test for information schema v2 (#51958)
ref pingcap/tidb#50959
2024-03-21 05:48:49 +00:00
fcdf565b1a planner: output a SQL warning if binding loading is triggered (#51774)
ref pingcap/tidb#51347
2024-03-15 05:09:47 +00:00
46e95f4c3f bindinfo: add timeout for loading binding from storage (#51550)
ref pingcap/tidb#51347
2024-03-12 12:14:09 +00:00
0878b1518a planner: wait until binding is loaded into memory if binding cache miss (#51400)
ref pingcap/tidb#51347
2024-03-06 07:56:06 +00:00
707b0a4e38 parser: support (Row(..),Row(..))=>(..) in the binding mode (#51319)
close pingcap/tidb#51222
2024-02-27 09:05:02 +00:00
9f5d2160b1 planner: fix the issue that upper database schema name cannot match global bindings (#50647)
close pingcap/tidb#50646
2024-01-23 08:24:28 +00:00
8a529303ce planner: clean BindRecord in the binding package (#50460)
ref pingcap/tidb#48875
2024-01-16 07:57:16 +00:00
3a3237ee49 planner: clean BindRecord in the binding package (#50423)
ref pingcap/tidb#48875
2024-01-15 11:34:45 +00:00
d68acd6da5 bindinfo: refacter the matcher (#50362)
ref pingcap/tidb#48875
2024-01-15 06:21:14 +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
617eb0a5d6 planner: support global binding fuzzy matching (#50085)
ref pingcap/tidb#48875
2024-01-04 14:59:04 +00:00
8cebf0f7c7 planner: simplify global and session binding handle (#50063)
ref pingcap/tidb#48875
2024-01-04 09:02:03 +00:00
3389437f74 planner: refactor interface for binding match and prepare for fuzzy binding match (#50001)
ref pingcap/tidb#48875
2024-01-03 15:42:32 +00:00
1f49f2d09b planner: simplify the global binding interface (#50019)
ref pingcap/tidb#48875
2024-01-03 11:17:02 +00:00
8645716b91 bindinfo: simplify the GlobalBindingHandle interface (#49951)
ref pingcap/tidb#48875
2024-01-03 09:11:02 +00:00
965ad8a142 planner: simplify the binding interface (#49987)
ref pingcap/tidb#48875
2024-01-03 04:00:32 +00:00
6c479080d9 planner: remove the unnecessary column type from the system table mysql.bind_info (#49841)
ref pingcap/tidb#48875
2023-12-27 11:42:41 +00:00
a7ef915052 *: upgrade rules_go (#49693) 2023-12-27 02:15:28 +00:00
f5323284b1 planner: support creating universal bindings (#49426)
ref pingcap/tidb#48875
2023-12-14 09:40:50 +00:00
68271e99ee planner: refactor some code of the binding package (#48959)
ref pingcap/tidb#48875
2023-11-28 16:20:49 +00:00
46d4231c8b planner: standardize some terminologies in binding pkg (#48957)
ref pingcap/tidb#48875
2023-11-28 07:44:46 +00:00