Commit Graph

160 Commits

Author SHA1 Message Date
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
6a010b5445 statistics: skip create pseudo stats for partitions (#51123)
close pingcap/tidb#50100
2024-02-19 08:57:25 +00:00
d96244d34b statistics: fix the test case by increase the time interval (#51139)
close pingcap/tidb#51142
2024-02-19 07:48:26 +00:00
464a12651b build(deps): bump github.com/golangci/golangci-lint from 1.55.2 to 1.56.1 (#51089) 2024-02-18 06:57:01 +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
28ce5fb234 stats, metrics: add and fix stats related grafana panel (#50834) 2024-02-07 14:16:15 +00:00
f5e0799dd7 *: store db ID in model.TableInfo and move SchemaByTable method out from InfoSchema (#50917)
ref pingcap/tidb#50959
2024-02-07 05:07:15 +00:00
0c64e4a472 statistics: implement stringer for analysis job (#50964)
ref pingcap/tidb#50132
2024-02-05 07:55:13 +00:00
69917c07b0 *: avoid thundering herd problem when timeout the stats sync load (#50956)
close pingcap/tidb#50957
2024-02-04 08:41:49 +00:00
c6d727054a infoschema: remove some redundant methods from InfoSchema (#50916)
ref pingcap/tidb#50959
2024-02-04 08:41:42 +00:00
1befe9855d executor: record the index usage on a the whole table (#50816)
close pingcap/tidb#50814
2024-02-02 07:25:54 +00:00
35a7c9e2f7 statistics: add refresher (#50845)
ref pingcap/tidb#50132
2024-02-02 05:27:25 +00:00
556c0d46d1 statistics: do not need to introduce another test flag (#50813)
ref pingcap/tidb#40791
2024-01-30 07:06:23 +00:00
7087f702e1 executors: record the index usage in each executors (#50643)
close pingcap/tidb#50261
2024-01-30 03:51:22 +00:00
25f44f577d statistics: extract functions and add comments (#50773)
ref pingcap/tidb#40791
2024-01-30 02:45:23 +00:00