398 Commits

Author SHA1 Message Date
53dc671df4 planner: non-deterministic expression can not be pushed down throught the join (#65563)
close pingcap/tidb#65486
2026-01-15 07:05:38 +00:00
tpp
79b2debe2a planner: index pruning using existing infra (#64999)
close pingcap/tidb#63856
2026-01-15 01:11:23 +00:00
27a4771206 bindinfo: save bindinfo into stmtctx to avoid calling NormalizeStmtForBinding and getbindcache repeatedly (#65484)
close pingcap/tidb#65100
2026-01-13 19:55:08 +00:00
85ddc9d510 variable: fix internal/poll.runtime_pollWait in the goleak with TestSetTiDBCloudStorageURI (#65527)
close pingcap/tidb#65526
2026-01-13 02:39:02 +00:00
2a5e1bb6f7 types: print argument as hex literal if non-printable (#65384)
close pingcap/tidb#65383
2026-01-08 12:10:32 +00:00
adfb9d8305 memory: fix data/stats leak of the global mem-arbitrator when arbitrary panics occur during stmt execution (#65318)
ref pingcap/tidb#58194
2026-01-06 01:22:47 +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
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
6540abdf82 sessiontxn/staleread: don't overwrite StaleTSOProvider for single statement (#65110)
close pingcap/tidb#65090
2025-12-18 15:55:05 +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
80f74ede58 stats: set the default analyze column options to all (#64994)
ref pingcap/tidb#64992
2025-12-12 23:58:19 +00:00
e0813f3a47 planner: Fix bug in the plan cache when the metadata lock is disabled. (#64795)
close pingcap/tidb#64351
2025-12-11 00:35:20 +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
be3d5b4b0f *: flight recorder tracing for internal sessions (#64341)
ref pingcap/tidb#64008
2025-11-21 06:03:19 +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
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
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
e4f8ba94a2 kv, owner: remove unused variables, functions, and struct fields (#63879)
ref pingcap/tidb#61967
2025-10-15 12:01: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
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
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
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
c8d2bef20e planner: move physical related logic into physical op dir (#63401)
ref pingcap/tidb#52714
2025-09-08 10:39:06 +00:00