|
|
7f2f109d34
|
planner: simplify some estimation code (#64953)
ref pingcap/tidb#63725
|
2025-12-10 12:09:44 +00:00 |
|
|
|
f3d7b668aa
|
statistics: add test for synthesized column stats in InitStatsLite (#64253)
|
2025-12-08 13:39:05 +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 |
|
|
|
b04017c761
|
planner: optimize column lookups in PrepareIdxColsAndUnwrapArrayType with a map (#64115)
ref pingcap/tidb#63856
|
2025-10-23 21:45:52 +00:00 |
|
|
|
3e7f31765e
|
stats: remove ColAndIdxExistenceMap checked flag (#63626)
close pingcap/tidb#60316
|
2025-10-14 17:23:25 +00:00 |
|
|
|
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 |
|
|
|
6eade7b34f
|
stats: optimize memory footprint of pseudo stats table (#63160)
close pingcap/tidb#60137
|
2025-09-09 20:29:03 +00:00 |
|
|
|
d1311c1931
|
stats: optimize stats table copy to save memory (#63004)
close pingcap/tidb#63076
|
2025-08-28 19:45:22 +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 |
|
|
|
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 |
|
|
|
ba770fc43d
|
*: add exptostd linter (#61014)
close pingcap/tidb#61013
|
2025-05-08 12:51:50 +00:00 |
|
|
|
57a8f744a2
|
statistics: gopls modernize (#60778)
close pingcap/tidb#60777
|
2025-04-24 14:24:02 +00:00 |
|
|
|
1279a9ffec
|
statistics: speed up the backgroud stats update worker (#58490)
ref pingcap/tidb#57868
|
2025-04-07 11:50:10 +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 |
|
|
|
d406be6516
|
statistics: fix Clone method to include checked field in ColAndIdxExistenceMap (#60171)
close pingcap/tidb#60104
|
2025-03-20 09:37:18 +00:00 |
|
|
|
0fc1412390
|
planner: Recognize potential for correlation in subset index match (#58688)
ref pingcap/tidb#59333
|
2025-02-20 18:17:19 +00:00 |
|
|
|
32d11a87c5
|
statistics: fix the behavior of DROP STATS after #58596 (#59031)
ref pingcap/tidb#58181
|
2025-01-21 04:11:42 +00:00 |
|
|
|
35f329d3ad
|
statistics: remove unused HavePhysicalID field from HistColl struct (#58681)
ref pingcap/tidb#55043
|
2025-01-03 13:31:28 +00:00 |
|
|
|
d0216482f8
|
statistics: correct behavior of non-lite InitStats and stats sync load of no stats column (#57803)
close pingcap/tidb#57804
|
2024-12-03 12:00:32 +00:00 |
|
|
|
2b03447f19
|
statistics: fix some problem related to stats async load (#57723)
close pingcap/tidb#57722, close pingcap/tidb#57735
|
2024-11-27 15:25:23 +00:00 |
|
|
|
5caa238b83
|
planner: use collected predicate columns to do stats sync load (#56813)
close pingcap/tidb#56812
|
2024-11-12 14:38:50 +00:00 |
|
|
|
bb9f4d185e
|
statistics: avoid using infoschema when to init stats (#54514)
close pingcap/tidb#55851
|
2024-09-30 02:14:39 +00:00 |
|
|
|
68fdf55d94
|
*: rename some packages of context (#56108)
close pingcap/tidb#56107
|
2024-09-19 07:11:03 +00:00 |
|
|
|
3688a2b2b8
|
statistics: do not depend on table information when calculating the table size (#56036)
ref pingcap/tidb#55906
|
2024-09-14 09:35:07 +00:00 |
|
|
|
dd1808364a
|
planner: fix incorrect estRows with global index and json column (#55842)
close pingcap/tidb#55818
|
2024-09-06 12:08:39 +00:00 |
|
|
|
4afaecf8f7
|
statistics: remove useless function (#55815)
|
2024-09-04 13:20:02 +00:00 |
|
|
|
3176b9c263
|
*: move XXInfo/Job, etc, out from model pkg in parser to meta (#55754)
ref pingcap/tidb#54436
|
2024-09-04 04:49:45 +00:00 |
|
|
|
87244edabf
|
statistics: fix sync load fails after disabling lite init stats (#54531)
close pingcap/tidb#54532
|
2024-08-27 13:21:16 +00:00 |
|
|
|
adc7597a35
|
*: replace maps.Copy which is for map clone with std maps.Clone (#55530)
close pingcap/tidb#55527
|
2024-08-20 11:19:49 +00:00 |
|
|
|
7e73ddc91b
|
statistics: add metrics for unneeded analyze table (#54822)
close pingcap/tidb#54823
|
2024-07-26 01:36:06 +00:00 |
|
|
|
2088b342e8
|
planner: fix some typos (#54649)
|
2024-07-17 09:20:59 +00:00 |
|
|
|
1bf27af89f
|
statistics: init LastAnalyzeVersion with snapshot timestamp (#54465)
ref pingcap/tidb#53567
|
2024-07-16 08:21:00 +00:00 |
|
|
|
3e1ee9ec62
|
statsistics: unexport the Columns and Indices of HistColl (#53768)
close pingcap/tidb#53666
|
2024-06-27 12:53:54 +00:00 |
|
|
|
a3e6d1cd8a
|
statistics: split async load package (#53318)
|
2024-05-16 07:35:49 +00:00 |
|
|
|
5d27b731d5
|
planner, statistics: async load should load all column meta info for lite init (#53297)
ref pingcap/tidb#53141
|
2024-05-15 20:05:42 +00:00 |
|
|
|
7a85b01d73
|
planner, statistics: fix the inconsistent est when table has no stats (#52427)
close pingcap/tidb#52426
|
2024-04-15 11:31:36 +00:00 |
|
|
|
69d7770335
|
statistics: remove useless GetFullTableName (#52552)
close pingcap/tidb#52553
|
2024-04-12 09:12:24 +00:00 |
|
|
|
03f8dd127d
|
statistics: fix wrong stats healthy check (#52352)
|
2024-04-07 06:22:49 +00:00 |
|
|
|
4a92d81855
|
statistics: fix the possible wrong result for stats_healthy (#52319)
ref pingcap/tidb#29769
|
2024-04-02 11:51:17 +00:00 |
|
|
|
21e9d3cb40
|
planner, statistics: use the correct column ID when recording stats loading status (#52208)
close pingcap/tidb#52207
|
2024-04-02 08:54:17 +00:00 |
|
|
|
c0fc3baf08
|
statistics: shard needsStatsMap (#52183)
ref pingcap/tidb#51853
|
2024-03-28 10:38:19 +00:00 |
|
|
|
740664fb61
|
planner,statistics: check the meta-load case in ColumnIsLoadNeeded (#51911)
close pingcap/tidb#51871
|
2024-03-20 03:36:42 +00:00 |
|
|
|
6a76187f2d
|
planner: code prepare for support OR list nested in AND list for mv index (#51780)
ref pingcap/tidb#51778
|
2024-03-14 17:11:11 +00:00 |
|
|
|
0ed511a84b
|
planner, stats: reduce the persist memory usage of stats after startup (#47496)
close pingcap/tidb#46867
|
2024-03-14 14:09:41 +00:00 |
|
|
|
caf83ed930
|
statistics: add last_analyze_version for mysql.stats_meta (#51489)
ref pingcap/tidb#49594
|
2024-03-11 08:06:38 +00:00 |
|
|
|
67bde75808
|
statistics: add statsVer for HistColl (#51548)
|
2024-03-06 16:51:35 +00:00 |
|
|
|
24b160a360
|
planner: trigger stats load on a column in determinate mode to make sure analyze row count is available (#51435)
close pingcap/tidb#48257
|
2024-03-06 12:26:06 +00:00 |
|
|
|
ee1864460f
|
planner: introduce PlanContext to provide context for planner phase (#51074)
close pingcap/tidb#51070
|
2024-02-08 10:35:47 +00:00 |
|
|
|
1ad36eb0ef
|
statistics: fix missing nil check for mv index (#50313)
close pingcap/tidb#50298
|
2024-01-11 11:28:54 +00:00 |
|