Commit Graph

26 Commits

Author SHA1 Message Date
5caa238b83 planner: use collected predicate columns to do stats sync load (#56813)
close pingcap/tidb#56812
2024-11-12 14:38:50 +00:00
0955c91c8c statistics: reduce dumpStatsMaxDuration as 5min (#56538)
ref pingcap/tidb#56537
2024-10-11 04:52:36 +00:00
5ad55c2122 stats: extract some functions for future SchemaChangeHandler use (#56379)
ref pingcap/tidb#55722
2024-09-30 01:19:49 +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
876268f619 *: add ctx parameter to infoschema TableByID (#55329)
ref pingcap/tidb#50959
2024-08-09 10:42:47 +00:00
6c3e25ebfe *: avoid using Tables field of model.DBInfo, use API instead (#52302)
close pingcap/tidb#52234
2024-07-25 10:57:06 +00:00
cb6f913db1 br: support backup and restore column_stats_usage (#54634)
ref pingcap/tidb#53567
2024-07-19 06:12:01 +00:00
f490a98438 *: add context.Context parameter to infoschema TableByName (#54479)
ref pingcap/tidb#50959
2024-07-09 16:04:33 +00:00
aeea03d21c planner: include both indexes and columns in job info (#54336)
ref pingcap/tidb#53567
2024-07-03 10:59:57 +00:00
0d0fb4d19d planner: respect tidb_analyze_column_options when build analyze plan (#54240)
ref pingcap/tidb#53567
2024-06-28 10:57:01 +00:00
fd2b5e97a1 statistics: always tracking predicate columns (#54152)
ref pingcap/tidb#53567
2024-06-24 06:56:56 +00:00
9745a16ba6 statistics: clean up dropped predicate columns stats usage (#53680)
ref pingcap/tidb#53567
2024-05-30 10:44:51 +00:00
2300ac6fe6 statistics: add comments and remove unnessary check (#53568)
ref pingcap/tidb#53567
2024-05-27 11:20:50 +00:00
e5651c43bd planner: optimize performance of IndexUsage utilities (#53195)
close pingcap/tidb#51898
2024-05-13 04:40:10 +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
1befe9855d executor: record the index usage on a the whole table (#50816)
close pingcap/tidb#50814
2024-02-02 07:25:54 +00:00
7087f702e1 executors: record the index usage in each executors (#50643)
close pingcap/tidb#50261
2024-01-30 03:51:22 +00:00
51e1e13494 *: update interface{} to any (#50770)
ref pingcap/tidb#50765
2024-01-29 07:21:29 +00:00
301d1d2048 statistics/handle/usage: modify the SessionIndexUsageCollector to implement new index usage design (#50050)
close pingcap/tidb#49835
2024-01-22 14:40:50 +00:00
897c45b0e0 statistics/handle/usage: add a collector utility based on channel to collect stats from sessions (#50437)
close pingcap/tidb#50416
2024-01-17 09:49:46 +00:00
297872a7b2 statistics: move interfaces out of the util package (#48612) 2023-11-22 09:41:51 +00:00
a2edc738de *: move sqlescaping from pkg/util/sqlexec to pkg/util/sqlescape (#48061)
close pingcap/tidb#48055
2023-10-31 01:45:36 +00:00
aa453def0e planner: move more methods from StatsHandle to its sub-packages (#47739)
ref pingcap/tidb#46905
2023-10-18 08:43:59 +00:00
4765838f4d planner: introduce an interface for StatsHandle to simplify the code (#47670)
ref pingcap/tidb#46905
2023-10-16 12:48:29 +00:00
318e82bbb7 *: move most of the packages to 'pkg' (#47123)
ref pingcap/tidb#41241
2023-10-13 14:36:26 +00:00