58 Commits

Author SHA1 Message Date
tpp
79b2debe2a planner: index pruning using existing infra (#64999)
close pingcap/tidb#63856
2026-01-15 01:11:23 +00:00
758e5e0791 session: Add a new session variable to control the prefix index optimization for ORDER BY ... LIMIT queries (#65314)
fix pingcap/tidb#63280
2025-12-31 12:48:44 +00:00
69fb8dbc92 *: support system variable tidb_index_lookup_pushdown_policy and hint NO_INDEX_LOOKUP_PUSHDOWN (#64932)
ref pingcap/tidb#62575
2025-12-15 05:38:47 +00:00
80f74ede58 stats: set the default analyze column options to all (#64994)
ref pingcap/tidb#64992
2025-12-12 23:58:19 +00:00
dd72952396 sessionctx,traceevent: support flight recorder sink to log and update @@tidb_trace_event (#64362)
ref pingcap/tidb#64008
2025-11-11 05:46:26 +00:00
e2d602a229 *: add tidb_slow_log_max_per_sec variable to control the number of slow logs written per second (#63996)
close pingcap/tidb#63995
2025-11-04 12:50:50 +00:00
1cc2a48d78 planner: update embedded analyze variable name (#64154)
ref pingcap/tidb#63326
2025-11-03 05:35:50 +00:00
bdd2b6f284 dxf/ddl: always enable DXF and fast reorg in nextgen (#64179)
ref pingcap/tidb#61702
2025-10-30 17:24:13 +00:00
800cf83e02 memory: global mem resources arbitrator (#63073)
close pingcap/tidb#58194
2025-10-30 13:13:49 +00:00
3645a38dfa *: introduce the traceevent package (#64051)
ref pingcap/tidb#64008
2025-10-27 15:10:04 +00:00
1a9221eacb *: add a variable for dynamic slow log trigger rules with global (supporting ConnID-specific) and session scope (#63779)
close pingcap/tidb#63778
2025-10-23 06:21:16 +00:00
e22494d43d variable: mark tidb_index_serial_scan_concurrency as deprecated (#64023)
close pingcap/tidb#63931
2025-10-21 17:54:46 +00:00
d8bf6317aa *: add tidb_enable_binding_usage (#63988)
close pingcap/tidb#63986
2025-10-21 08:36:22 +00:00
2b2792b771 planner: increase default tidb_stmt_summary_max_sql_length and better error (#63694)
close pingcap/tidb#63671
2025-10-03 05:46:58 +00:00
007861065e planner: create index with embedded analyze (#63143)
close pingcap/tidb#63326
2025-09-30 04:03:25 +00:00
eb6cdbbc8a pkg/config: add buffer config for plugin audit log (#63651)
close pingcap/tidb#63650
2025-09-23 07:52:23 +00:00
xhe
8186440426 config: add new instance variables (#63321)
close pingcap/tidb#63320
2025-09-15 02:43:36 +00:00
5fac805272 planner: always keep join keys by default (#63470)
ref pingcap/tidb#63314
2025-09-12 05:01:51 +00:00
tpp
6ba98357b9 planner: Exists subquery to join variable (#63416)
ref pingcap/tidb#44850
2025-09-10 13:18:33 +00:00
d022959e78 planner: keep join keys for join optimization in constant propagation (#63404)
close pingcap/tidb#60076, close pingcap/tidb#63314
2025-09-10 02:07:48 +00:00
ec3ade5dea planner: allow cartesian joins in greedy join order algo to explore better join orders (#63309)
close pingcap/tidb#63290
2025-09-09 15:44:57 +00:00
57ebc04e58 *: remove two useless functions (#63263) 2025-09-04 19:50:54 +00:00
tpp
013cacffeb planner: Add variable for no_decorrelate in select list (#63204)
close pingcap/tidb#51116
2025-09-03 18:34:00 +00:00
032d5f827a sessionctx: set strict assertion level as default for next-gen (#63174)
close pingcap/tidb#63172
2025-08-29 03:45:25 +00:00
50e9e88a75 planner: update the fundamental NDV scaling estimation formula (#63068)
close pingcap/tidb#54812
2025-08-27 14:03:34 +00:00
c7c45c2d0a planner,selectivity: record the default selectivity (#63102)
close pingcap/tidb#55366
2025-08-26 08:42:18 +00:00
5fab436e60 planner: use expoBackoff for GROUP BY cardinality estimation when no … (#62813)
close pingcap/tidb#62756
2025-08-25 21:16:10 +00:00
aa875ea472 dxf: calculate max_node_count and concurrency for next-gen automatically (#62995)
ref pingcap/tidb#61702
2025-08-22 14:53:38 +00:00
7dfc503c25 planner: adjust the default value of tidb_opt_limit_push_down_threshold (#63012)
close pingcap/tidb#63011
2025-08-19 05:22:38 +00:00
d82d2baa0f bazel: update settings and close some race on tests (#63009) 2025-08-15 09:07:31 +00:00
2a35445ba7 mdl: move the set variable check of nextgen from variable pkg to planner (#62882)
ref pingcap/tidb#61702
2025-08-11 04:55:13 +00:00
2d07f5c716 mdl: always enable and make it read only in nextgen (#62865)
ref pingcap/tidb#61702
2025-08-07 06:11:21 +00:00
5f051c78d1 sessionctx: mark tidb_enable_auto_analyze_priority_queue as deprecated (#62659) 2025-08-06 15:35:54 +00:00
1dac78fd92 crossks: add info schema coordinator (#62712)
ref pingcap/tidb#61702
2025-08-04 11:40:18 +00:00
bb89e7ab57 br: add global variable to control checkpoint lag limit (#62680)
close pingcap/tidb#62679
2025-08-01 10:52:29 +00:00
433b3710fa planner: use addedRows for out of range and add skew risk ratio (#62363)
ref pingcap/tidb#62093
2025-07-25 02:13:13 +00:00
94121719e2 executor, distsql: add retry for EstablishMPPConnection on failure (#62355)
close pingcap/tidb#62421
2025-07-16 16:45:09 +00:00
81370d4c72 planner: add skew risk ratio for range pred (#62035)
close pingcap/tidb#62093
2025-07-07 20:32:30 +00:00
15fe8f1be9 telemetry: add telemetry related code back (#61753)
close pingcap/tidb#61766
2025-07-04 05:19:57 +00:00
216b8cbff8 session: rename circuit breaker sysvar (#61951)
close pingcap/tidb#61614
2025-06-24 08:22:24 +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
6a4e8cfcd0 variable: tidb_enable_ts_validation (#60548)
close pingcap/tidb#60547
2025-05-22 10:42:38 +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
tpp
6b11bda599 planner: Update default for index selectivity ratio (#61097)
close pingcap/tidb#39187
2025-05-20 20:04:37 +00:00
tpp
3dc48a1653 planner: add skew risk for equals (#60648)
close pingcap/tidb#60722
2025-04-24 04:11:46 +00:00
tpp
d46ecaa4c3 planner: add optimizer cost factors (#60333)
close pingcap/tidb#60357
2025-04-10 21:56:33 +00:00
tpp
9af2bb5352 planner: enable non-prepared plan cache for dml (#60325)
close pingcap/tidb#60334
2025-04-06 02:32:07 +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