Commit Graph

66 Commits

Author SHA1 Message Date
1acbbec8b5 executor: verify the existence of the resource group before switching (#56145)
ref pingcap/tidb#54434
2024-09-22 11:02:48 +00:00
2a86d34c72 *: fix affected rows metrics to make it compatiable with multi-queries (#55877)
close pingcap/tidb#55875
2024-09-10 02:47:39 +00:00
fef43c5639 *: Add tidbCPU/tikvCPU into system tables (#55455)
close pingcap/tidb#55542
2024-09-05 07:42:28 +00:00
c9baef45d4 pkg/parser: support SWITCH_GROUP syntax for runaway watch (#54804)
ref pingcap/tidb#54434
2024-09-04 16:59:43 +00:00
3176b9c263 *: move XXInfo/Job, etc, out from model pkg in parser to meta (#55754)
ref pingcap/tidb#54436
2024-09-04 04:49:45 +00:00
4c23efb10b *: move annotated attributes of AST node to resolve.Context (#55634)
ref pingcap/tidb#54436
2024-08-29 13:39:01 +00:00
6a340883bf server: support global scope for tidb_low_resolution_tso sys var (#55000)
close pingcap/tidb#54999
2024-08-12 14:00:02 +00:00
fdcb2e4afe planner: move logical projection into logicalop pkg. (#55135)
ref pingcap/tidb#51664, ref pingcap/tidb#52714
2024-08-01 12:50:49 +00:00
f838cc89fe txn: fix the lock behaviours when for update is used when low resolution tso is used (#54738)
close pingcap/tidb#54684
2024-07-25 03:22:34 +00:00
13e428061a context, executor: add a function to detach the TableReaderExecutor (#54456)
close pingcap/tidb#53336
2024-07-19 09:43:31 +00:00
afd6d6a33a server: add protocol support for lazy cursor fetch (#54527)
close pingcap/tidb#54526
2024-07-18 10:22:32 +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
6421f86f84 domain: refine the runaway code and fix typos (#54435)
ref pingcap/tidb#54434
2024-07-04 07:49:28 +00:00
467eacce18 executor: fix tidb crash when calling Close and Finish (#54390) 2024-07-03 17:41:42 +08:00
230bbc2ef5 *: reduce mem allocs caused by GetTextToLog (#54111)
ref pingcap/tidb#54047
2024-07-03 04:26:57 +00:00
d5b89f8bcc *: reduce mem allocs of stmt summary (#54128)
ref pingcap/tidb#54047
2024-06-24 12:46:21 +00: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
e9da2c0887 server: handle kill signal during write result to connection (#52882)
close pingcap/tidb#44009
2024-06-12 08:09:00 +00:00
xhe
9c892270a3 *: only output log when error is non-nil (#53350)
close pingcap/tidb#53349
2024-05-17 06:55:14 +00:00
xhe
41ce0a56b4 executor: add a panic guard for stmtsummary (#53216)
close pingcap/tidb#50659
2024-05-13 07:23:55 +00:00
58469bb9fb planner: simplify plan cache for fast point get (#53135)
ref pingcap/tidb#50618
2024-05-09 14:23:38 +00:00
5798dc64f6 Revert "planner: merge fast plan cache and normal plan cache" (#53084)
ref pingcap/tidb#50618
2024-05-07 12:49:08 +00:00
b421b729c8 planner: merge fast plan cache and normal plan cache (#53033)
ref pingcap/tidb#50618
2024-05-06 12:19:10 +00:00
3368ccdef1 expression: introduce StaticEvalContext to provide context when evaluating expressions (#52631)
close pingcap/tidb#52630
2024-04-23 06:52:40 +00:00
cfbabfa705 stmtctx: use a standalone RangeFallbackHandler (#52738)
close pingcap/tidb#52737
2024-04-22 13:04:39 +00:00
f1ddb5a968 stmtsummary: add new columns plan_cache_unqualifed into statement_summary (#52725)
close pingcap/tidb#50618
2024-04-22 04:42:09 +00:00
5aa48d8284 planner: move base plan related output of core pkg and make it well-pkged (#52529)
ref pingcap/tidb#51664
2024-04-15 10:51:06 +00:00
224ae15478 *: improve log about stale-read query (#52494)
close pingcap/tidb#52492
2024-04-15 07:48:06 +00:00
060ff39ab7 planner: simplify plan cache code (#52384)
ref pingcap/tidb#51407
2024-04-07 09:46:49 +00:00
62d6f4737b planner: move fields from ast.Prepared to planner.PlanCacheStmt (#52373)
ref pingcap/tidb#51407
2024-04-07 08:30:20 +00:00
2cc964d1ad executor: add lock time in total time of insert execution info (#52211)
close pingcap/tidb#52174
2024-03-30 15:52:45 +00:00
24e8333ef5 executor: adjust the order of initialize plan, kvExecCounter and TopSQL (#51816)
close pingcap/tidb#51815
2024-03-19 04:44:13 +00:00
Bin
3801fc1fd5 feat: join errors (#51659) 2024-03-13 07:59:09 +00:00
xhe
9efa659dc5 *: remove old enableredactlog (#51718)
close pingcap/tidb#51717
2024-03-13 03:38:09 +00:00
ccbab5eeb7 *: Enable plan cache for partitioned tables (#49161)
close pingcap/tidb#33031, close pingcap/tidb#45532
2024-03-12 05:38:08 +00:00
xhe
611dc83af6 *: migrate to the new parser redact function (#51590)
close pingcap/tidb#51588
2024-03-08 08:59:07 +00:00
13bff87d08 variable: unifiy MaxExecuteTime usage and fix some problem (#50915)
close pingcap/tidb#50872, close pingcap/tidb#50914
2024-03-04 10:24:34 +00:00
4c88ad1232 executor: make checksum block gc (#51293)
close pingcap/tidb#50920
2024-02-27 07:26:14 +00:00
5b187e5e56 planner: standalone implement for PlanContext (#51237)
close pingcap/tidb#51236
2024-02-22 15:03:28 +00:00
3d1708f80c telemetry: remove the codes of Telemetry (#51202)
close pingcap/tidb#49939
2024-02-22 11:48:26 +00:00
9bad2027d5 importinto: support import from stale read (#50852)
ref pingcap/tidb#49883
2024-02-01 11:15:24 +00:00
66401b5c06 executor: remove useless code for tidb_analyze_distsql_scan_concurrency (#50811)
close pingcap/tidb#50641
2024-01-30 08:39:24 +00:00
51e1e13494 *: update interface{} to any (#50770)
ref pingcap/tidb#50765
2024-01-29 07:21:29 +00:00
301d1d2048 statistics/handle/usage: modify the SessionIndexUsageCollector to implement new index usage design (#50050)
close pingcap/tidb#49835
2024-01-22 14:40:50 +00:00
4539d600e5 planner: clean BindRecord in the binding package (#50590)
ref pingcap/tidb#48875
2024-01-19 08:40:48 +00:00
050e1e20b7 *: make auto-analyze's tidb_index_serial_scan_concurrency configurable (#50412)
close pingcap/tidb#50411
2024-01-18 09:13:47 +00:00
a20cdf6f4c planner: clean BindRecord in the binding package (#50466)
ref pingcap/tidb#48875
2024-01-16 10:54:18 +00:00
8a529303ce planner: clean BindRecord in the binding package (#50460)
ref pingcap/tidb#48875
2024-01-16 07:57:16 +00:00
44e200d2a3 planner: clean BindRecord in the binding package (#50441)
ref pingcap/tidb#48875
2024-01-16 03:40:46 +00:00
7a8d82eddb *: remove duplicate prefix for last query info (#50075)
ref pingcap/tidb#49318
2024-01-04 08:15:34 +00:00