Commit Graph

303 Commits

Author SHA1 Message Date
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
5709ba4357 statistics: add an analysis job factory (#56073)
ref pingcap/tidb#55906
2024-09-14 12:11:25 +00:00
3688a2b2b8 statistics: do not depend on table information when calculating the table size (#56036)
ref pingcap/tidb#55906
2024-09-14 09:35:07 +00:00
b9a7d35b82 statistics: add for update into write to avoid inaccurate results (#56055)
close pingcap/tidb#56062
2024-09-13 17:48:55 +00:00
162de160ae statistics: remove useless sessionctx (#56069) 2024-09-13 11:13:18 +00:00
027f01b7ef br: migrate pitr id map to the system table mysql.tidb_pitr_id_map (#55871)
ref pingcap/tidb#55870
2024-09-13 07:28:59 +00:00
8fb9eed991 ddl: move SchemaChangeEvent related code to a package (#56035)
ref pingcap/tidb#55722
2024-09-12 09:39:02 +00:00
ebf3146857 statistics: fix the error that init stats might got failure when decoding column bucket (#55685)
close pingcap/tidb#55684
2024-09-11 15:43:27 +00:00
2ea3542218 ddl, stat: switch to new struct for remove partition, flash back and remove DDLEvent (#55973)
ref pingcap/tidb#55723
2024-09-11 05:43:58 +00:00
aad3f7ad0f statistics: reorder key and value generic parameters of the heap (#55974)
ref pingcap/tidb#55906
2024-09-10 08:30:56 +00:00
ea6dba8e7a ddl, stat: switch to new struct for exchange/reorg/add partition (#55944)
ref pingcap/tidb#55723
2024-09-10 04:24:42 +00:00
df1c21e6f1 statstics: increase the synchronization offset size when to sync stats (#55943)
ref pingcap/tidb#54552
2024-09-09 10:41:17 +00:00
de0dcc0860 ddl, stat: switch to new struct for drop table, add/modify column (#55912)
ref pingcap/tidb#55723
2024-09-09 10:41:08 +00:00
95527cd700 statistics: use analysis worker to run analysis jobs (#55848)
close pingcap/tidb#55618
2024-09-09 03:04:27 +00:00
dd1808364a planner: fix incorrect estRows with global index and json column (#55842)
close pingcap/tidb#55818
2024-09-06 12:08:39 +00:00