Commit Graph

557 Commits

Author SHA1 Message Date
f490a98438 *: add context.Context parameter to infoschema TableByName (#54479)
ref pingcap/tidb#50959
2024-07-09 16:04:33 +00:00
593c415707 planner: Remove CloneForPlanCache method (#54528)
ref pingcap/tidb#54057
2024-07-09 15:12:03 +00:00
cbf34c51e9 executor/simple: prohibit setting a resource group to a role (#54525)
close pingcap/tidb#54417, ref pingcap/tidb#54434
2024-07-09 13:07:34 +00:00
d5cba7ee7e executor: fix unstable unit test TestMergeJoinInDisk (#54524)
close pingcap/tidb#54006
2024-07-09 11:45:03 +00:00
887637bc3b executor: fix cte mem tracker failpoint condition again (#54523)
close pingcap/tidb#54379
2024-07-09 10:49:47 +00:00
8f0db6fe2b table: move add TTL insert rows metrics code out of table package (#54521)
ref pingcap/tidb#54397
2024-07-09 10:49:40 +00:00
bf50430eee session, executor, domain: use the SQL start time to calculate the runaway deadline (#54496)
ref pingcap/tidb#54434
2024-07-08 10:12:02 +00:00
0f81cea72c config: Change tidb_opt_projection_push_down default value to true (#53831)
ref pingcap/tidb#51876
2024-07-08 08:36:03 +00:00
cb237b6c8b *: optimize error generation, debug log and AllocHandle in the hot write path (#54308)
ref pingcap/tidb#54444
2024-07-05 07:46:28 +00:00
9f7441a979 mod: update pd client (#54424)
ref tikv/pd#8349, ref pingcap/tidb#47421
2024-07-04 16:05:57 +00:00
3a384e6066 planner: refactor a few code of plan cache (#54442)
ref pingcap/tidb#54057
2024-07-04 14:22:28 +00:00
998014ef34 executor: remove the session context inside kvRangeBuilder (#54448)
close pingcap/tidb#54446
2024-07-04 12:41:58 +00:00
6421f86f84 domain: refine the runaway code and fix typos (#54435)
ref pingcap/tidb#54434
2024-07-04 07:49:28 +00:00
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