Commit Graph

237 Commits

Author SHA1 Message Date
dc6d9a0111 util, executor: fix the problem that GetDatumWithBuffer does set null (#39675)
close pingcap/tidb#39618
2022-12-06 19:24:03 +08:00
f06fb5acfb util, executor: refine the memory usage of delete multiple tables (#39489)
close pingcap/tidb#35886
2022-11-30 19:28:01 +08:00
f1fbca8372 chunk: fix nil pointer when SortedRowContainer meet null type (#39254)
close pingcap/tidb#39252
2022-11-21 23:15:57 +08:00
ea26284ea3 *: avoid special cases DATA RACE (#38918)
close pingcap/tidb#38914
2022-11-08 20:13:50 +08:00
0b3e1e9be0 *: Chunkreuse try reuse chunk in operator (#38607)
close pingcap/tidb#38606
2022-11-04 11:28:00 +08:00
72407d91d0 util: set checkpoint during Sort for SortedRowContainer (#38865) 2022-11-04 10:35:22 +08:00
17c6c48a0c executor: add CPU padding for chunk.Iterator4Slice (#38800) 2022-11-02 18:18:00 +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
7571d556aa executor: fix inl_hash join performance regression because of Iterator4Slice (#38741)
close pingcap/tidb#38695
2022-10-31 11:19:58 +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
xhe
abb1fd1e2b *: remove cockroach deps (#37703) 2022-09-08 11:44:56 +08:00
da05b4eea8 executor: add cache padding for lock of RowContainer (#37627)
close pingcap/tidb#37641
2022-09-07 17:44:56 +08:00
170dafc7e1 types: merge json and types pkg (#37578)
close pingcap/tidb#37577, close pingcap/tidb#37628
2022-09-05 19:42:55 +08:00
81a93a6977 executor, util: fix UnionScan Next() skip reading data when passed chunk capacity is 0 (#36961)
close pingcap/tidb#36903
2022-08-24 12:38:21 +08:00
d6d0ce7b10 *: gofmt code for adapting go 1.19 (#36832)
ref pingcap/tidb#36879
2022-08-11 12:50:49 +08:00
239e394239 util/chunk: fix a bug that chunk resize does not set the correct null bitmap (#36827)
close pingcap/tidb#36758
2022-08-03 20:08:06 +08:00
c060208b2f *: move config file option oom-use-tmp-storage to sysvar (#36679)
ref pingcap/tidb#33769
2022-08-02 16:58:05 +08:00
a68ac9e73d exectuor: reduce listInDisk.GetChunk memory usage(constructing of chunk in rows) (#36738)
close pingcap/tidb#35636
2022-08-02 14:46:05 +08:00
158ba1a1d9 *: enable part revive for all code (#36703) 2022-08-01 14:02:06 +08:00
212d62ee41 statistics: support tracking histogram (#36170)
ref pingcap/tidb#34052
2022-07-28 11:11:11 +08:00
bf743a6ca0 *: enable flaky test for all test (#36385)
close pingcap/tidb#36404
2022-07-22 15:35:09 +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
6da1cbec77 chunk: refactor test to fix unstable test (#36217) 2022-07-14 19:27:06 +08:00
e99d82a9b4 *: fix issue of cast string as time is incompatible with MySQL (#35455)
close pingcap/tidb#34539
2022-06-23 13:50:37 +08:00
6432975be3 *: enable race test on util/chunk and update bazel config (#35235)
ref pingcap/tidb#35234
2022-06-09 16:32:31 +08:00
5eab3623fc util: fix data race in ListInDisk (#35199)
close pingcap/tidb#35191
2022-06-08 10:26:29 +08:00
8a4d457068 executor: reuse iterator4Slice and Row/RowPtrs slice in HashJoin. (#34878)
ref pingcap/tidb#33877
2022-06-07 16:42:29 +08:00
2b4a4c6d7a *: support bazel (#33691)
close pingcap/tidb#34083
2022-06-07 15:22:30 +08:00
0e278b9866 util: optimize the memory usage of the read path for listInDisk (#34778)
ref pingcap/tidb#33877
2022-06-06 18:16:30 +08:00
810f8ae12e *: remove pingcap/check dependency (#34734)
close pingcap/tidb#28328
2022-05-17 21:38:37 +08:00
c16291392a *: replace types.NewFieldTypeBuilder() API with NewFieldTypeBuilderP() to avoid misuse (#34494)
close pingcap/tidb#34490
2022-05-09 22:00:33 +08:00
0f0a2ca774 statistics: add lru cache implement for statsCacheInner (#34323)
ref pingcap/tidb#34052
2022-05-06 16:22:56 +08:00
f88dab92f9 util: use generics to implement max/min (#34197)
close pingcap/tidb#34247
2022-05-06 10:08:57 +08:00
ad6d620f74 util: support spill offset into disk when spilling (#34212)
ref pingcap/tidb#33877
2022-05-05 17:26:55 +08:00
1bf64c60f4 *: Refactor FieldType structure (#33569)
close pingcap/tidb#32116
2022-04-26 19:28:51 +08:00
9478a6bfaf util: track the memory usage of rowPtrs in sortedRowContainer (#34128)
ref pingcap/tidb#33877
2022-04-21 13:36:03 +08:00
d63a5fd33d executor: add some memory tracker in HashJoin (#33918)
ref pingcap/tidb#33877
2022-04-19 23:28:03 +08:00
b5de819d00 util: fix memory.reArrangeFallback cpu usage (#30414)
close pingcap/tidb#30353
2022-04-15 12:48:35 +08:00
cce1ebdebb util: avoid column allocator reuse the column hold huge memory (#32554)
close pingcap/tidb#31981
2022-02-23 18:55:42 +08:00
2f0c23da24 executor: migrate test-infra to testify for stale_txn_test (#32285)
close pingcap/tidb#28618
2022-02-14 16:49:38 +08:00
7c56706622 *: support predeclared golangci-lint linter (#32066)
close pingcap/tidb#30733
2022-02-14 10:35:38 +08:00
c30e8320d8 *: correct use require (#31904)
ref pingcap/tidb#31716
2022-02-07 18:11:35 +08:00
e7da7d4f95 *: change fsp from int8 to int (#28347) 2022-01-27 13:59:12 +08:00
203ab22982 *: move the functions that only used in tests (#31929)
ref pingcap/tidb#28720
2022-01-24 22:08:11 +08:00
9ad00962f6 test: merge serial tests in cmd, planner, server, util (#31003) 2021-12-24 20:21:53 +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
70d29735e6 executor, util: reset offsets and nullBitMap for MutRow when setting new values (#30265) 2021-12-03 15:33:54 +08:00
b5ded48df9 *: replace compareDatum by compare and fix compare (#30090) 2021-11-24 17:31:51 +08:00