74 Commits

Author SHA1 Message Date
752905dd38 bootstrap/upgrade: split definition and code logic for better maintenance (#65403)
close pingcap/tidb#61702
2026-01-06 13:00:05 +00:00
2c0b057d1c statistics: avoid deadlock in priority queue Close method (#65147)
close pingcap/tidb#64920
2025-12-31 12:48:38 +00:00
cf4647ed80 stats: do not close the priority queue in DDL handler (#65271) 2025-12-29 13:16:02 +00:00
2774ccb15a stats: rename test only functions from PQ (#65242) 2025-12-25 12:03:50 +00:00
80f74ede58 stats: set the default analyze column options to all (#64994)
ref pingcap/tidb#64992
2025-12-12 23:58:19 +00:00
04e1ea9b6a stats: close the priority queue DDL handler when auto-analyze is disabled (#64817)
close pingcap/tidb#64038
2025-12-10 19:49:14 +00:00
f3d7b668aa statistics: add test for synthesized column stats in InitStatsLite (#64253) 2025-12-08 13:39:05 +00:00
1cc2a48d78 planner: update embedded analyze variable name (#64154)
ref pingcap/tidb#63326
2025-11-03 05:35:50 +00:00
007861065e planner: create index with embedded analyze (#63143)
close pingcap/tidb#63326
2025-09-30 04:03:25 +00:00
0548f97939 statistics: handle the adding index event correctly (#62884)
close pingcap/tidb#62861
2025-08-15 17:30:14 +00:00
4230cf349b *: replace GetTableStats with GetPhysicalTableStats (#62790)
ref pingcap/tidb#62685
2025-08-11 10:22:54 +00:00
6f38f974a3 tests: fix realtikv test for next-gen (#62701)
close pingcap/tidb#60688, ref pingcap/tidb#61702
2025-08-06 08:14:15 +00:00
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