Commit Graph

317 Commits

Author SHA1 Message Date
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
69f8a7bf35 statistics: enable the new PQ (#56437)
ref pingcap/tidb#55906
2024-10-13 08:00:35 +00:00
7e00e81a3f infoschema_v2: remove schemaTableInfos call of DeadTableLockChecker (#55956)
ref pingcap/tidb#55394
2024-10-13 06:44:55 +00:00
0955c91c8c statistics: reduce dumpStatsMaxDuration as 5min (#56538)
ref pingcap/tidb#56537
2024-10-11 04:52:36 +00:00
f732b78632 stats: implement stats handler for DDL notifier part 3 (#56526)
ref pingcap/tidb#55722
2024-10-10 15:34:58 +00:00
22aa14af15 testkit: unify the behavior for methods MustXXXX (#56534) 2024-10-10 09:35:08 +00:00
9b1fa1cda0 stats: implement stats handler for DDL notifier part 2 (#56519)
ref pingcap/tidb#55722
2024-10-10 06:14:52 +00:00
ffcfb5e08a linter, executor: fix the constructor linter and add it to BaseExecutor/BaseExecutorV2 (#56485)
close pingcap/tidb#56484
2024-10-10 03:13:00 +00:00
c49fb9f8d8 statistics,metrics: allow stats health to have finer granularity (#56475)
close pingcap/tidb#56498
2024-10-09 10:36:31 +00:00
8c4bab1963 *: upgrade go1.23.2 (#51126)
close pingcap/tidb#50765
2024-10-09 05:15:46 +00:00
5f02b09246 statistics: handle DDL events in the new PQ (#56435)
ref pingcap/tidb#55906
2024-10-08 10:46:49 +00:00
1455d45729 statistics: process DML changes in the new PQ (#56383)
ref pingcap/tidb#55906
2024-10-08 08:03:42 +00:00
8e33fcd86b stats: implement stats handler for DDL notifier part 1 (#56419)
ref pingcap/tidb#55722
2024-09-30 11:08:07 +00:00
bb9f4d185e statistics: avoid using infoschema when to init stats (#54514)
close pingcap/tidb#55851
2024-09-30 02:14:39 +00:00
5ad55c2122 stats: extract some functions for future SchemaChangeHandler use (#56379)
ref pingcap/tidb#55722
2024-09-30 01:19:49 +00:00
f7eba7e35e statistics: add AnalysisPriorityQueueV2 (#56335)
ref pingcap/tidb#55906
2024-09-27 10:52:22 +00:00
f75100c36e statistics: extract the common function to rebuild the queue (#56251)
ref pingcap/tidb#55906
2024-09-26 12:12:46 +00:00
9129323378 *: Deprecate tidb_enable_table_partition and always set to ON (#56190)
close pingcap/tidb#56189
2024-09-25 12:29:34 +00:00
75d9830bd2 *: AnalyzeV2 supports processing special global indexes (#56115)
close pingcap/tidb#54233
2024-09-25 06:34:50 +00:00
0442c68e1c *: Deprecated and always set to ON tidb_enable_global_index (#56169)
ref pingcap/tidb#45133
2024-09-24 22:59:43 +00:00
05cff08c42 statistics: add the SetIndicators API (#56248)
ref pingcap/tidb#55906
2024-09-24 11:54:57 +00:00
92d45d54f1 test: Add auto-analyze priority calculator test suite (#55683)
close pingcap/tidb#55682
2024-09-20 13:47:03 +00:00
68fdf55d94 *: rename some packages of context (#56108)
close pingcap/tidb#56107
2024-09-19 07:11:03 +00:00