Commit Graph

62 Commits

Author SHA1 Message Date
ad4f3ea0f7 bootstrap: refactor the system tables/dbs creation (#62540)
ref pingcap/tidb#61702
2025-07-23 05:07:17 +00:00
0cd280bbd2 meta: unify definition of system or memory DB name (#62247)
ref pingcap/tidb#61702
2025-07-07 19:17:48 +00:00
1abbbf02de session: rename GetDomainInfoSchema to GetLatestInfoSchema (#61894)
ref pingcap/tidb#61702
2025-06-23 10:09:21 +00:00
5577bf8443 statistics: update logging in auto-analyze components to use the error verbose logger (#60845)
ref pingcap/tidb#59939
2025-05-06 07:31:33 +00:00
57a8f744a2 statistics: gopls modernize (#60778)
close pingcap/tidb#60777
2025-04-24 14:24:02 +00:00
6999c7db44 statistics: log schema not found for table in updateGlobalTableStats functions (#60730)
close pingcap/tidb#60729
2025-04-24 00:59:27 +00:00
7f6df324e0 *: generalize columnar for DDL (#60244)
ref pingcap/tidb#59880
2025-03-26 08:52:25 +00:00
c0aea84bb4 planner: update logging for SyncWaitStatsLoad and SubLoadWorker functions (#59978)
ref pingcap/tidb#59939
2025-03-21 07:20:27 +00:00
d31be66186 statistics: speed up table iteration during PQ initialization (#58825)
close pingcap/tidb#57960
2025-03-14 10:50:04 +00:00
9fed88cc10 *: generalize some vector index logic to columnar index (#59881)
ref pingcap/tidb#59880
2025-03-07 04:21:33 +00:00
4db34bc3e2 workload-based learning: save the metrics and create new workload_values table (#59126)
ref pingcap/tidb#58131
2025-02-20 03:58:34 +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
b2f2faaa95 parser: move 'model' to 'ast' pkg (#58704)
ref pingcap/tidb#54436
2025-01-07 10:20:04 +00:00
bf939fa79a *: don't handle live updates of column size (#58596)
close pingcap/tidb#58595
2025-01-06 19:42:49 +00:00
35f329d3ad statistics: remove unused HavePhysicalID field from HistColl struct (#58681)
ref pingcap/tidb#55043
2025-01-03 13:31:28 +00:00
dde1dcd750 session: add indexes for mysql.analyze_jobs (#58134)
close pingcap/tidb#57996
2024-12-17 10:05:42 +00:00
27b53925b2 *: use DDL subscriber updating stats meta (#57872)
close pingcap/tidb#57871
2024-12-13 10:44:06 +00:00
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