Commit Graph

121 Commits

Author SHA1 Message Date
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
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
7571d556aa executor: fix inl_hash join performance regression because of Iterator4Slice (#38741)
close pingcap/tidb#38695
2022-10-31 11:19:58 +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
55aea2787d *: use pdqsort to improve sort performance (#34404)
close pingcap/tidb#34250
2022-07-06 13:41:02 +08:00
218247e80e *: improve stack message in the panic log (#34564)
close pingcap/tidb#34356
2022-05-11 16:34:34 +08:00
b1379a61b5 executor: release memory usage of task in indexJoin/indexHashJoin (#34418)
close pingcap/tidb#34417
2022-05-09 15:16:33 +08:00
1bf64c60f4 *: Refactor FieldType structure (#33569)
close pingcap/tidb#32116
2022-04-26 19:28:51 +08:00
f12ad1e6ca executor: fix CTE may be blocked when query report error (#33085)
close pingcap/tidb#31302
2022-03-17 11:03:52 +08:00
07b0c7c657 executor: get the right result for stmt select ... for update union select … (#31956)
close pingcap/tidb#31530
2022-01-27 17:45:13 +08:00
82a75542e8 executor: fix index join bug caused by innerWorker panic (#31563)
close pingcap/tidb#31494
2022-01-12 17:17:42 +08:00
daa17c448d executor: Fix data race when getting snapshot ts in IndexLookupJoin and UnionExec (#30487)
close pingcap/tidb#30468
2022-01-05 19:20:37 +08:00
6c0fcea070 executor: fix data race on IndexHashJoin.cancelFunc (#30701) 2021-12-14 21:46:35 +08:00
9773f83aec *: replace compareDatum by compare, PR 10 (#30456) 2021-12-08 17:35:57 +08:00
81ab3f6758 executor: remove useless log (#30248) 2021-11-30 10:45:52 +08:00
443f15ed4e executor: send a task with error to the resultCh when panic happen (#30214) 2021-11-29 20:15:52 +08:00
481455728a *: track the memory usage of IndexJoin more accurate (#29068) 2021-11-24 13:49:50 +08:00
20b9a4d8ca executor: index out of range for lookUpContents (#27138) (#29456) 2021-11-17 16:41:46 +08:00
fa8cbd5888 executor: fix wrong result for join with enum type (#29375) 2021-11-05 16:29:03 +08:00
da6252e9a5 planner: fix the issue that some IndexJoin cannot use plan-cache (#29238) 2021-11-01 12:00:28 +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
73cadf060d ddl: improve MySQL compatibility on time-to-year conversion (#26884) 2021-08-13 22:49:58 +08:00
3cda7d0a72 *: insert of invalid timestamp succeeded (#26584) 2021-08-05 18:03:12 +08:00
83d318af46 executor: fix query empty table with IN clause reports 'invalid year' (#25901) 2021-07-05 18:59:28 +08:00
be63681161 expression: processing empty string for enum index correctly (#25101) 2021-06-04 17:28:28 +08:00
032d34c750 executor: fix index join panic on prefix index on some cases (#24568) 2021-05-21 16:06:21 +08:00
09e95b9028 planner: fix wrong column offsets when processing dynamic pruning for IndexJoin (#24659) 2021-05-17 11:51:39 +08:00
3165fe8091 executor: bypass encoding invalid datetime for index join (#24051) 2021-04-15 20:23:53 +08:00
5dab3f95bf executor: fix 'index out of range' issue in index lookup join (#23755) 2021-04-01 04:31:24 +08:00
135fad0714 executor: fix index join on prefix column index (#23678) 2021-03-30 18:31:24 +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
41786cb976 *: seperate hash keys from join keys in IndexJoin (#20761) 2020-11-16 16:24:51 +08:00
6444a05509 executor: avoid goroutine leak in index Lookup join (#19251) 2020-11-03 13:24:40 +08:00
a891b4ca8f executor: remove a dirty hack code which is useless now (#20388) 2020-10-16 19:12:13 +08:00
132d9817d7 executor: support partition pruning for IndexJoin inner table (#19990) 2020-09-29 11:08:53 +08:00
640cb42f54 executor: do not reorder handles when building requests for IndexMergeJoin (#20138) 2020-09-22 15:11:59 +08:00
bada2801ac *: fix cop task runtime information is wrong in the concurrent executor (#19849)
Signed-off-by: crazycs520 <crazycs520@gmail.com>
2020-09-11 14:14:37 +08:00
221223b46b executor: add more runtime information for join executor (#19721)
Signed-off-by: crazycs520 <crazycs520@gmail.com>
2020-09-07 14:53:20 +08:00
9c344ce66e types: fix bug of converting enum and set (#19699) 2020-09-03 23:43:49 +08:00
e24d1455af types, executor: refine convertToMysqlEnum when src is of type Enum (#19640)
* types, executor: refine convertToMysqlEnum when src is of type Enum

* remove useless code

* refine

* add a TODO for collation

* add test for collate

* remove useless code

* address comment

Co-authored-by: ti-srebot <66930949+ti-srebot@users.noreply.github.com>
2020-09-01 19:35:12 +08:00
1417991cef executor: reset INLJ.task when Close (#19513) 2020-08-27 14:05:36 +08:00
e356136b72 *: annotate execution info in runtime/trace (#19407)
Co-authored-by: ti-srebot <66930949+ti-srebot@users.noreply.github.com>
2020-08-27 11:23:36 +08:00
f5fa3e7aa7 executor: fix index join error when join key is ENUM or SET (#19235)
Co-authored-by: ti-srebot <66930949+ti-srebot@users.noreply.github.com>
2020-08-24 20:50:51 +08:00
a2e2ce6339 *: use int instead of fmt.Stringer as executor id (#19207) 2020-08-19 13:39:31 +08:00
f0e5876353 util/execdetails: refactor execdetails information of runtime collect (#18530) 2020-07-15 20:05:29 +08:00
c98514e751 executor: unify executor concurrency (#16999) 2020-06-22 17:39:32 +08:00
0d95b09e8a executor: Remove unnecessary information in explain analyze output (#16248) 2020-05-21 19:26:00 +08:00
1b7cc5daa3 executor: rename startTS to snapshotTS in executor builder (#15396) 2020-03-16 14:10:24 +08:00