Commit Graph

42 Commits

Author SHA1 Message Date
2ea3542218 ddl, stat: switch to new struct for remove partition, flash back and remove DDLEvent (#55973)
ref pingcap/tidb#55723
2024-09-11 05:43:58 +00:00
ea6dba8e7a ddl, stat: switch to new struct for exchange/reorg/add partition (#55944)
ref pingcap/tidb#55723
2024-09-10 04:24:42 +00:00
de0dcc0860 ddl, stat: switch to new struct for drop table, add/modify column (#55912)
ref pingcap/tidb#55723
2024-09-09 10:41:08 +00:00
4dc8f3d333 ddl, stat: switch to new struct for add/truncate/drop partition (#55893)
ref pingcap/tidb#55723
2024-09-06 10:22:23 +00:00
c90168e207 ddl, stats: switch to new struct for create/truncate table (#55811)
ref pingcap/tidb#55723
2024-09-05 12:04:04 +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
b664234927 ddl: init new struct SchemaChangeEvent to replace the DDLEvent (#55758)
ref pingcap/tidb#55723
2024-08-30 12:22:58 +00:00
cde560352a *: fix flaky test TestRecordHistoryStatsAfterAnalyze (#55365)
close pingcap/tidb#55364
2024-08-12 12:52:38 +00:00
876268f619 *: add ctx parameter to infoschema TableByID (#55329)
ref pingcap/tidb#50959
2024-08-09 10:42:47 +00:00
5aad7df941 *: use a unified session pool definition AMAP (#55170)
ref pingcap/tidb#54434
2024-08-05 12:23:08 +00:00
273ca667ab *: remove limiting process id for auto analyze (#54902)
ref pingcap/tidb#53460
2024-07-29 16:01:18 +00:00
cb6f913db1 br: support backup and restore column_stats_usage (#54634)
ref pingcap/tidb#53567
2024-07-19 06:12:01 +00:00
4327c93a31 infoschema, statistics: support and use table's partition attribute filter (#54161)
ref pingcap/tidb#50959
2024-06-24 14:37:21 +00:00
f124165c9b statistics: update some vars for internal sessions correctly (#53977)
close pingcap/tidb#53972
2024-06-13 05:19:29 +00:00
be804747e8 *: some tiny optimizations to reduce infoschema v2 memory (#53242)
ref pingcap/tidb#50959
2024-05-14 10:37:20 +00:00
69d7770335 statistics: remove useless GetFullTableName (#52552)
close pingcap/tidb#52553
2024-04-12 09:12:24 +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
40456f36fe *: make package sqlexec not depend on sessionctx anymore (#52031)
close pingcap/tidb#52029
2024-03-25 11:59:17 +00:00
27be90a6e8 *: use AllSchemaNames to replace AllSchemas (#51436)
ref pingcap/tidb#50959
2024-03-06 11:48:36 +00:00
51e1e13494 *: update interface{} to any (#50770)
ref pingcap/tidb#50765
2024-01-29 07:21:29 +00:00
8bebe44b26 statistics: delete old partition's stats meta after removing partitioning (#49553)
close pingcap/tidb#49547
2023-12-19 13:12:23 +00:00
cc6bf2bd60 statistics: handle exchange partition event (#49043)
close pingcap/tidb#47354
2023-12-08 08:42:47 +00:00
ac20c561d0 statistics: clean corrupted analyze jobs terminated by server down (#49115)
close pingcap/tidb#35292
2023-12-08 07:13:22 +00:00
86df166bd3 importinto: make cancel wait task done and some fixes (#48928)
close pingcap/tidb#48736
2023-11-29 09:59:48 +00:00
297872a7b2 statistics: move interfaces out of the util package (#48612) 2023-11-22 09:41:51 +00:00
fb58ab7a02 statstics: remove useless cache (#48650)
ref pingcap/tidb#47275
2023-11-16 11:47:18 +00:00
50237bdf1d statistics: use new DDL event in stats handler (#48516)
ref pingcap/tidb#48126
2023-11-13 12:17:15 +00:00
44f943063d handle: use logutil to unify the log category (#48520) 2023-11-10 11:00:43 +00:00
7eb6e61b3d statistics: Refactor code to improve readability (#48414) 2023-11-09 09:54:42 +00:00
046b52a065 statistics: fix the wrong comments (#48183) 2023-11-01 10:09:37 +00:00
36160d1cd1 planner: unify the way to handle txn in statshandle (#47859)
ref pingcap/tidb#46905
2023-10-20 10:39:41 +00:00
1501bf1cea *: add variable to control async merge global stats (#47806)
ref pingcap/tidb#47275
2023-10-20 08:21:30 +00:00
9b8890da70 statistics: check Killed in the GenJSONTableFromStats (#47778)
close pingcap/tidb#47779
2023-10-20 02:48:30 +00:00
6dea081b04 planner: move more methods from StatsHandle to its sub-packages (#47760)
ref pingcap/tidb#46905
2023-10-19 08:15:37 +00:00
ac1f0d92a6 planner: move more methods from StatsHandle to its sub-packages (#47749)
ref pingcap/tidb#46905
2023-10-18 14:39:28 +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
aebf22d22e planner: move more methods from StatsHandle to its sub-packages (#47696)
ref pingcap/tidb#46905
2023-10-17 13:52:59 +00:00
b61a60b21b planner: move more methods from StatsHandle to its sub-packages (#47679)
ref pingcap/tidb#46905
2023-10-17 03:00:28 +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
54bc3a52c8 statistics: move some functions into global stats (#47669)
ref pingcap/tidb#46905
2023-10-16 10:54:42 +00:00
19470d56f0 planner: move more methods from StatsHandle to its sub-packages (#47640)
ref pingcap/tidb#46905
2023-10-16 04:30:28 +00:00
318e82bbb7 *: move most of the packages to 'pkg' (#47123)
ref pingcap/tidb#41241
2023-10-13 14:36:26 +00:00