Commit Graph

94 Commits

Author SHA1 Message Date
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
af07ff6820 *: fix return 1 topn when to set 0 topn in analyzeOption (#49068)
close pingcap/tidb#49080
2023-12-01 10:08:50 +00:00
df41e204ca statistics: fix panic in the RecordHistoricalStatsToStorage (#49077)
close pingcap/tidb#49076
2023-12-01 04:01:18 +00:00
8ffde85678 statistics: fix invaild asnyc_merge_global_stats (#49042)
close pingcap/tidb#49041
2023-11-30 10:16:33 +00:00
6dcb074253 statistics: fix wrong file names (#49028) 2023-11-30 09:32:57 +00:00
d60c8e4e07 statistics: move the previous auto-analyze selection into a func (#49027) 2023-11-30 05:49:20 +00:00
94a7844732 *: add tidb_enable_global_index session variables (#48834)
close pingcap/tidb#48825
2023-11-30 02:58:18 +00:00
333e8c3de0 statistics: log the db name (#49011) 2023-11-30 00:41:47 +00:00
86df166bd3 importinto: make cancel wait task done and some fixes (#48928)
close pingcap/tidb#48736
2023-11-29 09:59:48 +00:00
f17ba4a4a1 statistics: add more test for tidb_merge_partition_stats_concurrency (#48965)
close pingcap/tidb#48713
2023-11-29 09:29:56 +00:00
c426cd947f statistics: Update stats meta count and modify count for dropped table partitions (#48929)
close pingcap/tidb#48182
2023-11-29 03:04:17 +00:00
6f2d6815f0 statistics: update outdated comments (#48950) 2023-11-29 02:23:47 +00:00
ba608a9895 statistics: add benchmark for BuildHistAndTopN with low NDV (#48961)
ref pingcap/tidb#47275
2023-11-28 09:11:46 +00:00
ebca7ba716 statistics: do not directly update global stats when dropping a partition (#48846)
ref pingcap/tidb#48182
2023-11-24 16:19:12 +00:00
4279cd6f23 *: avoid copy in the SortSampleItems (#48683)
ref pingcap/tidb#47275
2023-11-24 13:56:43 +00:00
26db590962 *: fix wrong result when to concurrency merge global stats (#48852)
close pingcap/tidb#48713
2023-11-24 03:53:42 +00:00
707f860527 util/rowcodec,tablecodec: remove stmtctx dependency from rowcodec and tablecodec (#48816)
close pingcap/tidb#48751
2023-11-23 10:19:13 +00:00
3543275dcf statistics: fix the memory tracker in the benchmark (#48831)
close pingcap/tidb#48699
2023-11-23 09:32:42 +00:00
5b8d3deef6 statistics: add daily bench and improve bench (#48824)
close pingcap/tidb#48699
2023-11-23 07:26:49 +00:00
297872a7b2 statistics: move interfaces out of the util package (#48612) 2023-11-22 09:41:51 +00:00