Commit Graph

219 Commits

Author SHA1 Message Date
81370d4c72 planner: add skew risk ratio for range pred (#62035)
close pingcap/tidb#62093
2025-07-07 20:32:30 +00:00
d87ec2b188 planner: RegardNULLAsPoint should be true as default (#62194)
close pingcap/tidb#62196
2025-07-07 11:09:00 +00:00
15fe8f1be9 telemetry: add telemetry related code back (#61753)
close pingcap/tidb#61766
2025-07-04 05:19:57 +00:00
d31c573cf2 planner: remove useless code (#61968) 2025-07-04 00:49:15 +00:00
tpp
2a74539ace planner: extend order ratio to joins (#61687)
close pingcap/tidb#62034
2025-07-01 02:36:18 +00:00
dbb2c9c833 planner,ddl: rightly fix issue of add foreign key too slow in big table (#61945)
ref pingcap/tidb#40111
2025-06-24 18:12:12 +00:00
216b8cbff8 session: rename circuit breaker sysvar (#61951)
close pingcap/tidb#61614
2025-06-24 08:22:24 +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
a3cba16f8e planner: fix uninit timeout for loading bindings (#61891)
close pingcap/tidb#61889
2025-06-23 04:21:48 +00:00
c2e5dd3571 session: change the variable range of circuit breaker (#61613)
close pingcap/tidb#61614
2025-06-10 13:11:28 +00:00
1ef4c269cd planner: set the default of the tidb_cost_model_version correctly (#61608)
close pingcap/tidb#61565
2025-06-10 05:22:28 +00:00
0d8e2bb4c5 planner: Make SET_VAR hints restore the correct session variable values after execution. (#61165)
close pingcap/tidb#60905
2025-06-05 17:23:29 +00:00
6d7cb93499 config: add check to keyspace name (#61295)
ref pingcap/tidb#60418
2025-05-26 05:14:22 +00:00
6a4e8cfcd0 variable: tidb_enable_ts_validation (#60548)
close pingcap/tidb#60547
2025-05-22 10:42:38 +00:00
c85f3338e2 planner: consider PreferRange when exploring new plans (#61251)
ref pingcap/tidb#60148
2025-05-22 02:21:10 +00:00
bf9fbde9e9 planner: add variable control for index join build v2 and default them on (#60592)
close pingcap/tidb#60106
2025-05-21 08:34:46 +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
1b0a54ca86 session: gopls modernize (#60856)
close pingcap/tidb#60855
2025-05-07 22:47:30 +00:00
cad2ab97ed sessionctx: disable fair locking in next-gen (#60698)
ref pingcap/tidb#60697
2025-04-28 03:53:01 +00:00
tpp
3dc48a1653 planner: add skew risk for equals (#60648)
close pingcap/tidb#60722
2025-04-24 04:11:46 +00:00
tpp
4f2d944d55 planner: add hint support for optimizer cost factors (#60558)
ref pingcap/tidb#60357
2025-04-16 04:27:58 +00:00
tpp
d46ecaa4c3 planner: add optimizer cost factors (#60333)
close pingcap/tidb#60357
2025-04-10 21:56:33 +00:00
84183c5550 session: set default value for hash join v2 in NewSessionVars (#60365)
ref pingcap/tidb#53127
2025-04-02 06:51:51 +00:00
914e4ce8d8 session: add a session variable to control whether to use hash join v2 in TiFlash (#60300)
close pingcap/tidb#60299
2025-03-29 04:39:31 +00:00
95181316d5 planner: revert and fix "remove the useless variable tidb_enable_point_get_cache from #36844". (#60272)
close pingcap/tidb#36598
2025-03-27 16:39:52 +00:00
2fc7aa5ee6 variable: add @@tidb_enable_batch_query_region (#60015)
ref pingcap/tidb#58439
2025-03-12 10:46:57 +00:00
797674c899 sessionctx: reuse Mutex in StatementContext struct (#60004)
close pingcap/tidb#58600
2025-03-12 07:49:54 +00:00
cca5361a8e variable: tidb_pipelined_dml_resource_policy (#57352)
ref pingcap/tidb#50215
2025-03-06 12:03:20 +00:00
87f6c7b7e4 executor: introduce max_user_connections (#59197)
close pingcap/tidb#59203
2025-02-26 05:02:00 +00:00
b45a9e840c sysvar: add validation check for tidb_max_dist_task_nodes (#59645)
ref pingcap/tidb#58944
2025-02-20 07:05:27 +00:00
b7e1c201db session, variable: add privilege check to set session_states (#59601)
close pingcap/tidb#59600
2025-02-18 17:51:31 +00:00
9099090462 dxf: add tidb_max_dist_task_nodes to specify max node count (#58937)
close pingcap/tidb#58944
2025-02-18 05:12:25 +00:00
0c99ccb269 session: track LastCommitTS in SessionVars and check timestamps of later txns are larger (#57305)
close pingcap/tidb#57165
2025-02-13 05:11:58 +00:00
397b0f228a *: add sql variable @@tidb_accelerate_user_creation_update (#58512)
ref pingcap/tidb#55563
2025-02-12 03:35:32 +00:00
dd9c4b1d92 *: remove the variable txn_scope (#58839)
ref pingcap/tidb#58838
2025-02-10 11:20:46 +00:00
a573e49452 *: integrate circuitbreaker for get region calls to PD (#58737)
close pingcap/tidb#58780
2025-01-24 04:16:08 +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
51d723b5e2 sessionctx, executor, infoschema: Add fine grained network traffic stats in slow log (#59041)
ref pingcap/tidb#57543
2025-01-22 02:19:05 +00:00
6c9ee36e8e var: enable pd_enable_follower_handle_region as default (#58385)
close pingcap/tidb#58384
2025-01-08 04:00:34 +00:00
b2f2faaa95 parser: move 'model' to 'ast' pkg (#58704)
ref pingcap/tidb#54436
2025-01-07 10:20:04 +00:00
bf939fa79a *: don't handle live updates of column size (#58596)
close pingcap/tidb#58595
2025-01-06 19:42:49 +00:00
0097df9034 executor,sessionctx: handle last_insert_id(0) like MySQL (#58204)
close pingcap/tidb#58201
2024-12-27 21:22:00 +00:00
4e6dc7bf30 sessionctx: Remove Query Cache (#58352)
close pingcap/tidb#9156
2024-12-27 20:23:42 +00:00
df4440426b sessionctx: cleanup old InnoDB sysvars (#58357)
close pingcap/tidb#9142
2024-12-27 18:57:18 +00:00
a3f823d54f sessionctx: Remove date_format, datetime_format,max_tmp_tables variables (#58353)
close pingcap/tidb#9155
2024-12-19 08:40:36 +00:00
59dff48ea2 planner, workload-based learning: The setup process framework of workload-based learning (#58132)
ref pingcap/tidb#58131
2024-12-16 00:04:15 +00:00
a3d60bcfc6 executor: Optimize statement summary performance by avoiding heap memory allocation (#58023)
ref pingcap/tidb#56649
2024-12-11 17:00:12 +00:00
12b942112e *: avoid unlock of unlocked mutex panic on TableDeltaMap (#57799)
close pingcap/tidb#57798
2024-12-05 02:22:14 +00:00
e0019df932 sessionctx: fix null max value to leading wrong warning (#57898)
close pingcap/tidb#57889
2024-12-03 08:19:55 +00:00
0374ae26b9 planner: provide a system view information_schema.tidb_plan_cache to allow users to see info in the cache (#57699)
ref pingcap/tidb#54057
2024-11-27 03:16:47 +00:00