Commit Graph

481 Commits

Author SHA1 Message Date
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
1f967030a0 fix: drop some dead code phase 1 (#63079)
ref pingcap/tidb#50727
2025-09-05 09:54:33 +00:00
de48c81a8d planner: fix test case for the next-gen (#63359) 2025-09-03 16:46:06 +00:00
9bcae5eff7 *: replace failpoint.Enable with testfailpoint.Enable (#63295) 2025-09-01 06:53:58 +00:00
d1311c1931 stats: optimize stats table copy to save memory (#63004)
close pingcap/tidb#63076
2025-08-28 19:45:22 +00:00
tpp
2010151c50 planner: equal estimate consistent for index and column (#63049)
ref pingcap/tidb#61792
2025-08-20 05:04:11 +00:00
658fa1a43e crossks: add real-tikv tests for info schema sync (#63008)
ref pingcap/tidb#61702
2025-08-19 17:29:50 +00:00
a657e4d06f stats: replace Copy with ShallowCopy for table stats update logic (#62430)
ref pingcap/tidb#57868
2025-08-18 17:38:32 +00:00
dd5f5ad5f9 planner: account for risk of using skew ratio vars (#62952)
ref pingcap/tidb#59333
2025-08-16 02:42:35 +00:00
0548f97939 statistics: handle the adding index event correctly (#62884)
close pingcap/tidb#62861
2025-08-15 17:30:14 +00:00
d82d2baa0f bazel: update settings and close some race on tests (#63009) 2025-08-15 09:07:31 +00:00
1e13a9b317 stats: avoid creating pseudo stats table when dumping stats delta (#62887)
close pingcap/tidb#62590
2025-08-14 21:34:51 +00:00
b529ae5267 globalsort: use partitioned prefix to store intermediate files (#62905)
close pingcap/tidb#62904
2025-08-12 07:08:42 +00:00
4230cf349b *: replace GetTableStats with GetPhysicalTableStats (#62790)
ref pingcap/tidb#62685
2025-08-11 10:22:54 +00:00
1a88fd99db planner: create variables for recognizing over and underestimation risk (#62910)
ref pingcap/tidb#59333
2025-08-09 17:01:45 +00:00
82e812a38a planner: improve index pseudo-estimation with column stats (#62725)
close pingcap/tidb#62783
2025-08-08 18:51:51 +00:00
5f051c78d1 sessionctx: mark tidb_enable_auto_analyze_priority_queue as deprecated (#62659) 2025-08-06 15:35: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
3a097611cc planner: handle histogram last bucket end value underrepresented (#62695)
close pingcap/tidb#62665
2025-08-02 19:33:51 +00:00