Commit Graph

45 Commits

Author SHA1 Message Date
702c4f24dc statistics: handle deleted tables correctly in the PQ (#57649)
close pingcap/tidb#57648
2024-11-25 08:35:44 +00:00
cfa52d0e8f statistics: add a priority queue API (#57385)
close pingcap/tidb#55063
2024-11-19 06:58:14 +00:00
2ad93c2060 statistics: do not analyze non exist table anymore (#57244)
close pingcap/tidb#57227
2024-11-12 23:40:35 +00:00
1b490966af statistics: make sure PQ can analyze all indexes with stats version 1 (#57258)
close pingcap/tidb#57257
2024-11-11 08:03:48 +00:00
05cec6d403 ddl,statistics: handle the drop database event in the PQ (#57222)
ref pingcap/tidb#57227
2024-11-08 10:00:52 +00:00
225fb949ac statistics: make sure the PQ can be re-initialized (#57194)
ref pingcap/tidb#55906
2024-11-07 10:43:06 +00:00
87669fb1ef statistics: reduce the log output (#57184)
ref pingcap/tidb#55906
2024-11-07 04:08:27 +00:00
e3f9303528 statistics: Handle the adding index event properly while the job is running (#57113)
ref pingcap/tidb#55906
2024-11-06 08:00:15 +00:00
b71f0c0796 statistics: handle the prune mode correctly in the refresher (#57096)
ref pingcap/tidb#55906
2024-11-05 11:16:06 +00:00
a22fc590cc statistics: add the refresher as a stats owner listener (#56998)
ref pingcap/tidb#55906
2024-10-31 08:48:34 +00:00
274226eb96 statistics: simplify the heap implementation (#56756)
ref pingcap/tidb#55906
2024-10-30 04:32:49 +00:00
48c57ce499 statistics: rename queue files for consistency (#56732)
ref pingcap/tidb#55906
2024-10-23 07:06:30 +00:00
aed9e8e656 statistics: handle lock and unlock operations correctly (#56454)
ref pingcap/tidb#55906
2024-10-18 10:49:29 +00:00
ee4b86d0c4 planner, stats: skip (auto) analyze on vector column and index (#56584)
close pingcap/tidb#56583
2024-10-14 20:04:11 +00:00
69f8a7bf35 statistics: enable the new PQ (#56437)
ref pingcap/tidb#55906
2024-10-13 08:00:35 +00:00
f732b78632 stats: implement stats handler for DDL notifier part 3 (#56526)
ref pingcap/tidb#55722
2024-10-10 15:34:58 +00:00
5f02b09246 statistics: handle DDL events in the new PQ (#56435)
ref pingcap/tidb#55906
2024-10-08 10:46:49 +00:00
1455d45729 statistics: process DML changes in the new PQ (#56383)
ref pingcap/tidb#55906
2024-10-08 08:03:42 +00:00
bb9f4d185e statistics: avoid using infoschema when to init stats (#54514)
close pingcap/tidb#55851
2024-09-30 02:14:39 +00:00
f7eba7e35e statistics: add AnalysisPriorityQueueV2 (#56335)
ref pingcap/tidb#55906
2024-09-27 10:52:22 +00:00
f75100c36e statistics: extract the common function to rebuild the queue (#56251)
ref pingcap/tidb#55906
2024-09-26 12:12:46 +00:00
75d9830bd2 *: AnalyzeV2 supports processing special global indexes (#56115)
close pingcap/tidb#54233
2024-09-25 06:34:50 +00:00
05cff08c42 statistics: add the SetIndicators API (#56248)
ref pingcap/tidb#55906
2024-09-24 11:54:57 +00:00
92d45d54f1 test: Add auto-analyze priority calculator test suite (#55683)
close pingcap/tidb#55682
2024-09-20 13:47:03 +00:00
5709ba4357 statistics: add an analysis job factory (#56073)
ref pingcap/tidb#55906
2024-09-14 12:11:25 +00:00
638c05f870 statistics: add the analysis worker (#55775)
ref pingcap/tidb#55618
2024-09-04 08:37:18 +00:00
f490a98438 *: add context.Context parameter to infoschema TableByName (#54479)
ref pingcap/tidb#50959
2024-07-09 16:04:33 +00:00
3e1ee9ec62 statsistics: unexport the Columns and Indices of HistColl (#53768)
close pingcap/tidb#53666
2024-06-27 12:53:54 +00:00
40456f36fe *: make package sqlexec not depend on sessionctx anymore (#52031)
close pingcap/tidb#52029
2024-03-25 11:59:17 +00:00
2fbcd9be26 statistics: do not skip negative and zero weight tables (#51978)
close pingcap/tidb#51972
2024-03-21 09:11:21 +00:00
1717648496 statistics: only analyze one index at a time (#51785)
close pingcap/tidb#51775
2024-03-14 13:26:11 +00:00
1718d7b5ee statistics: add sampling logger (#51741)
ref pingcap/tidb#50132
2024-03-14 06:06:47 +00:00
f94a6bacf8 statistics: split table analysis job into three different types of jobs (#51531)
ref pingcap/tidb#50132
2024-03-07 05:45:35 +00:00
9b255d5762 statistics: Do not create pseudo statistics for the auto-analysis check process (#51479)
ref pingcap/tidb#50132
2024-03-06 05:23:06 +00:00
6dd47fe671 *: add variable for priority queue (#51447)
ref pingcap/tidb#50132
2024-03-01 13:36:32 +00:00
42c8d2d062 statistics: add priority calculator (#51346)
ref pingcap/tidb#50132
2024-02-29 11:32:01 +00:00
f4e758a89d statistics: build the table analysis job queue part2 (#51152)
ref pingcap/tidb#50132
2024-02-26 11:46:59 +00:00
671e980340 statistics: build the table analysis job queue (#51045)
ref pingcap/tidb#50132
2024-02-22 07:21:27 +00:00
d96244d34b statistics: fix the test case by increase the time interval (#51139)
close pingcap/tidb#51142
2024-02-19 07:48:26 +00:00
0c64e4a472 statistics: implement stringer for analysis job (#50964)
ref pingcap/tidb#50132
2024-02-05 07:55:13 +00:00
35a7c9e2f7 statistics: add refresher (#50845)
ref pingcap/tidb#50132
2024-02-02 05:27:25 +00:00
51e1e13494 *: update interface{} to any (#50770)
ref pingcap/tidb#50765
2024-01-29 07:21:29 +00:00
34f48181b5 statistics: make the analysis job executable (#50499)
ref pingcap/tidb#50132
2024-01-19 09:07:48 +00:00
3da5e78ff3 feat: add interval util functions for priority queue (#50035) 2024-01-10 10:54:24 +00:00
b23b0435b1 statistics: add basic analysis job queue (#50126)
ref pingcap/tidb#50132
2024-01-05 14:30:22 +00:00