Commit Graph

113 Commits

Author SHA1 Message Date
556c0d46d1 statistics: do not need to introduce another test flag (#50813)
ref pingcap/tidb#40791
2024-01-30 07:06:23 +00:00
7087f702e1 executors: record the index usage in each executors (#50643)
close pingcap/tidb#50261
2024-01-30 03:51:22 +00:00
25f44f577d statistics: extract functions and add comments (#50773)
ref pingcap/tidb#40791
2024-01-30 02:45:23 +00:00
f33418d195 statistics: better fail reason for killed analyze job (#50780)
close pingcap/tidb#50481
2024-01-29 10:21:22 +00:00
51e1e13494 *: update interface{} to any (#50770)
ref pingcap/tidb#50765
2024-01-29 07:21:29 +00:00
1a0b7ffa2e *: Bounds Check Elimination for cm sketch (#50764)
close pingcap/tidb#50766
2024-01-28 15:03:21 +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
7b48fecc64 planner: increase the upper limit for analyze (#50600)
close pingcap/tidb#50597
2024-01-19 12:37:48 +00:00
34f48181b5 statistics: make the analysis job executable (#50499)
ref pingcap/tidb#50132
2024-01-19 09:07:48 +00:00
897c45b0e0 statistics/handle/usage: add a collector utility based on channel to collect stats from sessions (#50437)
close pingcap/tidb#50416
2024-01-17 09:49:46 +00:00
1ad36eb0ef statistics: fix missing nil check for mv index (#50313)
close pingcap/tidb#50298
2024-01-11 11:28:54 +00:00
3da5e78ff3 feat: add interval util functions for priority queue (#50035) 2024-01-10 10:54:24 +00:00
f0a4104fb0 statistics: move ExecAutoAnalyze into the exec package (#50188)
ref pingcap/tidb#50132
2024-01-08 13:57:24 +00:00
9b0fd9ea29 *: renaming variables/structs to improve readability / decrease confusion (#49989)
close pingcap/tidb#49988
2024-01-06 02:58:51 +00:00
b23b0435b1 statistics: add basic analysis job queue (#50126)
ref pingcap/tidb#50132
2024-01-05 14:30:22 +00:00
7e83932f13 statistics: avoid allocating the memory when to auto analyze with pseudo table (#50099)
close pingcap/tidb#50100
2024-01-05 08:17:04 +00:00
bf166d9c5d planner, statistics: support estimation for mv index access path (#49852)
close pingcap/tidb#46539
2024-01-05 06:51:34 +00:00
05c571b32d statistic: support fine-grained dump/load statistics (#49973)
ref pingcap/tidb#49627
2024-01-03 11:56:01 +00:00
ee0045960b statistics: BCE for the async global stats (#49997)
close pingcap/tidb#50030
2024-01-03 10:29:10 +00:00
36cafb2307 statistics: remove useless code (#49206) 2023-12-28 16:30:28 +00:00
e04d7a8aec statistics: BCE for BinarySearchRemoveVal (#49871)
close pingcap/tidb#49876
2023-12-28 07:22:58 +00:00
3b41717afc statistics: do not use the infoSchema from domain directly (#49822) 2023-12-28 04:11:06 +00:00
063228660d statistics: do not get partition stats again and again (#49828) 2023-12-27 09:33:35 +00:00
1fb5a9ae14 planner: a better way to round scale factor when collecting TopN stats (#49808)
close pingcap/tidb#49801
2023-12-27 03:10:57 +00:00
a7ef915052 *: upgrade rules_go (#49693) 2023-12-27 02:15:28 +00:00
5f6ef18b7d statistics: BCE for the histogram (#49749)
close pingcap/tidb#49750
2023-12-26 08:30:35 +00:00
2f782b7847 statistics: add better comments to UpdateStatsMetaVersionForGC (#49746) 2023-12-25 06:59:03 +00:00
87f1a4a0cb statistics: add comments to reuse the memory (#49748) 2023-12-25 05:39:26 +00:00
015efa7e9f statistics: fix bad sql with many interrupted analyze jobs (#49722)
close pingcap/tidb#49724
2023-12-22 11:46:55 +00:00
98236ca0f7 statistics: drop old stats meta after truncate a table (#49664)
close pingcap/tidb#49663
2023-12-22 07:05:02 +00:00
6a5a5e714d statistics: add some key info in sync load timeout log (#49630)
close pingcap/tidb#49631
2023-12-20 17:06:22 +00:00
8219934687 *: reuse chunk in the histogram (#48583)
close pingcap/tidb#48584
2023-12-20 12:18:22 +00:00
8bebe44b26 statistics: delete old partition's stats meta after removing partitioning (#49553)
close pingcap/tidb#49547
2023-12-19 13:12:23 +00:00
17bdcea347 statistics: add more test cases for handling DDL event (#49582)
close pingcap/tidb#48126
2023-12-19 11:23:00 +00:00
3a50bf66db statistics: skip auto-analyze when it is executed outside the available time period (#49541)
close pingcap/tidb#49552
2023-12-19 05:25:52 +00:00
8a9544fef0 statistics: delete old partitions info after reorganize partitions (#49522)
close pingcap/tidb#48226, close pingcap/tidb#48231, close pingcap/tidb#48233
2023-12-19 04:43:53 +00:00
23953a7cbe statistics: only query locks once (#49473)
close pingcap/tidb#49472
2023-12-18 09:22:54 +00:00
97b11e04c1 statistics: add a test to cover index auto-analyze behavior (#49452) 2023-12-14 08:58:51 +00:00
9633ca1fb4 statistics: add a drop multiple partitions case (#49407)
ref pingcap/tidb#48126
2023-12-13 10:21:19 +00:00
619d5de77b statistics: update the global stats correctly after truncate a partition (#49362)
close pingcap/tidb#39681
2023-12-13 08:42:19 +00:00
24606a4084 statsitics: clear the fmsketch's map correctly (#49379)
close pingcap/tidb#49381
2023-12-12 11:58:49 +00:00
2ca712149a statistics: fix LoadStatsFromJSONNoUpdate func for CPUNum = 1 (#49375)
close pingcap/tidb#49374
2023-12-12 10:27:26 +00:00
ce9e9ef4b8 statistics: do not get stats meta from cache when handling drop partition DDL event (#49331)
ref pingcap/tidb#48126
2023-12-12 09:22:49 +00:00
9bf043bae0 statistics: fix can not record meta history issue (#49335)
close pingcap/tidb#49334
2023-12-11 09:42:18 +00:00
0e9ed6749c statistics: fix illegal bucket order when to merge global stats (#49312)
close pingcap/tidb#49023
2023-12-11 05:58:47 +00:00
0133ced136 statistics: remove useless code (#49284) 2023-12-08 11:09:16 +00:00
cc6bf2bd60 statistics: handle exchange partition event (#49043)
close pingcap/tidb#47354
2023-12-08 08:42:47 +00:00
ac20c561d0 statistics: clean corrupted analyze jobs terminated by server down (#49115)
close pingcap/tidb#35292
2023-12-08 07:13:22 +00:00
373608fe9d *: fix log for statistics (#49215)
close pingcap/tidb#49216
2023-12-06 08:14:50 +00:00
ca9f4d3fe5 statistics: fix old bucket4Merging to merge new data (#49169)
close pingcap/tidb#49168
2023-12-05 07:47:57 +00:00