Commit Graph

62 Commits

Author SHA1 Message Date
78b4112dfa go.mod: update gopsutil to v3.21.12 (#31720)
close pingcap/tidb#31607
2022-01-17 14:19:44 +08:00
3de13842b3 test: control log level with environment variables (#30871) 2021-12-24 17:03:48 +08:00
b4df7ca4dc test: make all the tests run in serial (#30692) 2021-12-14 18:06:36 +08:00
481455728a *: track the memory usage of IndexJoin more accurate (#29068) 2021-11-24 13:49:50 +08:00
xhe
94e30df8e2 parser: fix compiling, add unit tests (#28700) 2021-10-11 23:15:25 +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
b24d8b7b96 util/memory: migrate test-infra to testify (#26992) 2021-08-10 15:29:15 +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
39bd181213 *: Upgrade to go 1.16 && remove deprecated io/ioutil (#24527) 2021-05-25 12:07:34 +08:00
33c82d1371 util: fix err check (#23009) 2021-03-03 21:48:55 +08:00
35534ae752 *: apply golangci-lint to the new code (#22824) 2021-02-24 18:24:03 +08:00
dad3b5e87d util: add cache for mem info in container (#22109) 2020-12-30 22:13:13 +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
eca1ce192b util: fix wrong calculation to get memory usage. (#21158) 2020-11-20 11:14:23 +08:00
0c3b17138a util: support getting the environment memory in container. (#20805) 2020-11-11 17:49:26 +08:00
abc8f1665f *: optimize for encoding huge plan (#20811) 2020-11-06 10:46:16 +08:00
2f067c0542 *: redact arguments for Error (#20436) 2020-10-21 14:44:08 +08:00
0ed9f4d050 executor: tiny optimize slow_query performance and add related runtime stats (#20200) 2020-10-13 14:06:09 +08:00
449587a085 *: using standard error to replace terror (#19425) 2020-09-08 20:15:51 +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
a2e2ce6339 *: use int instead of fmt.Stringer as executor id (#19207) 2020-08-19 13:39:31 +08:00
af685f511f Revert "coprocessor: Exceed action for copiterator (#17324)" (#18706) 2020-07-21 15:21:20 +08:00
b178de06ad executor: Trace the memory usage of AggFunc in HashAggExec (#18257) 2020-07-06 20:48:41 +08:00
a9177fe846 util/memory: avoid potential deadlock for Consume in remove (#16987) 2020-07-06 19:28:12 +08:00
a5829ae5e6 coprocessor: Exceed action for copiterator (#17324) 2020-07-06 18:57:29 +08:00
9d9f330a4b executor, util: fix spilling disk when oom. (#16895) 2020-06-30 16:32:14 +08:00
3f2d35a60b RFC + executor: Support global memory tracker (#16777) 2020-05-13 15:49:53 +08:00
3edfffa84b Util: Fix global tracker mutex contention (#16298) 2020-04-15 20:37:42 +08:00
d8978cb53e config: support temporary storage usage limitation (#15700) 2020-04-08 22:14:09 +08:00
9f0736ee8b errno: move the error code from the parser/mysql to tidb/errno (#15277) 2020-03-11 15:40:21 +08:00
4755a9b9ef util: revert util/mathutil (#14744) 2020-02-13 11:33:04 +08:00
465af00b46 *: use new registrable terror (#14606) 2020-02-06 16:40:26 +08:00
34bb3e51b6 util: wrong memory count when use Tracker.ReplaceChild() (#14513) 2020-01-19 15:01:32 +08:00
8cbacf0d7c wasm: fix compile error for wasm (#14160)
Signed-off-by: 5kbpers <tangminghua@pingcap.com>
2019-12-23 15:17:46 +08:00
5a589c9994 planner: consider disk cost in hashJoin (#13246) 2019-12-03 13:43:19 +08:00
49ad436156 util: format error code for memory package (#13540) 2019-11-22 11:12:37 +08:00
1f922559df executor: implement disk-based hash join (#12067) 2019-09-24 23:23:05 +08:00
e173c7f5c1 executor: add several sql hint related to session variables (#11809) 2019-09-17 13:39:16 +08:00
c1e6b8d777 executor: utilities for disk-based hash join (#12116) 2019-09-11 17:38:15 +08:00
1ad073bf80 executor: show operators' memory consumption in results of EXPLAIN ANALYZE (#11334) 2019-07-24 10:53:02 +08:00
c8d1ff7ca6 *: replace 'logutil.Logger(context.Background())' with 'logutil.BgLogger()' (#10866) 2019-06-21 19:13:31 +08:00
b0d6c5b35b *: print an expensive query log when a query is out of memQuota (#10799) 2019-06-18 16:18:48 +08:00
f67352d238 *: print an expensive log when a query exceeds time threshold (#10350) 2019-06-05 20:38:11 +08:00
d6396daa77 *: lazy eval explain id and tracker label (#10139) 2019-04-22 14:23:33 +08:00