Commit Graph

33 Commits

Author SHA1 Message Date
0f5aa223ec *: rewrite InTest to EnableInternalCheck (#60167)
ref pingcap/tidb#60176
2025-06-05 07:56:08 +00:00
32309b9270 executor: replace logutil with statslogutil for improved logging in the analyze process (#61245)
close pingcap/tidb#59939
2025-05-22 17:13:07 +00:00
34afcbb9d3 executor: gopls modernize (#60787)
close pingcap/tidb#60786
2025-05-07 14:32:26 +00:00
0e150fc770 statistics: improve handling for slow stats updates and logging (#59887)
close pingcap/tidb#54552
2025-03-17 11:21:58 +00:00
cf4d252af8 *: split definition out of variable pkg and refactor some reorg methods (#59146)
ref pingcap/tidb#57229, ref pingcap/tidb#57497
2025-01-23 09:24:44 +00:00
f585f5d1d4 statistics: avoid stats meta full load after table analysis (#57756)
close pingcap/tidb#57631
2024-12-03 05:55:20 +00:00
e3f9303528 statistics: Handle the adding index event properly while the job is running (#57113)
ref pingcap/tidb#55906
2024-11-06 08:00:15 +00:00
b02581a7a4 *: fix data race in the EnableAnalyzeSnapshot (#55596)
close pingcap/tidb#55469
2024-08-23 03:01:43 +00:00
e30408e869 variable: mark analyze-partition-concurrency-quota as deprecated (#55409)
ref pingcap/tidb#55043
2024-08-20 02:24:12 +00:00
876268f619 *: add ctx parameter to infoschema TableByID (#55329)
ref pingcap/tidb#50959
2024-08-09 10:42:47 +00:00
686f8bc383 statistics: move history-related functions into the stats handle (#55163)
ref pingcap/tidb#55043
2024-08-07 09:30:40 +00:00
73e3425923 statistics: do not copy and paste the code for saving statistics (#55046)
ref pingcap/tidb#55043
2024-07-31 08:52:21 +00:00
273ca667ab *: remove limiting process id for auto analyze (#54902)
ref pingcap/tidb#53460
2024-07-29 16:01:18 +00:00
06e0e17d98 *: fix ctrl+c can not kill tidb during statistics init (#54594)
close pingcap/tidb#54589
2024-07-15 09:26:59 +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
4a5197472f statistics: refactor write merge-global-stats (#53549) 2024-05-28 11:13:27 +00:00
6d6c203e29 statistics: add more comments to FMSketch (#52841) 2024-04-24 12:33:11 +00:00
dde0a5483f statistics: do not block when sending analyze result (#52107)
close pingcap/tidb#51993
2024-03-27 11:41:18 +00:00
40456f36fe *: make package sqlexec not depend on sessionctx anymore (#52031)
close pingcap/tidb#52029
2024-03-25 11:59:17 +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
51e1e13494 *: update interface{} to any (#50770)
ref pingcap/tidb#50765
2024-01-29 07:21:29 +00:00
9feb102d19 executor: BCE for the analyze (#49726)
close pingcap/tidb#49704
2023-12-25 06:58:56 +00:00
7f9559c10c executor: refactor executor pkg's warning and note generation (#49600)
close pingcap/tidb#49291
2023-12-21 10:42:23 +00:00
92f071afeb executor: fix hang when the analyze worker unexpectedly exits (#48365)
close pingcap/tidb#48356
2023-11-08 13:38:11 +00:00
11695f26ef executor: add recover handler for handleResultsError (#48326)
close pingcap/tidb#48327
2023-11-06 15:02:11 +00:00
4f00ece106 executor: fix hang for analyze table when exceed tidb_mem_quota_analyze (#48264)
close pingcap/tidb#48171
2023-11-03 15:47:09 +00:00
5a22d566a8 executor: reuse goroutine in the analyze (#47637)
ref pingcap/tidb#47275
2023-11-03 05:51:38 +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
6dd6a5e50c executor: improve channel length for analyze (#47960)
ref pingcap/tidb#47275
2023-10-26 06:27:34 +00:00
2a628c4801 *: unified the cancel/kill logic in tidb (#47063)
close pingcap/tidb#47075
2023-10-23 09:48:38 +00:00
54bc3a52c8 statistics: move some functions into global stats (#47669)
ref pingcap/tidb#46905
2023-10-16 10:54:42 +00:00
8f532efb2f executor: reuse the memory from analyze result (#47617)
ref pingcap/tidb#47275
2023-10-13 16:25:57 +00:00
318e82bbb7 *: move most of the packages to 'pkg' (#47123)
ref pingcap/tidb#41241
2023-10-13 14:36:26 +00:00