Commit Graph

544 Commits

Author SHA1 Message Date
eaa603231f *: improve ErrKeyExists generation and MemoizeStr (#54412)
ref pingcap/tidb#53004
2024-07-04 03:46:28 +00:00
3d76a6f93b variable: deprecated tidb_auto_analyze_partition_batch_size (#53760)
close pingcap/tidb#53853
2024-07-03 17:28:28 +00:00
3860ba5c2e *: implement auth plugin support in the extension framework (#53494)
close pingcap/tidb#53181
2024-07-03 15:22:29 +00:00
71924133cc executor: Do not save long-lived unsafe.Pointer in hash join v2 (#54085)
ref pingcap/tidb#53127
2024-07-03 14:46:27 +00:00
ef53d61c10 planner: refactor a few code of plan cache (#54404)
ref pingcap/tidb#54057
2024-07-03 11:31:27 +00:00
aeea03d21c planner: include both indexes and columns in job info (#54336)
ref pingcap/tidb#53567
2024-07-03 10:59:57 +00:00
467eacce18 executor: fix tidb crash when calling Close and Finish (#54390) 2024-07-03 17:41:42 +08:00
5909899601 expression,*: remove the session context inside ParamMarker (#53534)
close pingcap/tidb#53533
2024-07-03 07:44:58 +00:00
2b6595d54d executor: fix cte mem tracker failpoint condition (#54400)
close pingcap/tidb#54379
2024-07-03 06:35:58 +00:00
230bbc2ef5 *: reduce mem allocs caused by GetTextToLog (#54111)
ref pingcap/tidb#54047
2024-07-03 04:26:57 +00:00
91a165b841 executor: optimize ResetContextOfStmt (#54063)
ref pingcap/tidb#54047
2024-07-03 03:49:27 +00:00
7fea27eb46 executor: seperate cte_test.go to different package (#54380)
close pingcap/tidb#54379
2024-07-02 12:04:26 +00:00
9960ae746a executor: do not track membuffer's memory in executor (#53985)
close pingcap/tidb#53984
2024-07-02 10:11:56 +00:00
91bf3323d6 executor: un-skip TestAnalyzeMVIndex (#54372) 2024-07-02 01:59:56 +00:00
482ccd6b6d planner: refactor a few code of plan cache (#54362)
ref pingcap/tidb#54057
2024-07-01 15:29:56 +00:00
600682265b executor: fix query panic on INFORMATION_SCHEMA.CLUSTER_SLOW_QUERY with some slow query files (#54325)
close pingcap/tidb#54324
2024-07-01 13:19:28 +00:00
585c631742 session, infosync: add a cursor tracker to the session to keep tracking all needed information of the cursor. (#54114)
close pingcap/tidb#54113
2024-07-01 10:22:35 +00:00
xhe
3c46a1e072 *: panic guard for warnings (#54043)
close pingcap/tidb#48756
2024-07-01 10:22:29 +00:00
b20c3a39db executor: fix panic in TopN when system variable tidb_enable_tmp_storage_on_oom is disabled (#54311)
close pingcap/tidb#54206
2024-07-01 09:03:00 +00:00
0d0fb4d19d planner: respect tidb_analyze_column_options when build analyze plan (#54240)
ref pingcap/tidb#53567
2024-06-28 10:57:01 +00:00
479f4be092 executor: setup mem tracker for CTE correctly (#54208)
close pingcap/tidb#54181
2024-06-28 04:11:53 +00:00
3e1ee9ec62 statsistics: unexport the Columns and Indices of HistColl (#53768)
close pingcap/tidb#53666
2024-06-27 12:53:54 +00:00
184b010f80 rowcodec: E2E checksum introduce bytes-level checksum mechanism (#53931)
close pingcap/tidb#54054
2024-06-27 07:43:25 +00:00
1469fcfd59 sessionctx: add tidb_analyze_column_options global variable (#54200)
ref pingcap/tidb#53567
2024-06-26 11:10:29 +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
cf9f91f00c executor: fix show create table output with check constraint (#54215)
close pingcap/tidb#54214
2024-06-26 07:11:52 +00:00
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