Commit Graph

1685 Commits

Author SHA1 Message Date
08b7ac6218 planner: fix the issue that cannot find column if using question marker in group-by-clause (#54205)
close pingcap/tidb#53872
2024-06-26 05:14:52 +00:00
686bb2f8e0 planner: remove dead codes for buildDelete (#54212) 2024-06-26 02:05:51 +00:00
9f6b380385 parser: Make STATS_EXTENDED a non-reserved keyword. (#54037)
close pingcap/tidb#39573
2024-06-25 19:38:51 +00:00
486995620a planner: a new thread-safe lock-free plan cache (#54089)
close pingcap/tidb#54057
2024-06-25 11:32:51 +00:00
c91bc2014a planner: classsify logical aggregation logic into a seperate file for later pkg move (#54187)
ref pingcap/tidb#51664, ref pingcap/tidb#52714
2024-06-25 10:32:51 +00:00
7211d3d828 ddl: refine BackendCtx.Flush to display Duplicate entry error (#54182)
close pingcap/tidb#54184
2024-06-25 03:37:21 +00:00
01cc0274bd stats: fix index_length in information_schema (#54176)
close pingcap/tidb#54173
2024-06-25 02:20:51 +00:00
d1080e57a0 planner: remove the same projection when to InjectExtraProjection (#54163)
close pingcap/tidb#54123
2024-06-24 16:40:21 +00:00
22ca2b80a9 ddl: revert 'query from min job id' (#54180)
ref pingcap/tidb#53246
2024-06-24 14:37:28 +00:00
4327c93a31 infoschema, statistics: support and use table's partition attribute filter (#54161)
ref pingcap/tidb#50959
2024-06-24 14:37:21 +00:00
770478537c store/copr: batch build coprocessor tasks (#54153)
close pingcap/tidb#53850
2024-06-24 14:10:21 +00:00
eec20e67fd ddl: skip getting actual end key for each range in ingest mode (#54143)
close pingcap/tidb#45847, close pingcap/tidb#54147
2024-06-24 13:22:21 +00:00
d5b89f8bcc *: reduce mem allocs of stmt summary (#54128)
ref pingcap/tidb#54047
2024-06-24 12:46:21 +00:00
1368bf75f1 planner: eliminate some unnecessary pointer receiver for logical aggregation (#54178)
ref pingcap/tidb#51664, ref pingcap/tidb#52714
2024-06-24 10:20:51 +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
74accb36c0 domain: add negative testing for SendTask() (#54116)
close pingcap/tidb#54115
2024-06-23 00:22:19 +00:00
74a7173f27 chore: update encoding.go (#54124) 2024-06-22 13:40:19 +00:00
bcd797e9e6 tables: optimize memory allocation in tables' hot path (#53832)
close pingcap/tidb#53837
2024-06-22 06:32:49 +00:00
cbdbd76e44 ddl: query since min job id for tidb_mdl_info (#54142)
ref pingcap/tidb#53246
2024-06-21 10:08:49 +00:00
adf2df9498 statistics: remove useless code (#54158) 2024-06-21 09:32:57 +00:00
1e667ee248 planner: make logical ds elements public for later pkg move (#54157)
ref pingcap/tidb#51664, ref pingcap/tidb#52714
2024-06-21 09:32: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
4d8e1d5e48 expression: truncate time part for current_date columns (#54045)
close pingcap/tidb#53746
2024-06-21 08:49:19 +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
f4ae757aae planner: make logical expand's elements public for later pkg move (#54148)
ref pingcap/tidb#51664, ref pingcap/tidb#52714
2024-06-21 06:53:48 +00:00
88c087b51e global sort: output clear error message (#54126)
close pingcap/tidb#54096
2024-06-21 05:16:18 +00:00
4f3aba8b15 planner: make logical join's elements all public for later pkg move (#54136)
ref pingcap/tidb#51664, ref pingcap/tidb#52714
2024-06-20 15:19:18 +00:00
6ad9cac6ec metrics: fix the issue where some grafana panels cannot be displayed (#54135) 2024-06-20 12:16:17 +00:00
805ea36cf7 planner: change the rewrite rule of row expression (#53928)
close pingcap/tidb#41598
2024-06-20 11:02:48 +00:00
5377c6fc70 parser: use slices.Equal to simple code (#54117) 2024-06-20 10:28:18 +00:00
a33a8685ed ddl: query since min job id to mitigate slowness due to un-compacted deleted kv (#54122)
ref pingcap/tidb#53246
2024-06-20 09:43:18 +00:00
3023aea3fb planner: remove unnecessary pointer receiver function (#54133)
ref pingcap/tidb#51664, ref pingcap/tidb#52714
2024-06-20 09:10:18 +00:00
998dd296f3 planner: move logical schema producer to logical op (#54119)
ref pingcap/tidb#51664, ref pingcap/tidb#52714
2024-06-20 07:13:19 +00:00
6fe4f9e470 variable: add system variable 'tidb_resource_control_strict_mode' (#54033)
ref pingcap/tidb#53440
2024-06-20 04:43:17 +00:00
1a24c03212 expression: correct the erroneous scalar function equivalence check (#54067)
close pingcap/tidb#53726
2024-06-19 12:10:17 +00:00
d1f2671557 gc: delete TiFlash placement rules in batch (#54071)
close pingcap/tidb#54068
2024-06-19 09:32:47 +00:00
c455119d81 sessionctx: mark tidb_enable_auto_analyze_priority_queue as deprecated (#54088)
ref pingcap/tidb#50132
2024-06-19 08:56:54 +00:00
d0e775dab0 planner: rename session plan cache interface (#54102)
ref pingcap/tidb#54057
2024-06-19 07:34:17 +00:00
51ccce23eb ddl: only use runningJobs to check job dependency (#54003)
ref pingcap/tidb#52795
2024-06-19 06:46:17 +00: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
e41a47cab6 unistore: use location cache to reduce the syscall (#54098)
close pingcap/tidb#54097
2024-06-19 02:41:47 +00:00
a8de5891fe lightning: improve TotalMemoryConsume for write step (#53856)
ref pingcap/tidb#53858
2024-06-19 01:55:17 +00:00
f568b21553 executor: reuse memory in the deleteSingleTableByChunk (#54082)
close pingcap/tidb#54080
2024-06-18 15:10:17 +00:00
dfa6b7cfeb txn: do not create hook closure if it is already set (#53764)
close pingcap/tidb#53763
2024-06-18 12:40: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
9906339471 planner: fix the issue that statement-level hints in sub-queries of Insert/Replace can not take effect (#54083)
close pingcap/tidb#53834
2024-06-18 11:02:47 +00:00