54 Commits

Author SHA1 Message Date
1e08348b48 executor: data race in TestIndexNestedLoopHashJoin (#65123)
close pingcap/tidb#64542
2025-12-19 02:52:38 +00:00
5ee17f4a1d *: support for partition table and common handle for index lookup push down (#64839)
ref pingcap/tidb#62575, close pingcap/tidb#64594, close pingcap/tidb#64595
2025-12-04 09:07:23 +00:00
5bead56da0 *: Add metrics for index lookup push-down (#64487)
close pingcap/tidb#64485
2025-11-18 02:03:38 +00:00
967cc9b130 executor: finish INDEX_LOOKUP_PUSHDOWN execution part (#63746)
close pingcap/tidb#63745
2025-10-09 16:17:33 +00:00
8840daf482 planner, executor: support access path keep order with IN conditions using merge sort (#62694)
close pingcap/tidb#34882, close pingcap/tidb#63449
2025-09-29 16:22:16 +00:00
6e8336654e executor: downgrade some error logs (#63494)
close pingcap/tidb#59502, close pingcap/tidb#63493
2025-09-18 11:16:02 +00:00
e5861da137 planner, executor: code preparation for supporting access path keep order with IN Conditions using merge sort (#63457)
ref pingcap/tidb#63449
2025-09-17 16:28:05 +00:00
6050bfabdd planner: move PhysicalIndexScan related logic into physical op dir (#62936)
ref pingcap/tidb#52714
2025-08-14 02:15:27 +00:00
6ad6639872 planner: move physical plan misc into physical op dir. (#62800)
ref pingcap/tidb#52714
2025-08-05 03:26:18 +00:00
1ff4004505 executor: fix data race because of using shared KV requests (#61376)
close pingcap/tidb#60175
2025-05-29 13:36:37 +00:00
f7149b78b0 executor: Remove useless error logs for indexLoopUp executor when context canceled (#61073)
close pingcap/tidb#61072
2025-05-12 03:30:09 +00:00
34afcbb9d3 executor: gopls modernize (#60787)
close pingcap/tidb#60786
2025-05-07 14:32:26 +00:00
38226ece2d executor: reduce overhead of copystack in idxlookup workers (#58705)
ref pingcap/tidb#56649
2025-01-13 05:19:16 +00:00
2610521ee3 executor: run idxlookup workers in a pool (#58033)
ref pingcap/tidb#56649
2024-12-13 01:49:03 +00:00
0f869f4328 executor: allocate handles on demand when build table tasks (#57940)
ref pingcap/tidb#56649
2024-12-10 06:28:21 +00:00
37a1f42e7d executor,distsql,util: distinguish walltime from sum of walltime in execution info (#57507)
close pingcap/tidb#56746
2024-11-28 08:27:35 +00:00
5b44864920 executor: track the memory usage for building range in IndexLookUpExecutor (#56497)
close pingcap/tidb#56440
2024-10-09 09:09:33 +00:00
68fdf55d94 *: rename some packages of context (#56108)
close pingcap/tidb#56107
2024-09-19 07:11:03 +00:00
3176b9c263 *: move XXInfo/Job, etc, out from model pkg in parser to meta (#55754)
ref pingcap/tidb#54436
2024-09-04 04:49:45 +00:00
be01e5a2f8 executor: support detaching the IndexReader and IndexLookUp (#54800)
close pingcap/tidb#54799
2024-07-23 11:42:11 +00:00
07f7774987 executor: refactor the BaseExecutor and remove session context in IndexLookUpExecutor and IndexReaderExecutor. (#54626)
close pingcap/tidb#54625
2024-07-22 05:03:04 +00:00
708cbfeab4 tables: reduce GetSessionVars from MutateContext in tables (#54715)
close pingcap/tidb#54397
2024-07-19 02:40:31 +00:00
374f7b0a5e *: support memTracker.detach for HashJoin, Apply and IndexLookUp in Close func (#54095)
close pingcap/tidb#54005
2024-06-26 11:10:22 +00:00
6695d5e15c executor: try to optimize index merge reader query may send too many cop task (#54165)
* executor: try to optimize index merge reader query may send too many cop task

Signed-off-by: crazycs520 <crazycs520@gmail.com>

* refine

Signed-off-by: crazycs520 <crazycs520@gmail.com>

---------

Signed-off-by: crazycs520 <crazycs520@gmail.com>
2024-06-24 17:26:09 +08:00
9008d23c83 *: remove ExtraPidCol and replace it with ExtraPhysTblIDCol (#53974)
close pingcap/tidb#53929
2024-06-18 09:58:24 +00:00
6cf8776242 executor: try to optimize index lookup query may send too many cop task (#53855)
close pingcap/tidb#53871
2024-06-13 11:04:52 +00:00
ad0dc3e128 executor: fix issue of index lookup query scan index may sent redundancy RPC when enable paging (#53828)
close pingcap/tidb#53827
2024-06-06 02:50:56 +00:00
5e6df4eeb1 expression, *: Eval param get type with context (#53656)
close pingcap/tidb#53653
2024-06-03 09:39:01 +00:00
68219b9317 *: fix some typos in code comments (#53371) 2024-05-20 08:01:16 +00:00
b1818cd05f *: global index support admin check table | index (#53156)
ref pingcap/tidb#52897, close pingcap/tidb#53019
2024-05-13 08:07:11 +00:00
40c81c0fd5 *: fix global index work with memIndexReader executor (#52660)
close pingcap/tidb#52493
2024-04-28 11:23:57 +00:00
5aa48d8284 planner: move base plan related output of core pkg and make it well-pkged (#52529)
ref pingcap/tidb#51664
2024-04-15 10:51:06 +00:00
6cca89c794 executor, planner: add a smaller context for ToPB method (#52369)
close pingcap/tidb#52368
2024-04-10 05:31:51 +00:00
12833e8278 executor, planner: minimize the context used by the ranger package (#52363)
close pingcap/tidb#52362
2024-04-09 10:57:21 +00:00
482ce59bf6 expression: separate BuildContext and EvalContext (#52311)
close pingcap/tidb#52310
2024-04-03 09:42:24 +00:00
b4c8b5279f distsql: support global index in memIndexLookUpReader (#52240)
close pingcap/tidb#52132
2024-04-02 07:51:17 +00:00
f7d66f4913 distsql: use a more accurate type of the context of distsql (#51618)
close pingcap/tidb#51617
2024-04-01 08:27:16 +00:00
e90df0c19d executor,distsql: refactor the base executor in tableReader (#51397)
close pingcap/tidb#51396
2024-02-29 13:48:32 +00:00
6f02e99396 experssion: table: standalone implement for EvalContext and BuildContext (#51299)
close pingcap/tidb#51298
2024-02-27 07:26:21 +00:00
5b187e5e56 planner: standalone implement for PlanContext (#51237)
close pingcap/tidb#51236
2024-02-22 15:03:28 +00:00
1befe9855d executor: record the index usage on a the whole table (#50816)
close pingcap/tidb#50814
2024-02-02 07:25:54 +00:00
d0d4eca445 executor: enhance memory tracking for IndexLookup (#49336)
close pingcap/tidb#45901
2024-01-31 07:58:54 +00:00
7087f702e1 executors: record the index usage in each executors (#50643)
close pingcap/tidb#50261
2024-01-30 03:51:22 +00:00
51e1e13494 *: update interface{} to any (#50770)
ref pingcap/tidb#50765
2024-01-29 07:21:29 +00:00
c1cae24a87 table: simplify the interface table.Index to reduce its context requirement (#50692)
close pingcap/tidb#50691
2024-01-24 10:06:28 +00:00
aeefec893d session, chunk: refactor re-used chunk allocator in executor (#49667)
close pingcap/tidb#49661
2023-12-27 06:31:57 +00:00
80c6fc1fbd executor: recover panic in executor.Close() (#49222)
close pingcap/tidb#49223
2023-12-12 13:09:19 +00:00
ccbd1b5749 expression: replace EvalWithInnerCtx with Eval for PbConverter and ExplainInfo (#48917)
close pingcap/tidb#48914
2023-11-27 10:36:00 +00:00
8243680d8a planner: avoid to use ScalarFunction.GetCtx in some planner codes (#48794)
close pingcap/tidb#48793
2023-11-24 05:47:44 +00:00
3d176fcc2c util/codec,util/errctx,*: add error context, and use it to refactor util/codec (#48613)
close pingcap/tidb#48611
2023-11-20 13:53:40 +00:00