Commit Graph

114 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
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
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
e1b2f7c695 *: downgrade the dependencies (#38821) 2022-11-02 20:42:00 +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
08aa32e888 *: update bazel config (#38745) 2022-11-01 12:15:59 +08:00
1614991a31 cgroup: get right value when cgroup set max value (#38661)
close pingcap/tidb#38664
2022-10-28 15:27:57 +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
d27c706965 util: reduce STW from ReadMemStats (#38632)
close pingcap/tidb#38271
2022-10-26 20:37:56 +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
e016a7d218 util: improve cgroup to support Vertical Pod Autoscaler (#36901)
ref pingcap/tidb#37707
2022-09-21 21:35:04 +08:00
5a8e1b2665 executor: exit all goroutines immediately when exceeded mem-quota (#37405)
close pingcap/tidb#37379
2022-09-14 14:12:58 +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
158ba1a1d9 *: enable part revive for all code (#36703) 2022-08-01 14:02:06 +08:00
bf743a6ca0 *: enable flaky test for all test (#36385)
close pingcap/tidb#36404
2022-07-22 15:35:09 +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
fa00fc5cd5 *: set fine grain timeout and update bazel config (#36220) 2022-07-15 11:11:05 +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
e00ad2b3ef *: enable errcheck for nogo (#35704)
ref pingcap/tidb#35345
2022-07-02 22:08:39 +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
2b4a4c6d7a *: support bazel (#33691)
close pingcap/tidb#34083
2022-06-07 15:22:30 +08:00
810f8ae12e *: remove pingcap/check dependency (#34734)
close pingcap/tidb#28328
2022-05-17 21:38:37 +08:00
0e19c1cd64 memory, kvcache : Takes process memory,compared to server-memory-quota (#34681)
close pingcap/tidb#34613
2022-05-16 16:16:36 +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
f88dab92f9 util: use generics to implement max/min (#34197)
close pingcap/tidb#34247
2022-05-06 10:08:57 +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