Commit Graph

278 Commits

Author SHA1 Message Date
03bc2507ca planner: track more details about time spent on query optimization (#65096)
close pingcap/tidb#64375
2025-12-29 06:13:11 +00:00
9c74029894 sessionctx: Increase max value for innodb_lock_wait_timeout (#65153)
close pingcap/tidb#65152
2025-12-22 20:05:19 +00:00
1676563499 executor, sessionctx: remove MemArbitrator from slow log rules (#65105) 2025-12-21 11:45:22 +00:00
dc7d3a05b5 *: add the Rewrite_time as a slow log rule (#65086) 2025-12-17 19:38:02 +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
4a913265a2 *: unifiy the usage of max_execution_time (#64361)
close pingcap/tidb#64360
2025-12-08 05:00:14 +00:00
01d36e2c73 util/traceevent: update the default value of FlightRecorderConfig (#64511)
ref pingcap/tidb#64008
2025-11-21 10:15:47 +00:00
cea660d386 sysvar: Removed side effects from test (#64609)
close pingcap/tidb#64608
2025-11-20 19:00:05 +00:00
8c819260b3 tracing: control flags and tikv categories (#64331)
ref pingcap/tidb#64008
2025-11-18 03:09:41 +00:00
af24a62da2 infoschema, server: add per connection TLS status (#62563)
close pingcap/tidb#64223
2025-11-14 13:32:11 +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
e407943c07 *: Collect client network info for topsql to pick topN sql with highest network traffic (#63796)
close pingcap/tidb#62920
2025-11-05 06:51:50 +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
16ccc85176 sessionctx: simplify code by unifying executor concurrency sysvars (#64044) 2025-10-31 09:34:50 +00:00
800cf83e02 memory: global mem resources arbitrator (#63073)
close pingcap/tidb#58194
2025-10-30 13:13:49 +00:00
85e6857638 traceevent: fix point-get short path and prev_trace_id tracking (#64147)
ref pingcap/tidb#64008
2025-10-29 07:29:01 +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
f272a258f9 variable: mark tidb_enable_async_merge_global_stats as deprecated soon (#63911)
ref pingcap/tidb#63439
2025-10-17 14:17:49 +00:00
xhe
31338c0d67 variable: tweak set instance for all instance variables (#63615)
close pingcap/tidb#63614
2025-10-17 06:10:13 +00:00
4e3507a43c executor: force pushdown aggregate to TiKV inside admin check table (#63665)
close pingcap/tidb#63492
2025-10-11 15:41:45 +00:00
xhe
9a39320b2e sysvar: add internal session flag (#63709)
close pingcap/tidb#63708
2025-10-10 09:12:38 +00:00
007861065e planner: create index with embedded analyze (#63143)
close pingcap/tidb#63326
2025-09-30 04:03:25 +00:00
79d1306f62 *: parse and match slow log trigger rules for multi-dimensional triggering (#63132)
close pingcap/tidb#63131
2025-09-24 03:52:58 +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
a7400e539e txn: follower read only affect read-only statements (#62852)
close pingcap/tidb#62856
2025-09-22 05:21:19 +00:00
d164c297a7 sessionctx: disable warning when setting tidb_allow_tiflash_cop in set_var hint (#63570)
close pingcap/tidb#62722
2025-09-17 15:27:04 +00:00
xhe
8186440426 config: add new instance variables (#63321)
close pingcap/tidb#63320
2025-09-15 02:43:36 +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
c8d2bef20e planner: move physical related logic into physical op dir (#63401)
ref pingcap/tidb#52714
2025-09-08 10:39:06 +00:00
5810837368 test: fix or skip some failed next-gen tests (#63355)
close pingcap/tidb#63343
2025-09-05 17:57:12 +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
d3a8bdc50f txn, planner: Fix the problem that with pessimistic-auto-commit enabled, some internal transactions may try to commit transaction with MaxUint64 (#62881)
close pingcap/tidb#62775
2025-08-25 06:38:19 +00:00
8c88b61875 tests: fix unit tests for next-gen (#62895)
ref pingcap/tidb#61702
2025-08-20 19:51:02 +00:00
259852d340 *: add the new SEMv2 config and implement most of the functions (#61634)
close pingcap/tidb#61582, close pingcap/tidb#61583, close pingcap/tidb#61584, close pingcap/tidb#61585
2025-08-18 13:38:47 +00:00
cd1aa428de *: tiny cleanup LogSlowQuery (#62989)
close pingcap/tidb#62988
2025-08-16 12:30:47 +00:00
xhe
bc0d97a44d variable: change tidb_redact_log to global variable (#62892)
close pingcap/tidb#62890
2025-08-16 04:03:47 +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
04590cf4a5 *: simplify ExecDetails by embedding CopExecDetails and removing DetailsNeedP90 (#62600)
close pingcap/tidb#62599
2025-08-09 12:45:24 +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