Commit Graph

262 Commits

Author SHA1 Message Date
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
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
e54fe94984 planner: TTL scan can trigger sync/async load/generateRuntimeFilter (#62616)
close pingcap/tidb#61822
2025-07-30 17:18:16 +00:00
a53894aae0 slowlog, stmtsummary: include the storage engine(s) a query read from (#61737)
close pingcap/tidb#61736
2025-07-29 21:38:16 +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
095ab56023 *: the TaskTimeStats structure is extracted to record time-related statistics in CopTasksDetails, including dimensions such as average, percentage, and maximum. (#62516)
close pingcap/tidb#62515
2025-07-22 10:59:53 +00:00
b778b88220 *: refactor slow log handling by moving relevant logic to a dedicated file and removing unused code paths from MergeExecDetails (#62501) 2025-07-21 14:00:06 +00:00
b61518066b sessionctx: separate the slow log functionality from the session file (#62415) 2025-07-17 04:19:03 +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
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