Commit Graph

421 Commits

Author SHA1 Message Date
a7c824dfe0 executor: update stats table row cache in batch (#62042)
close pingcap/tidb#62020
2025-07-11 02:32:21 +00:00
81370d4c72 planner: add skew risk ratio for range pred (#62035)
close pingcap/tidb#62093
2025-07-07 20:32:30 +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
063fa72687 planner: lift the can-push-to-cop check of aggregation/proj (#62068)
ref pingcap/tidb#62006
2025-07-03 13:35:00 +00:00
b8063d54f3 domain, executor: attach stats collector for IMPORT INTO sessions (#61849)
close pingcap/tidb#61922
2025-07-01 07:50:45 +00:00
02757471f1 statistics, lightning: remove useless code (#62004) 2025-06-26 03:07:36 +00:00
1abbbf02de session: rename GetDomainInfoSchema to GetLatestInfoSchema (#61894)
ref pingcap/tidb#61702
2025-06-23 10:09:21 +00:00
tpp
e5e4306050 planner: Fix flaky TestGlobalStatsAndSQLBindingWithConcurrency (#61902)
close pingcap/tidb#61901
2025-06-21 00:32:09 +00:00
tpp
f77056099f planner: ensure topN counts adjust for samplefactor (#61637)
close pingcap/tidb#61609
2025-06-13 03:54:55 +00:00
64a25c795b statistics: internal sql must have invalid stats (#61603)
close pingcap/tidb#61601
2025-06-10 04:06:46 +00:00
96161fce85 *: Unify the promethus metrics creation process (#61527)
ref pingcap/tidb#60864, close pingcap/tidb#61526
2025-06-06 10:24:49 +00:00
tpp
10296d1d1c planner: Only count all topn when necessary (#61421)
ref pingcap/tidb#61339
2025-06-03 18:11:35 +00:00
fa3c79b408 br: enable parallel restore (#58724)
close pingcap/tidb#58725
2025-06-03 02:36:14 +00:00
5c86ca816c statistics: the totalCount/minCount of TopN is calculated only once (#61340)
close pingcap/tidb#61339
2025-05-28 02:10:55 +00:00
32309b9270 executor: replace logutil with statslogutil for improved logging in the analyze process (#61245)
close pingcap/tidb#59939
2025-05-22 17:13:07 +00:00
ba770fc43d *: add exptostd linter (#61014)
close pingcap/tidb#61013
2025-05-08 12:51:50 +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
2704b09065 statistics: batch update the stats meta and skip updating stats meta history. (#60595)
ref pingcap/tidb#60374
2025-04-23 06:13:58 +00:00
34b8a218da statistics: improve comments for empty histogram handling (#60667)
ref pingcap/tidb#60570
2025-04-22 12:39:22 +00:00
9806098a9e stats: panic in the MergePartitionHist2GlobalHist (#56676)
close pingcap/tidb#55920
2025-04-18 16:08:13 +00:00
3b2d4b7747 statistics: improve logging messages and add duration metrics for stats initialization (#60521)
ref pingcap/tidb#59939
2025-04-17 10:37:24 +00:00
9c2c27038d statistics: Simplify histogram async load with defer cleanup (#60596)
close pingcap/tidb#60598
2025-04-17 08:53:12 +00:00
25dde1c45d stats: use an alternative function to read the bound from BLOB stored in mysql.stats_buckets. (#59791)
close pingcap/tidb#59759
2025-04-15 08:57:06 +00:00
b64514e2c0 config: deprecate ConcurrentlyInitStats and make it always enabled by default (#60408)
close pingcap/tidb#60138, close pingcap/tidb#60206
2025-04-10 16:14:34 +00:00
fe3f47b1d7 stats: use GetColOriginDefaultValue to get default value of a column (#60438)
close pingcap/tidb#60194
2025-04-09 02:49:58 +00:00
1279a9ffec statistics: speed up the backgroud stats update worker (#58490)
ref pingcap/tidb#57868
2025-04-07 11:50:10 +00:00
3b0df600a5 statistics: increase batchInsertSize from 10 to 8192 for improved performance (#60405)
close pingcap/tidb#60183
2025-04-07 08:49:39 +00:00
f4b85e3540 statistics: remove invalid histogram items in loadNeededColumnHistograms and loadNeededIndexHistograms (#60318)
close pingcap/tidb#60247
2025-04-03 08:41:04 +00:00
61c09e601e build(deps): bump github.com/golangci/golangci-lint from 1.63.4 to 1.64.7 (#60029) 2025-04-03 07:44:54 +00:00
755cc34900 statistics: log DDL event handling errors and ignore them temporarily (#60302)
ref pingcap/tidb#59474, ref pingcap/tidb#60194
2025-03-28 17:17:28 +00:00
7f6df324e0 *: generalize columnar for DDL (#60244)
ref pingcap/tidb#59880
2025-03-26 08:52:25 +00:00
bc534e4a7b statistics: add warnings for missing table, column, and histogram information during async loading (#60213)
ref pingcap/tidb#59939
2025-03-26 06:52:57 +00:00
tpp
963d7e89c1 planner: Reduce topn/buckets for lower NDV (#59929)
ref pingcap/tidb#53950
2025-03-26 00:00:51 +00:00
c0aea84bb4 planner: update logging for SyncWaitStatsLoad and SubLoadWorker functions (#59978)
ref pingcap/tidb#59939
2025-03-21 07:20:27 +00:00
d406be6516 statistics: fix Clone method to include checked field in ColAndIdxExistenceMap (#60171)
close pingcap/tidb#60104
2025-03-20 09:37:18 +00:00
19c2d3366e statistics: enhance concurrency handling in stats initialization to reduce duplication (#60090)
ref pingcap/tidb#55043
2025-03-18 15:18:21 +00:00
80d6b5683c infosync: refactor server config into dynamic and static sections (#58473)
close pingcap/tidb#58405
2025-03-18 02:36:52 +00:00
388c36be8d statistics: simplify LoadAndUpdateStatsLoop and SubLoadWorker parameters (#60092)
ref pingcap/tidb#60011
2025-03-17 12:35:52 +00:00
0e150fc770 statistics: improve handling for slow stats updates and logging (#59887)
close pingcap/tidb#54552
2025-03-17 11:21:58 +00:00
d31be66186 statistics: speed up table iteration during PQ initialization (#58825)
close pingcap/tidb#57960
2025-03-14 10:50:04 +00:00
fc52e147de stats: remove useless timeout refresh and information schema reference (#60012)
close pingcap/tidb#60011
2025-03-13 13:08:27 +00:00
046e83e7fc statistics: reduce the max retry count as 1 for sync load (#60018)
ref pingcap/tidb#60017
2025-03-11 15:05:43 +00:00
tpp
ae830dc9af planner: Adjust out of range for added rows (#59724)
ref pingcap/tidb#58068
2025-03-09 14:10:05 +00:00
9fed88cc10 *: generalize some vector index logic to columnar index (#59881)
ref pingcap/tidb#59880
2025-03-07 04:21:33 +00:00
41e4903014 planner: update AnalyzeTableStmt to use NonPartitionTableID for non-partitioned tables (#59937) 2025-03-06 11:01:12 +00:00
448649e53c statistics: replace StatsLoad mutex with a dedicated mutex for statsCache protection (#59778)
ref pingcap/tidb#55043
2025-03-03 06:22:13 +00:00
2214bd07fc statistics: Remove the ineffective dirty IDs from the row count cache (#56287)
close pingcap/tidb#55803
2025-03-02 08:37:51 +00:00
72213542ea statistics: correct the bucket order when merging global hist (#59647)
close pingcap/tidb#59274
2025-02-20 19:12:57 +00:00