499 Commits

Author SHA1 Message Date
tpp
79b2debe2a planner: index pruning using existing infra (#64999)
close pingcap/tidb#63856
2026-01-15 01:11:23 +00:00
920ee6e011 ddl: forbid operations that might change system table id in nextgen (#65411)
ref pingcap/tidb#61702
2026-01-09 10:52:05 +00:00
46abcfc5cd stats: fix stats status for tables with only TopN and no buckets (#65417)
close pingcap/tidb#64429
2026-01-07 19:47:17 +00:00
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
290dd881c0 stats: Correctly set stats version after running ANALYZE (#64443)
close pingcap/tidb#64400
2025-12-15 15:51:56 +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
5271f751a0 planner: remove code of the deprecated optimizer trace - 5 (#64945)
ref pingcap/tidb#63725
2025-12-12 04:16:26 +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
7f2f109d34 planner: simplify some estimation code (#64953)
ref pingcap/tidb#63725
2025-12-10 12:09:44 +00:00
fc68c74dbb planner: remove code of the deprecated optimizer trace - 4 (#64929)
ref pingcap/tidb#63725
2025-12-10 02:35:39 +00:00
f3d7b668aa statistics: add test for synthesized column stats in InitStatsLite (#64253) 2025-12-08 13:39:05 +00:00
5bcc2299e4 stats: use the common functions to assert (#64719) 2025-11-28 10:25:44 +00:00
b5e9bbce25 statistics: add full-spec tests for non-lite init stats (#64430) 2025-11-26 18:35:50 +00:00
9f3ae48f30 statistics: ignore system tables in stats cache (#64097)
close pingcap/tidb#57176, close pingcap/tidb#64080
2025-11-21 13:31:14 +00:00
9b249401c0 statistics: cache partition IDs to global IDs map when getting the table info (#64521)
close pingcap/tidb#64509
2025-11-18 17:21:05 +00:00
c11aa55845 statistics: use the correct analyze version (#64399)
close pingcap/tidb#64300
2025-11-12 21:27:41 +00:00
069a5086ef statistics: fix flaky TestLoadNonExistentIndexStats (#64428) 2025-11-11 18:40:41 +00:00
c53042b4a4 statistics: add more tests for async load (#64299) 2025-11-11 12:12:17 +00:00
57948d90e8 statistics: refresh stats concurrently (#64034)
close pingcap/tidb#61273
2025-11-10 11:36:44 +00:00
779e298772 importinto/lightning: change library for parquet import (#63979)
ref pingcap/tidb#62906
2025-11-06 04:35:26 +00:00
749c973e5a metrics: add manual analyze ops and duration metrics (#63935)
ref pingcap/tidb#63934
2025-11-04 01:11:44 +00:00
1cc2a48d78 planner: update embedded analyze variable name (#64154)
ref pingcap/tidb#63326
2025-11-03 05:35:50 +00:00
bb7dd4f7ff statistics: use negative table IDs as fake table IDs (#64161)
close pingcap/tidb#64062, close pingcap/tidb#64158
2025-10-29 15:34:46 +00:00
4780e08236 statistics: add stats approvers (#64120) 2025-10-24 21:56:19 +00:00
eee38a5754 statistics: remove global max table id variable (#64067)
ref pingcap/tidb#61273
2025-10-24 20:21:31 +00:00
b04017c761 planner: optimize column lookups in PrepareIdxColsAndUnwrapArrayType with a map (#64115)
ref pingcap/tidb#63856
2025-10-23 21:45:52 +00:00
ce9f4c68f6 statistics: use sampled logger and improve error messages (#63962)
close pingcap/tidb#63880
2025-10-21 22:22:16 +00:00
e38a45b720 statistics: avoid memory in the convertBytesToScalar (#64019)
close pingcap/tidb#64020
2025-10-20 04:19:19 +00:00
f272a258f9 variable: mark tidb_enable_async_merge_global_stats as deprecated soon (#63911)
ref pingcap/tidb#63439
2025-10-17 14:17:49 +00:00
cf587d3793 stats: upgrade to use advancedSessionPool (#63759)
close pingcap/tidb#60897
2025-10-15 18:21:28 +00:00
3e7f31765e stats: remove ColAndIdxExistenceMap checked flag (#63626)
close pingcap/tidb#60316
2025-10-14 17:23:25 +00:00
13377dcc90 ddl: show analyzing status in admin show jobs (#63902)
ref pingcap/tidb#63326
2025-10-11 09:05:33 +00:00
tpp
72a540b804 Planner: Add min/max for out of range (#63077)
close pingcap/tidb#63724, close pingcap/tidb#63801
2025-10-01 17:57:25 +00:00
09f1070a31 statistics: implement refresh stats command (#63748)
ref pingcap/tidb#61273
2025-10-01 14:58:25 +00:00
007861065e planner: create index with embedded analyze (#63143)
close pingcap/tidb#63326
2025-09-30 04:03:25 +00:00
42fa3abc6b stats: reduce updating col predicate usage table (#63519)
close pingcap/tidb#63426
2025-09-28 11:05:46 +00:00
e23dccfc4c executor, planner: change some log's level from error to warning (#63577)
close pingcap/tidb#63576
2025-09-26 18:35:49 +00:00
204420f1cd statistics: support specify table IDs for non-lite init stats (#63498)
ref pingcap/tidb#61273
2025-09-23 15:19:52 +00:00
f1837cc3e4 statistics: correctly set last table stats status (#63618)
close pingcap/tidb#63609
2025-09-22 18:51:58 +00:00
b75bdd1257 stats: optimize build topn and histogram (#63285)
close pingcap/tidb#63286
2025-09-12 18:39:09 +00:00
3d613f8fbb planner,statistics: fix all test cases for the next-gen (#63460) 2025-09-11 09:46:54 +00:00
83ed3cb6fb statistics: Deprecated the EnableLoadFMSketch configuration (#63438)
ref pingcap/tidb#63435
2025-09-11 03:20:06 +00:00
48c83f84bf *: skip analyze v1 test for the next-gen (#63444) 2025-09-10 11:37:31 +00:00
0f99d77540 *: skip analyze v1 test for the next-gen (#63437) 2025-09-10 04:50:24 +00:00
6eade7b34f stats: optimize memory footprint of pseudo stats table (#63160)
close pingcap/tidb#60137
2025-09-09 20:29:03 +00:00
df99f52c06 statistics: support specify table IDs (#63395)
ref pingcap/tidb#61273
2025-09-09 17:39:27 +00:00
646196b4fa domain: skip init stats if skip-init-stats is set (#63104)
close pingcap/tidb#63103
2025-09-08 08:49:36 +00:00