Commit Graph

226 Commits

Author SHA1 Message Date
2088b342e8 planner: fix some typos (#54649) 2024-07-17 09:20:59 +00:00
1bf27af89f statistics: init LastAnalyzeVersion with snapshot timestamp (#54465)
ref pingcap/tidb#53567
2024-07-16 08:21:00 +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
e5a8a23e83 *: enable the predicate columns feature by default (#54440)
ref pingcap/tidb#53567
2024-07-12 09:23:28 +00:00
f490a98438 *: add context.Context parameter to infoschema TableByName (#54479)
ref pingcap/tidb#50959
2024-07-09 16:04:33 +00:00
2c72c39ce0 statistics: add more comments for the histogram bucket (#54519) 2024-07-09 10:49:33 +00:00
8c1ce99065 ddl: schedule as many jobs as possible in one round, simplify sql to query jobs (#54438)
ref pingcap/tidb#54436
2024-07-09 04:39:02 +00:00
0f81cea72c config: Change tidb_opt_projection_push_down default value to true (#53831)
ref pingcap/tidb#51876
2024-07-08 08:36:03 +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
878fa328ea statistics: update stats_history table when it meets duplicate (#54315)
close pingcap/tidb#47539
2024-07-01 07:20: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
3e1ee9ec62 statsistics: unexport the Columns and Indices of HistColl (#53768)
close pingcap/tidb#53666
2024-06-27 12:53:54 +00:00
01cc0274bd stats: fix index_length in information_schema (#54176)
close pingcap/tidb#54173
2024-06-25 02:20:51 +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
fd2b5e97a1 statistics: always tracking predicate columns (#54152)
ref pingcap/tidb#53567
2024-06-24 06:56:56 +00:00
adf2df9498 statistics: remove useless code (#54158) 2024-06-21 09:32:57 +00:00
tpp
8ee4897b39 planner: reduce topn count to exclude non-skewed values (#53035)
close pingcap/tidb#53111
2024-06-19 05:37:17 +00:00
2cea9949f2 statistics: stop loading too many stats when to init stats (#53999)
close pingcap/tidb#54000
2024-06-18 04:26:46 +00:00
tpp
a8af911cf2 planner: improve range underestimation (#53860)
close pingcap/tidb#53907
2024-06-16 16:04:16 +00:00
f124165c9b statistics: update some vars for internal sessions correctly (#53977)
close pingcap/tidb#53972
2024-06-13 05:19:29 +00:00
2ee6d22383 statistics: updating stats cache can trigger evict (#53979)
close pingcap/tidb#53742
2024-06-13 04:43:29 +00:00
395edabbae statistics: not convert the database names to lowercase duration the auto analyze (#53906)
close pingcap/tidb#53905
2024-06-11 11:50:59 +00:00
a44d409064 planner, stats: assign high priority for sync load related internal SQLs (#51636)
ref pingcap/tidb#50332
2024-06-04 11:58:26 +00:00
9c1a45ab46 statistics: fix wrong NDV in the global stats when to disable async-merge-global-stats (#53762)
close pingcap/tidb#53752
2024-06-04 11:01:27 +00:00
3e8ba69e25 statistics: add counter for sync load's backgroud tasks (#53769) 2024-06-04 04:19:31 +00:00
9745a16ba6 statistics: clean up dropped predicate columns stats usage (#53680)
ref pingcap/tidb#53567
2024-05-30 10:44:51 +00:00
5e5326be79 statistics: print the process of init stats (#53560)
close pingcap/tidb#53564
2024-05-30 08:16:22 +00:00
aee176b572 statstics,ddl: fix FK table forgets to send CreateTable event (#53654)
close pingcap/tidb#53652
2024-05-29 11:27:03 +00:00
4a5197472f statistics: refactor write merge-global-stats (#53549) 2024-05-28 11:13:27 +00:00
bf704fd635 domain: make the transaction from initStatsCtx blocking gc (#53602)
close pingcap/tidb#53592
2024-05-28 10:19:28 +00:00
772db2079e statistics: refine comments to FMSketch (#53601) 2024-05-28 10:19:21 +00:00
bdb0545f73 statistics: make sure that get max table id when to init stats (#53606)
close pingcap/tidb#53607
2024-05-28 06:26:50 +00:00
2300ac6fe6 statistics: add comments and remove unnessary check (#53568)
ref pingcap/tidb#53567
2024-05-27 11:20:50 +00:00
e954bcfc74 *: not load unnecessay data during the non-lite-init-stats (#53399)
close pingcap/tidb#53425
2024-05-22 10:53:47 +00:00
a3e6d1cd8a statistics: split async load package (#53318) 2024-05-16 07:35:49 +00:00
5d27b731d5 planner, statistics: async load should load all column meta info for lite init (#53297)
ref pingcap/tidb#53141
2024-05-15 20:05:42 +00:00
687f39c12f statistics: fix wrong behavior for primary key' non-lite init stats (#53298)
ref pingcap/tidb#37548
2024-05-15 15:22:12 +00:00
be804747e8 *: some tiny optimizations to reduce infoschema v2 memory (#53242)
ref pingcap/tidb#50959
2024-05-14 10:37:20 +00:00
e5651c43bd planner: optimize performance of IndexUsage utilities (#53195)
close pingcap/tidb#51898
2024-05-13 04:40:10 +00:00
49f09fef57 statistics: support adaptive sync load concurrency (#53142)
close pingcap/tidb#53157
2024-05-10 11:22:09 +00:00
81a7cf5548 variable: disable tidb_enable_historical_stats by default (#53046)
close pingcap/tidb#53048
2024-05-07 11:11:39 +00:00
1d698c7887 statistics: reduce allocation of types.Context (#52615)
close pingcap/tidb#52342
2024-04-28 19:26:58 +00:00
40c81c0fd5 *: fix global index work with memIndexReader executor (#52660)
close pingcap/tidb#52493
2024-04-28 11:23:57 +00:00
58bfd1cb91 flashback: fix realtikvtest/flashbacktest test cases (#52899)
close pingcap/tidb#52898
2024-04-26 04:42:11 +00:00
6d6c203e29 statistics: add more comments to FMSketch (#52841) 2024-04-24 12:33:11 +00:00
cd90f81880 statistics: support global singleflight for sync load (#52796)
close pingcap/tidb#52797
2024-04-24 09:51:11 +00:00
8629068c0f *: avoid concurrently using the session in the syncload (#52830)
close pingcap/tidb#52827
2024-04-23 15:10:41 +00:00
cfcc770e8a statistics: add upper bound of retry for sync load (#52658)
close pingcap/tidb#52657
2024-04-22 11:21:09 +00:00
53c050b5f9 statistics: fix small typo (#52685) 2024-04-17 16:13:37 +00:00
e5863e1623 statistics: reduce small obj alloc for PreCalculateScalar (#52623)
close pingcap/tidb#52343
2024-04-16 15:24:06 +00:00