|
|
c7003d8d65
|
planner: Implement ignore_plan_cache hint for non-prepared statements. (#62641)
close pingcap/tidb#62634
|
2025-07-30 05:50:37 +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 |
|
|
|
89fccd79d0
|
planner: remove "SHOW PLAN FOR <SQL>" syntax (#62509)
ref pingcap/tidb#60148
|
2025-07-25 03:28:58 +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 |
|
|
|
78f1ba3c1a
|
planner: don't consider an empty plan a simple point plan (#62510)
ref pingcap/tidb#60148
|
2025-07-21 22:08:53 +00:00 |
|
|
|
3d7650d9fb
|
planner: remove the test of manually setting cost v2 (#62493)
|
2025-07-18 06:24:57 +00:00 |
|
|
|
2a74539ace
|
planner: extend order ratio to joins (#61687)
close pingcap/tidb#62034
|
2025-07-01 02:36:18 +00:00 |
|
|
|
f52d19273b
|
planner: use the current user name when exploring new plans (#62016)
ref pingcap/tidb#60148
|
2025-06-27 03:20:12 +00:00 |
|
|
|
e34335386f
|
planner: log merge fix control for multiple ranges (#61976)
ref pingcap/tidb#60148
|
2025-06-25 08:08:48 +00:00 |
|
|
|
f28a1e2a13
|
planner: support explain [analyze] <plan_digest> for explain explore (#61942)
ref pingcap/tidb#60148
|
2025-06-24 02:54:15 +00:00 |
|
|
|
52ca7d49b4
|
planner: record explored plans into tidb_statement_stats when running explain explore (#61850)
ref pingcap/tidb#60148
|
2025-06-23 18:27:06 +00:00 |
|
|
|
f350b69798
|
planner: support "explain explore analyze" when exploring new plans offline (#61778)
ref pingcap/tidb#60148
|
2025-06-18 02:32:33 +00:00 |
|
|
|
9e35ae6265
|
planner: consider leading hints (join order) when exploring plans (#61279)
ref pingcap/tidb#60148
|
2025-05-24 05:24:37 +00:00 |
|
|
|
c85f3338e2
|
planner: consider PreferRange when exploring new plans (#61251)
ref pingcap/tidb#60148
|
2025-05-22 02:21:10 +00:00 |
|
|
|
815130fc9e
|
planner: merge the some code of helper func genPlanWithSCtx with Explain to reduce redundant code (#61224)
ref pingcap/tidb#60148
|
2025-05-21 00:35:34 +00:00 |
|
|
|
6b11bda599
|
planner: Update default for index selectivity ratio (#61097)
close pingcap/tidb#39187
|
2025-05-20 20:04:37 +00:00 |
|
|
|
07f4eda040
|
planner: explore new plans via adjusting optimizer variables when "EXPLAIN EXPLORE" (#61190)
ref pingcap/tidb#60148
|
2025-05-20 10:23:10 +00:00 |
|
|
|
8ecc397d9c
|
planner: a new helper function GenPlanWithSCtx for SPM (#61153)
ref pingcap/tidb#60148
|
2025-05-19 19:20:55 +00:00 |
|
|
|
dfc4eee0b4
|
planner: a new function to get all relevant optimizer variables related to a certain SQL for SPM (#61119)
ref pingcap/tidb#60148
|
2025-05-15 18:36:20 +00:00 |
|
|
|
617661007e
|
planner: use "EXPLAIN EXPLORE" to replace "SHOW PLAN" (#61099)
ref pingcap/tidb#60148
|
2025-05-15 04:09:05 +00:00 |
|
|
|
61e061e08c
|
planner: selectivity estimate not to go below 1 (#61045)
ref pingcap/tidb#47400
|
2025-05-13 01:42:12 +00:00 |
|
|
|
21f318d9c4
|
planner: add skeleton of SPM AI Plan Evolution (#60824)
ref pingcap/tidb#60148
|
2025-04-25 19:52:12 +00:00 |
|
|
|
183253803b
|
bindinfo: gopls modernize (#60783)
close pingcap/tidb#60782
|
2025-04-24 04:59:04 +00:00 |
|
|
|
6dc5817547
|
util: fix typo in DestroyParser function name (#60494)
close pingcap/tidb#60493
|
2025-04-11 03:53:16 +00:00 |
|
|
|
84c3948930
|
planner: recommend optimal plans in SHOW PLAN statement (#60366)
ref pingcap/tidb#60148
|
2025-04-06 03:57:52 +00:00 |
|
|
|
2347e977a2
|
planner: add an unique key into mysql.bind_info (#60296)
ref pingcap/tidb#60148
|
2025-04-02 09:09:06 +00:00 |
|
|
|
446952c54b
|
planner: calculate plan_digest in place when fetching plan exec info from stmt_stats in SHOW PLAN FOR <SQL> (#60273)
ref pingcap/tidb#60148
|
2025-03-31 04:16:16 +00:00 |
|
|
|
9a024100b7
|
planner: implement "SHOW PLAN FOR <SQL>" for SPM (#60238)
ref pingcap/tidb#60148
|
2025-03-26 04:45:31 +00:00 |
|
|
|
60ade6ef17
|
planner: update bind_info binding columns from TEXT to LONGTEXT to support long bindings (#60007)
close pingcap/tidb#59986
|
2025-03-12 10:46:49 +00:00 |
|
|
|
cbda2c9e6a
|
planner: use index for binding cache update (#59993)
ref pingcap/tidb#51347
|
2025-03-11 06:59:19 +00:00 |
|
|
|
f8f667ed81
|
planner: return error if binding sql is too long (#59982)
ref pingcap/tidb#51347
|
2025-03-10 10:15:42 +00:00 |
|
|
|
c778996297
|
planner: refactor some code related to binding (#59935)
ref pingcap/tidb#51347
|
2025-03-06 07:55:45 +00:00 |
|
|
|
e52d8ab833
|
planner: refactor some code related to binding (#59895)
ref pingcap/tidb#51347
|
2025-03-05 06:37:20 +00:00 |
|
|
|
6b4d85bf5e
|
planner: refactor some code related to binding (#59883)
ref pingcap/tidb#51347
|
2025-03-04 08:23:28 +00:00 |
|
|
|
b500d9e1eb
|
planner: refactor some code related to binding (#59868)
ref pingcap/tidb#51347
|
2025-03-04 02:21:34 +00:00 |
|
|
|
a5d433acec
|
planner: refactor some code related to binding (#59692)
ref pingcap/tidb#51347
|
2025-02-24 03:14:27 +00:00 |
|
|
|
681fa36087
|
planner: refactor some code related to binding (#59676)
ref pingcap/tidb#51347
|
2025-02-21 03:36:47 +00:00 |
|
|
|
97d861e545
|
planner: refactor some code related to binding (#59644)
ref pingcap/tidb#51347
|
2025-02-19 10:43:07 +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 |
|
|
|
cf4d252af8
|
*: split definition out of variable pkg and refactor some reorg methods (#59146)
ref pingcap/tidb#57229, ref pingcap/tidb#57497
|
2025-01-23 09:24:44 +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 |
|
|
|
457dcc6bbd
|
planner: refactor some code of binding cache (#58504)
ref pingcap/tidb#51347
|
2024-12-24 09:57:15 +00:00 |
|
|
|
a21c95b343
|
planner: update the underlying binding cache structure (#58481)
ref pingcap/tidb#51347
|
2024-12-24 07:41:36 +00:00 |
|
|
|
874e0a3569
|
planner: refactor some code of binding cache (#58456)
ref pingcap/tidb#51347
|
2024-12-23 08:20:06 +00:00 |
|