47 Commits

Author SHA1 Message Date
79d1306f62 *: parse and match slow log trigger rules for multi-dimensional triggering (#63132)
close pingcap/tidb#63131
2025-09-24 03:52:58 +00:00
cd1aa428de *: tiny cleanup LogSlowQuery (#62989)
close pingcap/tidb#62988
2025-08-16 12:30:47 +00:00
04590cf4a5 *: simplify ExecDetails by embedding CopExecDetails and removing DetailsNeedP90 (#62600)
close pingcap/tidb#62599
2025-08-09 12:45:24 +00:00
5f624c01d8 execdetails: move logic from execdetails.go to runtime_stats.go, tiflash_stats.go, and util.go by feature (#62581)
close pingcap/tidb#62580
2025-07-23 11:56:11 +00:00
095ab56023 *: the TaskTimeStats structure is extracted to record time-related statistics in CopTasksDetails, including dimensions such as average, percentage, and maximum. (#62516)
close pingcap/tidb#62515
2025-07-22 10:59:53 +00:00
b778b88220 *: refactor slow log handling by moving relevant logic to a dedicated file and removing unused code paths from MergeExecDetails (#62501) 2025-07-21 14:00:06 +00:00
6ec48101ca *: refactor LogSlowQuery by extracting two reusable functions and simplifying logic (#62425) 2025-07-16 10:51:18 +00:00
cc90d3780e resource_control: support collecting cross AZ traffic in ru consumption (#62003)
close pingcap/tidb#62001
2025-07-04 10:27:00 +00:00
62d4284bee util: gopls modernize (#60785)
close pingcap/tidb#60784
2025-05-06 01:32:31 +00:00
351445e66b *: Support building FULLTEXT index (#60720)
ref pingcap/tidb#1793
2025-04-25 03:42:37 +00:00
7232aeab67 *: update tipb to support more table scan statistics (#60348)
close pingcap/tidb#59880
2025-04-01 05:21:55 +00:00
aacd24317b execdetails: log tikv scheduler write details and grpc time in slow query (#60030)
close pingcap/tidb#60028
2025-03-28 06:45:06 +00:00
7c0c2b16f9 metrics,executor: Refact lockkey duration related stats (#60284)
ref pingcap/tidb#59356
2025-03-28 05:46:03 +00:00
206ce6a49c store: update client-go and pd client (#60164)
close pingcap/tidb#60163
2025-03-28 04:09:12 +00:00
e200977337 util,executor: Fix incorrect execution info issue of pessimistic lock error (#60056)
close pingcap/tidb#59356
2025-03-26 02:34:13 +00:00
adb8b4d715 execdetails: use slices.SortFunc to eliminate bound checker (#59091)
ref pingcap/tidb#36058
2025-01-21 10:05:31 +00:00
c34a6b69f6 executor,util: Stat inner/inter zone network traffic for MPP tasks (#58683)
close pingcap/tidb#58682
2025-01-21 02:11:44 +00:00
b6141ec589 executor: fix hash join analyze statistic when spill is triggered (#58669)
close pingcap/tidb#58571
2025-01-09 06:03:19 +00:00
a82a3b41e7 *: Optimize collecting executor runtime stats performance (#58420)
ref pingcap/tidb#56649
2024-12-27 09:00:00 +00:00
fc3c894e39 stmtsummary: tiny optimize by avoiding unnecessary calculations (#58562)
ref pingcap/tidb#56649
2024-12-27 06:55:31 +00:00
1fef96399b execdetails: remove useless lmSkipRows (#58076) 2024-12-25 10:50:48 +00:00
68d6b9932b execdetails: tiny optimization for executor stats (#58186)
ref pingcap/tidb#56649
2024-12-17 15:59:36 +00:00
7b051c8b08 execdetails: reduce mem allocs on RecordOneCopTask (#58235)
ref pingcap/tidb#56649
2024-12-17 11:51:36 +00:00
a3d60bcfc6 executor: Optimize statement summary performance by avoiding heap memory allocation (#58023)
ref pingcap/tidb#56649
2024-12-11 17:00:12 +00:00
56c07d07a7 executor: optimize executor runtime stats by avoid unnecessary clone (#54004)
ref pingcap/tidb#56649
2024-12-08 08:50:12 +00:00
8c888234ff stmtsummary: implement tidb_statements_stats, a cumulative version of statements_summary (#57155)
ref pingcap/tidb#57147
2024-12-06 06:33:38 +00:00
edba7e9ccb planner: Add left side operator info for hash join execution summary (#57814)
ref pingcap/tidb#56233, close pingcap/tidb#57819
2024-12-03 09:11:47 +00:00
37a1f42e7d executor,distsql,util: distinguish walltime from sum of walltime in execution info (#57507)
close pingcap/tidb#56746
2024-11-28 08:27:35 +00:00
9ae814bf04 *: update tipb and remove unused fields (#57424)
close pingcap/tidb#57338
2024-11-21 10:45:02 +00:00
e731f1bc5f distsql,util: Add executor open close time into its total consume time (#56236)
ref pingcap/tidb#56232, close pingcap/tidb#56233
2024-11-18 14:20:26 +00:00
aa9b6f4c63 util: add tiflash wait time in execution summary (#57058)
ref pingcap/tiflash#9489, close pingcap/tidb#57059
2024-11-13 07:56:56 +00:00
6a85c6bbbd *: enable intrange linter (#56674)
ref pingcap/tidb#55480
2024-10-28 07:48:39 +00:00
dfd6cf2596 util: Move tiflashScanContext outof basic stats (#56742)
close pingcap/tidb#56743
2024-10-21 08:40:42 +00:00
c3a85beceb execdetails: Display vector search info in EXPLAIN ANALYZE (#56478)
ref pingcap/tidb#54245
2024-10-08 15:10:40 +00:00
7bf8629159 slowlog: print correct Commit_primary_rpc_detail (#56448)
close pingcap/tidb#56445
2024-10-08 11:33:15 +00:00
Hu#
19caf52fad runaway: Add processed_keys and request_ru to check (#55147)
ref pingcap/tidb#54434
2024-09-24 07:31:41 +00:00
b0aced836a util: Resolve RuntimeStatsColl potential unlock mutex (#55118)
close pingcap/tidb#55042
2024-08-01 10:55:20 +00:00
d5b89f8bcc *: reduce mem allocs of stmt summary (#54128)
ref pingcap/tidb#54047
2024-06-24 12:46:21 +00:00
1b3700c1c1 execdetails: Fix max_remote_stream shown in execution info.tiflash_task (#52647)
close pingcap/tidb#52646
2024-04-17 02:31:36 +00:00
3648b9d5fb cop: display kv read time details in the execution information (#52146)
ref pingcap/tidb#28937
2024-04-03 10:16:48 +00:00
923b071189 *: update tikv/client-go to fix panic log (#52333)
close pingcap/tidb#52332
2024-04-03 08:18:17 +00:00
3f915c0a36 execdetails: add statistical data of table scanning of TiFlash (#51726)
ref pingcap/tidb#51727
2024-03-18 05:33:42 +00:00
72182b2d36 stmtctx, execdetails: migrate execdetails inside the stmtctx and related methods to execdetails (#51517)
close pingcap/tidb#51516
2024-03-08 05:38:06 +00:00
7087f702e1 executors: record the index usage in each executors (#50643)
close pingcap/tidb#50261
2024-01-30 03:51:22 +00:00
7c5f9d4fab *: support display tiflash ru in explain analyze (#50406)
close pingcap/tidb#50637
2024-01-24 09:16:51 +00:00
a7ef915052 *: upgrade rules_go (#49693) 2023-12-27 02:15:28 +00:00
318e82bbb7 *: move most of the packages to 'pkg' (#47123)
ref pingcap/tidb#41241
2023-10-13 14:36:26 +00:00