Commit Graph

217 Commits

Author SHA1 Message Date
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
7a85b01d73 planner, statistics: fix the inconsistent est when table has no stats (#52427)
close pingcap/tidb#52426
2024-04-15 11:31:36 +00:00
69d7770335 statistics: remove useless GetFullTableName (#52552)
close pingcap/tidb#52553
2024-04-12 09:12:24 +00:00
87b8d012b5 statstics: forcely use index to order when to init stats (#52462)
close pingcap/tidb#52466
2024-04-11 07:00:23 +00:00
510f44f5c0 bindinfo,planner,statistics: add OWNERS files in top module folders (#46981)
close pingcap/tidb#46969
2024-04-09 06:40:51 +00:00
9bb3697349 statistics: upgrade stats timeout checkpoint after it timeouts (#52424)
close pingcap/tidb#52425
2024-04-09 04:34:57 +00:00
6a35d5e507 statistics: fix puting wrong stats into cache (#52421)
close pingcap/tidb#52419
2024-04-08 14:36:20 +00:00
035f5a3cc0 statistics: batch write into stats cache when to init stats (#52347)
close pingcap/tidb#52339
2024-04-07 13:22:50 +00:00
c7d4c9cebb domon,statistics: remove useless code for sync load (#52358) 2024-04-07 07:45:19 +00:00
03f8dd127d statistics: fix wrong stats healthy check (#52352) 2024-04-07 06:22:49 +00:00