Commit Graph

174 Commits

Author SHA1 Message Date
87b8d012b5 statstics: forcely use index to order when to init stats (#52462)
close pingcap/tidb#52466
2024-04-11 07:00:23 +00:00
510f44f5c0 bindinfo,planner,statistics: add OWNERS files in top module folders (#46981)
close pingcap/tidb#46969
2024-04-09 06:40:51 +00:00
9bb3697349 statistics: upgrade stats timeout checkpoint after it timeouts (#52424)
close pingcap/tidb#52425
2024-04-09 04:34:57 +00:00
6a35d5e507 statistics: fix puting wrong stats into cache (#52421)
close pingcap/tidb#52419
2024-04-08 14:36:20 +00:00
035f5a3cc0 statistics: batch write into stats cache when to init stats (#52347)
close pingcap/tidb#52339
2024-04-07 13:22:50 +00:00
c7d4c9cebb domon,statistics: remove useless code for sync load (#52358) 2024-04-07 07:45:19 +00:00
03f8dd127d statistics: fix wrong stats healthy check (#52352) 2024-04-07 06:22:49 +00:00
c8a5740351 statistics: add schema ID to check if it is a system or mem table (#52285)
close pingcap/tidb#52040
2024-04-03 10:52:54 +00:00
3ba874c77f statistics: fix wrong singleflight implementation for stats' syncload (#52301)
close pingcap/tidb#52294
2024-04-03 10:16:55 +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
c3fa9accb2 statistics: avoid unnecessay table id loading the stats (#52266) 2024-04-01 09:49:46 +00:00
150233ddf3 *: fix panic when to enable lite-init-stats and concurrently-init-stats (#52226)
close pingcap/tidb#52223
2024-03-30 16:40:45 +00:00
528bd7e37a sysvar: Do not allow set tidb_auto_analyze_ratio to 0 (#52190)
close pingcap/tidb#51582
2024-03-29 07:03:49 +00:00
c0fc3baf08 statistics: shard needsStatsMap (#52183)
ref pingcap/tidb#51853
2024-03-28 10:38:19 +00:00
ce2cf92498 statistics: concurrency init stats (#51403)
close pingcap/tidb#52102
2024-03-28 04:56:18 +00:00
9104291875 statistics: fix wrong pointer used when async load stats (#52169)
close pingcap/tidb#51856
2024-03-28 03:47:24 +00:00
e7b4d31f7e statistics: ignore more logs (#52101)
close pingcap/tidb#52100
2024-03-26 08:12:47 +00:00
40456f36fe *: make package sqlexec not depend on sessionctx anymore (#52031)
close pingcap/tidb#52029
2024-03-25 11:59:17 +00:00
b9d83d3efb ddl: determine whether to use merge sort by each index separately (#52000)
close pingcap/tidb#52004
2024-03-22 06:59:13 +00:00
2fbcd9be26 statistics: do not skip negative and zero weight tables (#51978)
close pingcap/tidb#51972
2024-03-21 09:11:21 +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
cbd41115f3 br: skip loading stats into memory if set --load-stats to false (#51535)
ref pingcap/tidb#50568
2024-03-15 10:48:41 +00:00
Bin
685da08370 fix: modify signature (#51802) 2024-03-15 05:10:01 +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
1717648496 statistics: only analyze one index at a time (#51785)
close pingcap/tidb#51775
2024-03-14 13:26:11 +00:00
1718d7b5ee statistics: add sampling logger (#51741)
ref pingcap/tidb#50132
2024-03-14 06:06:47 +00:00
tpp
47a990e7f7 planner: adjust estimated rows to account for modified rows (#50970)
close pingcap/tidb#47523
2024-03-13 13:30: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
4ce1a6e929 statistics: turn off verbose logs (#51616)
ref pingcap/tidb#50132
2024-03-08 08:14:06 +00:00
a8503e820c statistics: enable the auto-analysis priority queue (#51537)
ref pingcap/tidb#50132
2024-03-07 08:53:07 +00:00
f94a6bacf8 statistics: split table analysis job into three different types of jobs (#51531)
ref pingcap/tidb#50132
2024-03-07 05:45:35 +00:00
67bde75808 statistics: add statsVer for HistColl (#51548) 2024-03-06 16:51:35 +00:00
Bin
a8a9a04077 * : delete unuse interface and implementation (#51552) 2024-03-06 13:09: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
27be90a6e8 *: use AllSchemaNames to replace AllSchemas (#51436)
ref pingcap/tidb#50959
2024-03-06 11:48:36 +00:00
9b255d5762 statistics: Do not create pseudo statistics for the auto-analysis check process (#51479)
ref pingcap/tidb#50132
2024-03-06 05:23:06 +00:00
62afab372b statistics: do not analyze table when auto analyze ratio is 0 (#51467)
ref pingcap/tidb#50132
2024-03-04 08:15:33 +00:00
6dd47fe671 *: add variable for priority queue (#51447)
ref pingcap/tidb#50132
2024-03-01 13:36:32 +00:00
42c8d2d062 statistics: add priority calculator (#51346)
ref pingcap/tidb#50132
2024-02-29 11:32:01 +00:00
fbc3c7e58a statistics: fix panic when to enable force-init-stats (#51357)
close pingcap/tidb#51358
2024-02-27 10:47:08 +00:00
0df9170791 planner/infoschema: support push down lower to some memtables (#50874)
ref pingcap/tidb#50305
2024-02-27 07:26:01 +00:00
801de42a0e statistics: use correct last update version (#51287)
ref pingcap/tidb#50132
2024-02-27 06:47:10 +00:00
f4e758a89d statistics: build the table analysis job queue part2 (#51152)
ref pingcap/tidb#50132
2024-02-26 11:46:59 +00:00
5b187e5e56 planner: standalone implement for PlanContext (#51237)
close pingcap/tidb#51236
2024-02-22 15:03:28 +00:00
8f2428e492 statistics: remove unnecessary copy in the baseCollector (#51244)
close pingcap/tidb#51246
2024-02-22 11:04:57 +00:00
671e980340 statistics: build the table analysis job queue (#51045)
ref pingcap/tidb#50132
2024-02-22 07:21:27 +00:00
fc8118243c statistics: check if stats is nil (#51195)
close pingcap/tidb#51187
2024-02-21 11:22:58 +00:00
11f716e206 bootstrap, br: add sys.schema_unused_indexes view (#50887)
close pingcap/tidb#50886
2024-02-21 05:22:57 +00:00