Commit Graph

518 Commits

Author SHA1 Message Date
d5b89f8bcc *: reduce mem allocs of stmt summary (#54128)
ref pingcap/tidb#54047
2024-06-24 12:46:21 +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
e036274a23 executor, session: Add Detach() method to detach the record set (#54091)
close pingcap/tidb#54090
2024-06-24 08:49:21 +00:00
bec113a91d executor: remove redundant memory pre-allocations in parallel sort executor (#54073)
close pingcap/tidb#54070
2024-06-24 07:59:50 +00:00
fd2b5e97a1 statistics: always tracking predicate columns (#54152)
ref pingcap/tidb#53567
2024-06-24 06:56:56 +00:00
324ee4ccb2 ddl: support referring objects in runningJobs (#54110)
close pingcap/tidb#52795, ref pingcap/tidb#53246
2024-06-24 06:56:50 +00:00
c1811ebb57 ddl: fill correct involved schemainfo for 'flashback table' and 'flashback schema' (#54141)
ref pingcap/tidb#53246, close pingcap/tidb#54134
2024-06-21 08:49:26 +00:00
8a0a836202 executor: fix issue of index merge query scan index may sent redundancy RPC when enable paging (#54069)
* executor: fix issue of index merge query scan index may sent redundancy RPC when enable paging

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

* remove useless code

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

---------

Signed-off-by: crazycs520 <crazycs520@gmail.com>
2024-06-21 16:13:40 +08:00
tpp
8ee4897b39 planner: reduce topn count to exclude non-skewed values (#53035)
close pingcap/tidb#53111
2024-06-19 05:37:17 +00:00
f568b21553 executor: reuse memory in the deleteSingleTableByChunk (#54082)
close pingcap/tidb#54080
2024-06-18 15:10:17 +00:00
ab42bca043 *: batch frequent tracker.Consume in the write path (#53976)
ref pingcap/tidb#53973
2024-06-18 11:40:17 +00:00
9008d23c83 *: remove ExtraPidCol and replace it with ExtraPhysTblIDCol (#53974)
close pingcap/tidb#53929
2024-06-18 09:58:24 +00:00
a5a1b674bd executor: reset groupCount when Close is called in streamagg executor (#53874)
close pingcap/tidb#53867
2024-06-18 09:58:17 +00:00
21089fd667 executor: add test for pr 53855 (#54011)
close pingcap/tidb#53871
2024-06-14 09:17:44 +00:00
152db14934 executor: add hash join v2 (#53208)
ref pingcap/tidb#53127
2024-06-14 08:35:44 +00:00
b4563c0692 executor: fix TestBRIEBuilderOPtions change global config (#54020) 2024-06-14 07:04:14 +00:00
d53b34412f planner: prevent pushing Projection with virtual columns down to UnionScan (#53981)
close pingcap/tidb#53951
2024-06-13 18:43:55 +00:00
329a9800c4 ddl: fast-reorg set memory limit for local writer based on current usage (#53873)
ref pingcap/tidb#53789
2024-06-13 12:09:27 +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
fc342dba1f executor: avoid use fmt.Sprintf (#54002)
close pingcap/tidb#54001
2024-06-13 09:09:00 +00:00
7b8c91d5d6 ddl: clear MDL related tables for create view (#53944)
ref pingcap/tidb#53246
2024-06-12 11:46:30 +00:00
3fcf785461 planner: return an error when meeting unexpected operator under UnionScan (#53956)
ref pingcap/tidb#53951
2024-06-12 10:38:59 +00:00
e9da2c0887 server: handle kill signal during write result to connection (#52882)
close pingcap/tidb#44009
2024-06-12 08:09:00 +00:00
fedf3b7ba9 executor: make channel buffer small in sort executor (#53881)
close pingcap/tidb#53866
2024-06-11 08:52:30 +00:00
b9b5ec6dc4 executor: reuse memory for parallelSortSpillHelper (#53859)
close pingcap/tidb#53861
2024-06-07 05:20:57 +00:00
793530a387 executor: enable parallel sort (#53537)
close pingcap/tidb#53536
2024-06-06 04:29:56 +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
0c9b6651cd test: fix data race in TestAdminCheckGlobalIndexDuringDDL (#53817)
close pingcap/tidb#53802
2024-06-05 03:28:25 +00:00
3941867b8a planner: introduce a new fix-control 43817 to control whether to allow the optimizer to evaluate non-correlated sub-queries in advance (#53782)
ref pingcap/tidb#43817
2024-06-04 09:52:33 +00:00
f1ec74b3b8 *: fix insert on duplicate and replace into with global index (#53717)
close pingcap/tidb#53711, close pingcap/tidb#53750
2024-06-03 12:19:24 +00:00
5e6df4eeb1 expression, *: Eval param get type with context (#53656)
close pingcap/tidb#53653
2024-06-03 09:39:01 +00:00
c6e6c1545b lightning: turn off zstd decoding concurrency (#53589)
ref pingcap/tidb#53587
2024-06-03 09:38:54 +00:00
fc3132ce9b expression: JSON_SCHEMA_VALID() (#52780)
close pingcap/tidb#52779
2024-06-03 06:17:54 +00:00
20696515fd parser: Accept PASSWORD REQUIRE CURRENT DEFAULT (#53306)
close pingcap/tidb#53305
2024-06-02 14:59:53 +00:00
4670bf577a ddl: separate sessionctx.Context in backfillCtx to sub-contexts (#53671)
ref pingcap/tidb#53388
2024-05-31 23:59:52 +00:00
c79716efb7 tests: add some test cases for global index (#53630)
ref pingcap/tidb#45133
2024-05-29 11:26:50 +00:00
6efce0f061 executor: sync deletable columns to binlog when remove record (#53617)
close pingcap/tidb#53133
2024-05-29 07:01:21 +00:00
4a5197472f statistics: refactor write merge-global-stats (#53549) 2024-05-28 11:13:27 +00:00
ris
04cb62d5bf br: add more options for br sql client (#53039)
close pingcap/tidb#53040
2024-05-28 07:26:50 +00:00
7edf08e4e5 executor: fix data race in topn (#53593)
close pingcap/tidb#53538
2024-05-28 04:50:56 +00:00
d49a6541db test: switch some failpoints to InjectCall (#53588)
ref pingcap/tidb#49008
2024-05-28 04:50:49 +00:00
153eb961d7 planner: make TestMppAggShouldAlignFinalMode stable (#53566)
close pingcap/tidb#53565
2024-05-27 10:16:21 +00:00
9164182d0b config: must set line terminator when use strict-format (#53444)
close pingcap/tidb#37338
2024-05-27 08:41:50 +00:00
d24fdb702e domain,infoschema: put the @@tidb_schema_cache_size variable into effect (#53424)
ref pingcap/tidb#50959
2024-05-27 04:46:19 +00:00
10873885aa executor: global index supports admin [recover | cleanup] index (#53499)
close pingcap/tidb#53439
2024-05-24 01:43:18 +00:00
100aa05042 sysvar: tidb_enable_column_tracking only takes effect when tidb_persist_analyze_options is turned on (#53481)
close pingcap/tidb#53478
2024-05-23 12:07:17 +00:00
3004c07b93 copIterator: return context error to avoid return incorrect result on context cancel/timeout (#53489)
close pingcap/tidb#50089
2024-05-23 09:50:47 +00:00
a6b4fca14d table: simplify the locate partition args for PartitionedTable (#53432)
close pingcap/tidb#53431
2024-05-22 10:13:18 +00:00
def7c2313c *: adaptively control analyze distsql concurrency (#53261)
close pingcap/tidb#53262
2024-05-21 13:58:16 +00:00
53bf76f4eb variable: remove text as a default type in the tidb_analyze_skip_column_types (#53438)
close pingcap/tidb#52636
2024-05-21 11:04:16 +00:00