Commit Graph

578 Commits

Author SHA1 Message Date
4714df8a83 executor: fix issue of can not get the TxnStart if the SQL has a non-related subquery (#44232)
close pingcap/tidb#40851
2023-05-29 09:10:41 +00:00
732b483de9 *: show start time of multi-schema change sub-jobs (#44173)
ref pingcap/tidb#14766
2023-05-29 07:58:41 +00:00
f09d950add executor,util: Correct error for MAX_EXECUTION_TIME (#43041)
close pingcap/tidb#43031
2023-05-18 16:33:36 +00:00
0d3ad53386 ddl, executor: executor change for pause/resume on ddl jobs (#43171)
close pingcap/tidb#18015, ref pingcap/tidb#40041
2023-05-09 14:32:08 +00:00
1bbc6924fd *: add more stats related diagnostic information to execution plan and slow log (#43114)
close pingcap/tidb#43122
2023-04-20 07:13:19 +08:00
b7330bdc15 *: fix bug that table name in 'admin show ddl jobs' is missing for ongoing drop table operation (#42904)
close pingcap/tidb#42268
2023-04-11 23:15:01 +08:00
566c3f6f8e planner: refactor PreparedParams for non-prep plan cache (#42844)
ref pingcap/tidb#36598
2023-04-06 21:32:58 +08:00
d9149b0afa server: prefetch for DELETE and BatchPointGet when multi-statement (#29391)
close pingcap/tidb#41367
2023-03-22 20:14:42 +08:00
d36a68a887 *: fix data race in the IgnoreTruncate (#42449)
close pingcap/tidb#42341
2023-03-22 15:28:42 +08:00
37131216fc executor: fix a bug for ADMIN SHOW DDL JOB QUERIES (#42368)
close pingcap/tidb#42298
2023-03-21 15:44:50 +08:00
fff7fb9fec executor: enable deadlock (#42173) 2023-03-15 09:00:39 +08:00
39e955b8a2 planner: add test cases for non-prep plan cache (#41872)
ref pingcap/tidb#36598
2023-03-14 19:16:47 +08:00
ea243088e1 load data: move param and some init logic into importer pkg (#42075)
ref pingcap/tidb#40499
2023-03-13 18:58:40 +08:00
25770ffc6b executor: unify replace into logic for InsertValues and ReplaceExec (#41947)
ref pingcap/tidb#40499
2023-03-08 23:47:12 +08:00
382b388df6 planner: add new explain format for plan cache (#41965)
ref pingcap/tidb#36598
2023-03-08 00:03:12 +08:00
1d293d8159 executor: implement part of restrictive LOAD DATA (#41793)
close pingcap/tidb#41784
2023-03-03 22:23:10 +08:00
23f6ac82f7 planner: plan cache support caching plan with subquery (#41080)
ref pingcap/tidb#40219
2023-02-20 21:25:04 +08:00
b0519d822e executor: detach memTracker when open executor (#41556)
close pingcap/tidb#41476
2023-02-20 15:47:05 +08:00
00d48f90e6 *: update util/tracing and remove repeated code (#40825)
close pingcap/tidb#40809
2023-02-06 22:35:58 +08:00
4620df6a8d executor,store/copr: trace the buildCopTask and limitExec close duration when it's slow (#40579)
ref pingcap/tidb#40441
2023-01-17 11:11:48 +08:00
5e291ec127 executor: fix 'ADMIN SHOW DDL JOB QUERIES LIMIT m OFFSET n' may return multiple lines (history jobs) with same job id (#39248)
close pingcap/tidb#39233
2023-01-13 19:13:48 +08:00
45d71af649 ddl: support displaying sub-job reorg type in admin show ddl (#40387)
close pingcap/tidb#40386
2023-01-10 12:50:22 +08:00
f600fc694f executor: reset the related session vars for both INSERT and REPLACE (#40354)
close pingcap/tidb#40351
2023-01-06 18:56:21 +08:00
494672cb51 admin: impl admin check index for mv index (#40270)
close pingcap/tidb#40272
2023-01-03 16:58:20 +08:00
f7de8beede *: remove the support of the old ddl framework (#39684)
ref pingcap/tidb#39824
2022-12-30 18:30:18 +08:00
0f4bd73741 server: avoid reusing cached stmt ctx on cursor read (#40023)
close pingcap/tidb#39998
2022-12-22 11:00:55 +08:00
fdf335e3e5 *: make auto-analyze killable by global memory limit (#39978)
ref pingcap/tidb#39971, close pingcap/tidb#39994
2022-12-20 21:56:55 +08:00
1e7c6ddbe6 SlowLog: Update Wait_TS field in slow log for every sql (#39843)
close pingcap/tidb#39713
2022-12-14 00:08:52 +08:00
3f3e102ea5 executor: make analyze killable by oom action (#39539)
close https://github.com/pingcap/tidb/issues/39559
2022-12-02 04:17:14 +08:00
3bb8e793d0 executor: add globalAnalyzeTracker back (#39500)
close https://github.com/pingcap/tidb/issues/39499
2022-12-02 02:47:37 +08:00
23543a4805 *: merge the runtime stats in time to avoid using too many memory (#39394)
close pingcap/tidb#39413
2022-11-29 21:00:00 +08:00
19dae1fa73 *: separate auto_increment ID allocator from _tidb_rowid allocator when AUTO_ID_CACHE=1 (#39041)
close pingcap/tidb#982
2022-11-29 20:20:00 +08:00
89522b1708 *: fix deprecated (#39401) 2022-11-28 09:46:00 +08:00
cf49466a1e executor: move FillVirtualColumnValue to the table package (#39342) 2022-11-23 17:59:58 +08:00
48e17e2ecb planner: revise sync load error msg (#39198) 2022-11-18 14:13:55 +08:00
f5171e334e executor: fix admin show job panic when upgrade from v4.0 to v6.4 (#39067)
close pingcap/tidb#38980
2022-11-10 22:25:52 +08:00
ea26284ea3 *: avoid special cases DATA RACE (#38918)
close pingcap/tidb#38914
2022-11-08 20:13:50 +08:00
ad4d43219a planner: support record table runtime stats during optimize (#38876)
ref pingcap/tidb#38779
2022-11-08 19:31:50 +08:00
f79e67f98b executor: insert ignore return errAutoincReadFailed warning (#38486)
close pingcap/tidb#38483
2022-11-07 19:55:51 +08:00
114d8c1195 *: enable global memory control by default (#38899) 2022-11-04 21:36:01 +08:00
0b3e1e9be0 *: Chunkreuse try reuse chunk in operator (#38607)
close pingcap/tidb#38606
2022-11-04 11:28:00 +08:00
c799b0f165 *: disable global memory control by default (#38859) 2022-11-03 19:32:01 +08:00
ef95612e84 *: extend the semantic of mem-quota-query to mem-quota-session (#38423)
close pingcap/tidb#38429
2022-11-02 10:45:59 +08:00
6d6e9c4b10 *: show backfill type in admin show ddl jobs (#38733)
ref pingcap/tidb#35983
2022-10-29 00:53:58 +08:00
dd65832136 *: add context for hook of getting/setting variables (#38379)
close pingcap/tidb#38378
2022-10-18 16:43:53 +08:00
e7b0eb53b1 config: fix data race raised by EnableCollectExecutionInfo (#38409)
close pingcap/tidb#38408
2022-10-12 17:17:51 +08:00
4e4169bcc5 *: support global memory control for tidb (#37794)
ref pingcap/tidb#37816
2022-09-26 12:01:43 +08:00
b0e073478f execution: commit the transaction before responding explain analyze results to the client (#38044)
close pingcap/tidb#37373
2022-09-21 20:45:03 +08:00
ff1df75a6a *: add more tests for metadata lock and fix data race (#37930)
close pingcap/tidb#37927
2022-09-20 12:05:01 +08:00
c4638b70fd *: support metadata lock (#37393)
ref pingcap/tidb#37275
2022-09-18 20:57:00 +08:00