54 Commits

Author SHA1 Message Date
9f3ae48f30 statistics: ignore system tables in stats cache (#64097)
close pingcap/tidb#57176, close pingcap/tidb#64080
2025-11-21 13:31:14 +00:00
779e298772 importinto/lightning: change library for parquet import (#63979)
ref pingcap/tidb#62906
2025-11-06 04:35:26 +00:00
e23dccfc4c executor, planner: change some log's level from error to warning (#63577)
close pingcap/tidb#63576
2025-09-26 18:35:49 +00:00
d1311c1931 stats: optimize stats table copy to save memory (#63004)
close pingcap/tidb#63076
2025-08-28 19:45:22 +00:00
a657e4d06f stats: replace Copy with ShallowCopy for table stats update logic (#62430)
ref pingcap/tidb#57868
2025-08-18 17:38:32 +00:00
d82d2baa0f bazel: update settings and close some race on tests (#63009) 2025-08-15 09:07:31 +00:00
a7c824dfe0 executor: update stats table row cache in batch (#62042)
close pingcap/tidb#62020
2025-07-11 02:32:21 +00:00
02757471f1 statistics, lightning: remove useless code (#62004) 2025-06-26 03:07:36 +00:00
96161fce85 *: Unify the promethus metrics creation process (#61527)
ref pingcap/tidb#60864, close pingcap/tidb#61526
2025-06-06 10:24:49 +00:00
32309b9270 executor: replace logutil with statslogutil for improved logging in the analyze process (#61245)
close pingcap/tidb#59939
2025-05-22 17:13:07 +00:00
ba770fc43d *: add exptostd linter (#61014)
close pingcap/tidb#61013
2025-05-08 12:51:50 +00:00
57a8f744a2 statistics: gopls modernize (#60778)
close pingcap/tidb#60777
2025-04-24 14:24:02 +00:00
1279a9ffec statistics: speed up the backgroud stats update worker (#58490)
ref pingcap/tidb#57868
2025-04-07 11:50:10 +00:00
0e150fc770 statistics: improve handling for slow stats updates and logging (#59887)
close pingcap/tidb#54552
2025-03-17 11:21:58 +00:00
2214bd07fc statistics: Remove the ineffective dirty IDs from the row count cache (#56287)
close pingcap/tidb#55803
2025-03-02 08:37:51 +00:00
097f78db51 statstics: remove useless code (#59364) 2025-02-10 10:27:06 +00:00
cf4d252af8 *: split definition out of variable pkg and refactor some reorg methods (#59146)
ref pingcap/tidb#57229, ref pingcap/tidb#57497
2025-01-23 09:24:44 +00:00
837b1f5d50 statsistics: add a intest when put stats table into statscache (#59119) 2025-01-22 10:13:26 +00:00
32d11a87c5 statistics: fix the behavior of DROP STATS after #58596 (#59031)
ref pingcap/tidb#58181
2025-01-21 04:11:42 +00:00
d0cccca2c7 statistics: collect duration of failed stats cache sync (#58795)
close pingcap/tidb#58797
2025-01-13 11:16:34 +00:00
9d0fb303ed statistics: stats cache set default quota as 20% (#58013)
close pingcap/tidb#58014
2025-01-09 05:05:07 +00:00
35f329d3ad statistics: remove unused HavePhysicalID field from HistColl struct (#58681)
ref pingcap/tidb#55043
2025-01-03 13:31:28 +00:00
8a80a41b8d statistics: limit the batch size when updating the stats cache (#57954)
close pingcap/tidb#57953
2024-12-17 07:43:45 +00:00
d3add7c6a1 statstics: trigger evict by the timer (#58027)
close pingcap/tidb#58052
2024-12-11 04:44:09 +00:00
f585f5d1d4 statistics: avoid stats meta full load after table analysis (#57756)
close pingcap/tidb#57631
2024-12-03 05:55:20 +00:00
d8c9190a6e statstics: fix wrong stats health metrics (#57555)
close pingcap/tidb#57176
2024-11-20 09:52:02 +00:00
eea72ec24e infoschema: don't load table info to get auto_increment value (#57296)
close pingcap/tidb#57295
2024-11-13 04:38:47 +00:00
c240fdf085 *: avoid flaky test with high load scenario (#57016) 2024-10-31 10:23:27 +00:00
c49fb9f8d8 statistics,metrics: allow stats health to have finer granularity (#56475)
close pingcap/tidb#56498
2024-10-09 10:36:31 +00:00
1455d45729 statistics: process DML changes in the new PQ (#56383)
ref pingcap/tidb#55906
2024-10-08 08:03:42 +00:00
df1c21e6f1 statstics: increase the synchronization offset size when to sync stats (#55943)
ref pingcap/tidb#54552
2024-09-09 10:41:17 +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
7e73ddc91b statistics: add metrics for unneeded analyze table (#54822)
close pingcap/tidb#54823
2024-07-26 01:36:06 +00:00
1bf27af89f statistics: init LastAnalyzeVersion with snapshot timestamp (#54465)
ref pingcap/tidb#53567
2024-07-16 08:21:00 +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
3e1ee9ec62 statsistics: unexport the Columns and Indices of HistColl (#53768)
close pingcap/tidb#53666
2024-06-27 12:53:54 +00:00
01cc0274bd stats: fix index_length in information_schema (#54176)
close pingcap/tidb#54173
2024-06-25 02:20:51 +00:00
2ee6d22383 statistics: updating stats cache can trigger evict (#53979)
close pingcap/tidb#53742
2024-06-13 04:43:29 +00:00
69d7770335 statistics: remove useless GetFullTableName (#52552)
close pingcap/tidb#52553
2024-04-12 09:12:24 +00:00
035f5a3cc0 statistics: batch write into stats cache when to init stats (#52347)
close pingcap/tidb#52339
2024-04-07 13:22:50 +00:00
b9d83d3efb ddl: determine whether to use merge sort by each index separately (#52000)
close pingcap/tidb#52004
2024-03-22 06:59:13 +00:00
fbc3c7e58a statistics: fix panic when to enable force-init-stats (#51357)
close pingcap/tidb#51358
2024-02-27 10:47:08 +00:00
0df9170791 planner/infoschema: support push down lower to some memtables (#50874)
ref pingcap/tidb#50305
2024-02-27 07:26:01 +00:00
28ce5fb234 stats, metrics: add and fix stats related grafana panel (#50834) 2024-02-07 14:16:15 +00:00
556c0d46d1 statistics: do not need to introduce another test flag (#50813)
ref pingcap/tidb#40791
2024-01-30 07:06:23 +00:00
25f44f577d statistics: extract functions and add comments (#50773)
ref pingcap/tidb#40791
2024-01-30 02:45:23 +00:00
373608fe9d *: fix log for statistics (#49215)
close pingcap/tidb#49216
2023-12-06 08:14:50 +00:00
297872a7b2 statistics: move interfaces out of the util package (#48612) 2023-11-22 09:41:51 +00:00
44f943063d handle: use logutil to unify the log category (#48520) 2023-11-10 11:00:43 +00:00
895b4e0f12 *: replace mathutil.Max/Min with built-in max/min (#47700)
ref pingcap/tidb#45933
2023-10-17 07:22:59 +00:00