Commit Graph

570 Commits

Author SHA1 Message Date
b5bbbf471c executor: refactor the BaseExecutor and remove session context in ProjectionExec (#54614)
close pingcap/tidb#54613
2024-07-17 04:10:29 +00:00
7a09434f29 executor: fix update ignore still report dup-key error in statement retry (#54495)
close pingcap/tidb#54489
2024-07-16 13:33:00 +00:00
de3aba2d0f executor: Optimize slow log parsing's splitByColon function (#54630)
close pingcap/tidb#54538
2024-07-16 07:44:59 +00:00
06e0e17d98 *: fix ctrl+c can not kill tidb during statistics init (#54594)
close pingcap/tidb#54589
2024-07-15 09:26:59 +00:00
ac786cb1a3 server: refine the connection counter logic (#54546)
close pingcap/tidb#54428, close pingcap/tidb#54545
2024-07-15 05:11:58 +00:00
2934442a76 *: optimize the speed of full load (#54185)
ref pingcap/tidb#50959
2024-07-15 04:20:58 +00:00
1ce4236d95 executor: support right outer join for hash join v2 (#54405)
ref pingcap/tidb#53127
2024-07-13 06:26:57 +00:00
8b78a4faa3 ddl: improve FLASHBACK DATABASE for many table case (#54439)
close pingcap/tidb#54415
2024-07-13 05:52:27 +00:00
e5a8a23e83 *: enable the predicate columns feature by default (#54440)
ref pingcap/tidb#53567
2024-07-12 09:23:28 +00:00
3a61d79fee planner: add more test cases for Plan.Clone (#54588)
ref pingcap/tidb#54057
2024-07-12 06:40:35 +00:00
4fe31ed95e table: make slices in ColSizeDeltaBuffer private (#54539)
close pingcap/tidb#54392
2024-07-12 03:36:06 +00:00
a4908820a3 executor: fix incorrect chunk full judgement in parallel sort spill (#54558)
close pingcap/tidb#54557
2024-07-11 08:03:05 +00:00
3fc5939239 executor,infoschema: Add pad_attribute to collation info (#54282)
close pingcap/tidb#54250
2024-07-10 10:07:34 +00:00
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