Commit Graph

73 Commits

Author SHA1 Message Date
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
b3bbe96020 util: add more log for expensive and global memory control (#39397) 2022-11-28 21:49:59 +08:00
89522b1708 *: fix deprecated (#39401) 2022-11-28 09:46:00 +08:00
15b523cb07 *: add a memdb memory tracker (#39372)
ref pingcap/tidb#35203
2022-11-25 19:03:59 +08:00
86d3b46555 util: change record analyze to explain in oom alarm (#39099)
close pingcap/tidb#39036, ref pingcap/tidb#39094, ref pingcap/tidb#39098
2022-11-13 10:23:53 +08:00
114d8c1195 *: enable global memory control by default (#38899) 2022-11-04 21:36:01 +08:00
c799b0f165 *: disable global memory control by default (#38859) 2022-11-03 19:32:01 +08:00
aafdf0e341 util, executor: remove OOMAction after a query finishing (#38834)
close pingcap/tidb#38847
2022-11-03 14:56:01 +08:00
ba175c47cf util: fix panic cause by concurrent map iteration and write in memory usage alarm (#38729)
close pingcap/tidb#38703
2022-11-02 14:25:59 +08:00
60b2aa6bc9 sessionctx: support bytes format and percentage format for tidb_server_memory_limit (#38655)
ref pingcap/tidb#37816
2022-11-02 11:41:59 +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
40f059a289 executor: add some memory tables to observe memory usage (#38452)
ref pingcap/tidb#37816
2022-10-28 15:05:59 +08:00
f65f4bab99 planner: LRUPlanCache memory trace (#38069)
ref pingcap/tidb#37632
2022-10-21 14:25:55 +08:00
3ef8352a57 util: add tracker tree memory use print (#37310)
close pingcap/tidb#37309
2022-10-14 13:01:51 +08:00
ec6f60e77d executor: ignore spill action when trigger global memory kill (#38198)
ref pingcap/tidb#37816
2022-09-27 23:17:44 +08:00
4e4169bcc5 *: support global memory control for tidb (#37794)
ref pingcap/tidb#37816
2022-09-26 12:01:43 +08:00
330ed6da32 planner: PhysicalPlan memory trace 1 (#37655)
ref pingcap/tidb#37632
2022-09-08 17:08:56 +08:00
e0b5fa1085 planner: Expression memory trace (#37624)
ref pingcap/tidb#37632
2022-09-07 10:52:55 +08:00
b0e84fc0f7 util: fix unstable tests (#37570)
close pingcap/tidb#36829, ref pingcap/tidb#37060
2022-09-02 18:28:25 +08:00
909341b57f *: enable noloopclosure (#37153) 2022-08-26 17:46:21 +08:00
7286061bc9 *: enable fieldalignment (#35802) 2022-08-24 15:56:21 +08:00
78b32f3cd4 *: fix the order of FallbackOldAndSetNewAction (#37272)
close pingcap/tidb#37058
2022-08-23 19:08:20 +08:00
d6d0ce7b10 *: gofmt code for adapting go 1.19 (#36832)
ref pingcap/tidb#36879
2022-08-11 12:50:49 +08:00
fd6f5dd798 *: GC-aware memory track for analyze (#35248)
close pingcap/tidb#34996
2022-07-20 20:17:09 +08:00
4cade24ed6 *: support the binary plan through EXPLAIN format='binary' and tidb_decode_binary_plan (#36221)
ref pingcap/tidb#35889
2022-07-18 16:27:07 +08:00
911e7cc360 *: enable revive (#35970)
ref pingcap/tidb#35345
2022-07-15 16:03:06 +08:00
bdc6397023 executor: support tidb memory debug mode (#35322)
ref pingcap/tidb#33877
2022-07-13 12:33:06 +08:00
55aea2787d *: use pdqsort to improve sort performance (#34404)
close pingcap/tidb#34250
2022-07-06 13:41:02 +08:00
b18ee068e4 types: cache pathExpression to improve the JSON function performance (#35860)
close pingcap/tidb#35859
2022-07-01 14:48:39 +08:00
32258fdaec util: fix data race in the Tracker.maxConsumed (#34656)
close pingcap/tidb#34655
2022-05-15 23:24:36 +08:00
4235034b40 util: fix the issue that memory usage not released after tracker Detach (#34592)
ref pingcap/tidb#34571
2022-05-13 18:42:36 +08:00
50f3d8faf8 *: retry auto-analyze with adjusted samplerate when oom panic (#34387)
close pingcap/tidb#29938
2022-05-11 18:08:34 +08:00
33236ba8d7 *: track analyze memory usage separately with quota (#33054)
ref pingcap/tidb#29938, close pingcap/tidb#33065
2022-05-10 20:32:35 +08:00
6c30303937 session: refine non-transactional delete (#34273)
ref pingcap/tidb#33485
2022-05-09 13:30:34 +08:00
20a58199cf *: move config file option mem-quota-query to sysvar (#34141)
ref pingcap/tidb#33769
2022-04-26 03:58:50 +08:00
b5de819d00 util: fix memory.reArrangeFallback cpu usage (#30414)
close pingcap/tidb#30353
2022-04-15 12:48:35 +08:00
1a4bd06692 bindInfo: support the LRU for the bindCache (#32439)
ref pingcap/tidb#32466
2022-03-02 14:51:46 +08:00
481455728a *: track the memory usage of IndexJoin more accurate (#29068) 2021-11-24 13:49:50 +08:00
7755d25aba *: Integrate SkyWalking-eyes to check license headers in CI and fix licenses headers (#27198) 2021-08-16 18:52:00 +08:00
2412437041 executor: support spill intermediate data for unparalleled hash agg (#25714) 2021-07-15 17:21:32 +08:00
00a4c12d9d format: fix check (#26198) 2021-07-14 10:23:34 +08:00
e28cc0fe56 util: support soft limit for memory tracker (#25820) 2021-07-13 11:19:32 +08:00
eaa0ef476e *: optimize MemTracker object allocation in point get (#26064) 2021-07-12 14:19:25 +08:00
ccaefa2a3d executor: add CTEExec and CTETableReaderExec (#24809) 2021-06-01 11:59:37 +08:00
32d19b78e1 *: refine runtime stats display and tiny bug fix for metrics (#21022)
Signed-off-by: crazycs520 <crazycs520@gmail.com>
2020-11-26 16:35:25 +08:00
af58658b63 *: implement priority control for OOM Action (#21170) 2020-11-25 19:44:26 +08:00
abc8f1665f *: optimize for encoding huge plan (#20811) 2020-11-06 10:46:16 +08:00
0ed9f4d050 executor: tiny optimize slow_query performance and add related runtime stats (#20200) 2020-10-13 14:06:09 +08:00
2f2c57ecc8 executor, util: fix TestGlobalMemoryTrackerOnCleanUp ci error (#19863) 2020-09-08 18:15:46 +08:00
47270445d9 server: fix the missing detachment for the mem/disk tracker (#19794) 2020-09-08 10:48:51 +08:00