Commit Graph

339 Commits

Author SHA1 Message Date
tpp
a3574aa6a3 planner: Refactor out-of-range estimation based upon modifyCount (#57431)
close pingcap/tidb#58068
2024-12-18 17:28:42 +00:00
f05cbddfd3 statistics: skip non-exicted table when to init stats (#58381)
close pingcap/tidb#58378
2024-12-18 12:43:22 +00:00
dde1dcd750 session: add indexes for mysql.analyze_jobs (#58134)
close pingcap/tidb#57996
2024-12-17 10:05:42 +00:00
8a80a41b8d statistics: limit the batch size when updating the stats cache (#57954)
close pingcap/tidb#57953
2024-12-17 07:43:45 +00:00
9823f003de statistics: get right max table id when to init stats (#58280)
close pingcap/tidb#58284
2024-12-16 09:32:57 +00:00
27b53925b2 *: use DDL subscriber updating stats meta (#57872)
close pingcap/tidb#57871
2024-12-13 10:44:06 +00:00
d5b6b699c8 statistics: GCStats should not wrongly remove record of an existing table (#58108)
close pingcap/tidb#57983
2024-12-11 13:31:24 +00:00
4ec2b23d61 statistics: fix flaky test TestSyncLoadOnObjectWhichCanNotFoundInStorage (#58164)
close pingcap/tidb#58162
2024-12-11 08:24:09 +00:00
d3add7c6a1 statstics: trigger evict by the timer (#58027)
close pingcap/tidb#58052
2024-12-11 04:44:09 +00:00
7e5096eb74 statistics: refactor common functions into subscriber (#58127)
ref pingcap/tidb#57871
2024-12-10 12:02:22 +00:00
9eddc072eb statistics: copy stats when to update it for avoiding data race (#58106)
close pingcap/tidb#58074
2024-12-10 04:35:33 +00:00
1521bf723d statistics: right deal with error for reading stats from storage (#58048)
ref pingcap/tidb#57901
2024-12-06 09:40:44 +00:00
5de1105f97 statistics: lite init used wrong value to build table stats ver (#58021)
close pingcap/tidb#58020
2024-12-06 08:32:59 +00:00
5a25eeab98 statistics: rename subscriber and handle drop schema event (#58009)
ref pingcap/tidb#57871
2024-12-05 09:50:41 +00:00
da965d144c statistics: move JSON* to statistics/util (#57950)
ref pingcap/tidb#57949
2024-12-04 18:30:23 +00:00
d0216482f8 statistics: correct behavior of non-lite InitStats and stats sync load of no stats column (#57803)
close pingcap/tidb#57804
2024-12-03 12:00:32 +00:00
b273109b9a statistics: gc the statistics correctly after drop the database (#57309)
close pingcap/tidb#57230
2024-12-03 07:30:17 +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
5e73267e71 statistics: do not record historical stats meta if the table is locked (#57636)
close pingcap/tidb#57628
2024-12-02 14:55:20 +00:00
b449b3b257 statistics: add more tests for init stats (#57664)
ref pingcap/tidb#57544
2024-11-28 11:33:50 +00:00
2b03447f19 statistics: fix some problem related to stats async load (#57723)
close pingcap/tidb#57722, close pingcap/tidb#57735
2024-11-27 15:25:23 +00:00
d0de86be94 statistics: rightly deal with timout when to send sync load (#57712)
close pingcap/tidb#57710
2024-11-27 04:49:29 +00:00
702c4f24dc statistics: handle deleted tables correctly in the PQ (#57649)
close pingcap/tidb#57648
2024-11-25 08:35:44 +00:00
d42a36d59a statistics: use infoschema api to get table info (#57574)
close pingcap/tidb#57573
2024-11-21 15:48:32 +00:00
bfec7325a1 statsitstics: avoid sync load column which is skiped type to analyze (#57144)
close pingcap/tidb#57138
2024-11-21 11:36:47 +00:00
d8c9190a6e statstics: fix wrong stats health metrics (#57555)
close pingcap/tidb#57176
2024-11-20 09:52:02 +00:00
cfa52d0e8f statistics: add a priority queue API (#57385)
close pingcap/tidb#55063
2024-11-19 06:58:14 +00:00
66cb4252a8 statistics: fix bad lower bound and upper bound when to dump stats into json (#57314)
close pingcap/tidb#56083
2024-11-13 11:51:02 +00:00
eea72ec24e infoschema: don't load table info to get auto_increment value (#57296)
close pingcap/tidb#57295
2024-11-13 04:38:47 +00:00
2ad93c2060 statistics: do not analyze non exist table anymore (#57244)
close pingcap/tidb#57227
2024-11-12 23:40:35 +00:00
5caa238b83 planner: use collected predicate columns to do stats sync load (#56813)
close pingcap/tidb#56812
2024-11-12 14:38:50 +00:00
1b490966af statistics: make sure PQ can analyze all indexes with stats version 1 (#57258)
close pingcap/tidb#57257
2024-11-11 08:03:48 +00:00
05cec6d403 ddl,statistics: handle the drop database event in the PQ (#57222)
ref pingcap/tidb#57227
2024-11-08 10:00:52 +00:00
225fb949ac statistics: make sure the PQ can be re-initialized (#57194)
ref pingcap/tidb#55906
2024-11-07 10:43:06 +00:00
87669fb1ef statistics: reduce the log output (#57184)
ref pingcap/tidb#55906
2024-11-07 04:08:27 +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
b71f0c0796 statistics: handle the prune mode correctly in the refresher (#57096)
ref pingcap/tidb#55906
2024-11-05 11:16:06 +00:00
c240fdf085 *: avoid flaky test with high load scenario (#57016) 2024-10-31 10:23:27 +00:00
a22fc590cc statistics: add the refresher as a stats owner listener (#56998)
ref pingcap/tidb#55906
2024-10-31 08:48:34 +00:00
274226eb96 statistics: simplify the heap implementation (#56756)
ref pingcap/tidb#55906
2024-10-30 04:32:49 +00:00
c7ea37618e statistics: register the PQ as a ddl subscriber (#56816)
ref pingcap/tidb#55722
2024-10-25 14:37:24 +00:00
48c57ce499 statistics: rename queue files for consistency (#56732)
ref pingcap/tidb#55906
2024-10-23 07:06:30 +00:00
ba5823bb1c *: move ddl notifier as domain member and test pub/sub (#56776)
ref pingcap/tidb#55722
2024-10-23 04:01:33 +00:00
eebdcfebd5 planner, stats: overflow estimation may lead to wrong join reorder (#56752)
close pingcap/tidb#56704
2024-10-22 04:26:14 +00:00
fdf550bbdd ddl_notifier: split create tables event into multiple create table events (#56739)
ref pingcap/tidb#55722
2024-10-22 02:22:20 +00:00
aed9e8e656 statistics: handle lock and unlock operations correctly (#56454)
ref pingcap/tidb#55906
2024-10-18 10:49:29 +00:00
1e76e6e1f5 ddl_notifier: publish schema change event to store by asyncNotifyEvent (#56425)
ref pingcap/tidb#55722
2024-10-17 07:05:19 +00:00
1052a555f5 *: force forbiding to use mock.NewContext in production code (#56654)
close pingcap/tidb#53388
2024-10-17 02:04:25 +00:00
ee4b86d0c4 planner, stats: skip (auto) analyze on vector column and index (#56584)
close pingcap/tidb#56583
2024-10-14 20:04:11 +00:00
10647c9d73 statstics: avoid unnecessary try when to sync load (#56614)
close pingcap/tidb#56472
2024-10-14 08:55:34 +00:00