Commit Graph

885 Commits

Author SHA1 Message Date
bd59ea3232 planner: remove unnecessary method StatsCache.FreshMemUsage (#45294)
ref pingcap/tidb#44461
2023-07-11 09:06:43 +00:00
cac0db2881 planner: simplify StatsCacheInner (#45256)
ref pingcap/tidb#44461
2023-07-10 10:47:12 +00:00
aeda06ec5e planner: simplify StatsCacheWrapper (#45254)
ref pingcap/tidb#44461
2023-07-10 04:53:12 +00:00
19ea6e0117 planner: simplify StatsCachePointer (#45238)
ref pingcap/tidb#44461
2023-07-07 12:35:11 +00:00
351e37993d planner: simplify StatsCacheWrapper (#45230)
ref pingcap/tidb#44461
2023-07-07 09:21:41 +00:00
c384c0a8da *: Move log category into a real field (#45058)
close pingcap/tidb#45057
2023-07-04 07:33:44 +00:00
b9671dcdfb statistics: enable revive (#45110)
ref pingcap/tidb#40786
2023-07-03 03:06:43 +00:00
7838483dbc statistic: refactor stats cache (#45054)
ref pingcap/tidb#44861
2023-06-30 10:42:55 +00:00
bc80cf9024 planner, sessionctx: reintroduce #41996 through optimizer fix control (#44865)
close pingcap/tidb#44855
2023-06-26 14:23:35 +00:00
49dfef978a statistics: improve code for cache (#44748)
ref pingcap/tidb#44861
2023-06-21 07:59:42 +00:00
282c753cfb statistics, planner: use the correct IndexInfo in GenerateHistCollFromColumnInfo() (#44441)
close pingcap/tidb#44369
2023-06-13 11:11:07 +00:00
0605903160 executor: fix data race at the TestShowStatsExtended (#44562)
close pingcap/tidb#44532
2023-06-13 05:27:06 +00:00
c7f2a2317d linter: enable early return (#44564)
close pingcap/tidb#40786
2023-06-12 05:43:05 +00:00
ef1b724d22 statistics: remove h.mu.Lock when creating NewSessionStatsCollector (#44510)
close pingcap/tidb#44502
2023-06-08 05:35:41 +00:00
6ba05018df executor: global kill 32bits (local connID part) (#25385)
ref pingcap/tidb#8854
2023-06-06 08:27:42 +00:00
21934de769 statistic: use atomic.Pointer to avoid type conversions (#44432) 2023-06-06 07:13:40 +00:00
9bac1551dc statistics: not put pseudo table of partition table into cache (#44374)
close pingcap/tidb#44308
2023-06-05 02:09:40 +00:00
50fb9a77a9 linter: enable fieldalignment for statistics/handle (#44334)
ref pingcap/tidb#40786
2023-06-01 10:08:42 +00:00
4c83352678 *: Introduce runaway statement in resource group (#43843)
ref pingcap/tidb#43691
2023-05-31 11:16:42 +00:00
042365fa12 *: move row count cache from package executor to statistics (#44250) 2023-05-30 04:28:42 +00:00
df91517d9a statistics: add idx_create_time for stats_meta_history and stats_history (#44195)
close pingcap/tidb#44169
2023-05-26 02:55:40 +00:00
b56c5b6e11 statistics: show stats mem usage even if stats mem quota is not set (#44177)
ref pingcap/tidb#34052
2023-05-25 09:43:40 +00:00
d6927302ed statstest: split handletest (#44165) 2023-05-25 08:53:39 +00:00
479179b708 config: turn on lite-init-stats and force-init-stats by default (#44080)
ref pingcap/tidb#42160
2023-05-25 04:55:40 +00:00
96cc2fdd19 handletest: enable race (#43955) 2023-05-22 03:31:37 +00:00
45cb541024 build(deps): bump github.com/prometheus/client_model from 0.3.0 to 0.4.0 (#43798) 2023-05-16 05:21:17 +00:00
0c1f36338b planner, statistics: fix panic in plan replayer debug trace and add more tests (#43278)
ref pingcap/tidb#43069, close pingcap/tidb#43412
2023-05-06 09:46:56 +00:00
50dd8b40f1 *: provide a option to wait for init stats to finish before providing service during startup (#43381)
ref pingcap/tidb#42160, close pingcap/tidb#43385
2023-04-26 15:17:52 +00:00
f2760fbb35 *: remove useless code (#43266) 2023-04-21 13:03:20 +08:00
1bbc6924fd *: add more stats related diagnostic information to execution plan and slow log (#43114)
close pingcap/tidb#43122
2023-04-20 07:13:19 +08:00
0423a09188 planner, statistics: add more debug trace (#43200)
ref pingcap/tidb#43069
2023-04-20 06:11:20 +08:00
d6bfa0e271 planner, statistics: introduce lite init stats (#43077)
ref pingcap/tidb#42160
2023-04-19 20:07:20 +08:00
eb2771d1ee statistics, planner: add debug trace base utils and trace for GetRowCountByXXX() (#43120)
ref pingcap/tidb#43069
2023-04-18 22:37:19 +08:00
8d16b2656c statistics: remove useless parameter (#43088) 2023-04-17 19:03:17 +08:00
579f47e412 statistics: remove statistics.Column.Count (#43033)
ref pingcap/tidb#42160
2023-04-14 20:10:46 +08:00
db68a1222e staistics: fix load stats from old version json (#42967)
close pingcap/tidb#42931
2023-04-12 19:57:01 +08:00
a1338453c8 statistics: refine index/column stats methods (#42910)
ref pingcap/tidb#42160
2023-04-12 00:27:01 +08:00
86f215d8f5 planner: plan cache can be aware of statistics changes (#42921)
ref pingcap/tidb#36598
2023-04-11 19:35:00 +08:00
e942ab6148 kazel: support auto-config shard_count (#42751)
close pingcap/tidb#42827
2023-04-06 15:46:58 +08:00
f907e5aa5f statistics: rename Table.Count to Table.RealtimeCount (#42764)
ref pingcap/tidb#42160
2023-04-04 05:38:57 +08:00
1d36047a47 ddl: Add the correct partitions to avoid error in updateGlobalStats (#42523)
close pingcap/tidb#42180
2023-03-24 06:42:42 +08:00
3c942f7e10 bazel: set short timeout as 120s (#42396) 2023-03-22 01:50:42 +08:00
56412f514e planner: revert #41996 due to an execution plan regression in JOB workload (#42362)
close pingcap/tidb#42351
2023-03-17 21:03:30 +08:00
5aceb2e525 expression: support ilike function (#40942)
close #40943
2023-03-17 13:37:15 +08:00
471c084017 planner, sessionctx: add variable to control index selection for "WHERE b ORDER BY a LIMIT n" (#42116)
close pingcap/tidb#42060
2023-03-16 01:52:41 +08:00
e264615674 planner: add an upper bound for estimated row count of inner side of index join (#41996)
ref pingcap/tidb#31316
2023-03-14 21:40:38 +08:00
c19cae6cba statistics: fix DATA RACE in the TestInitStatsVer2 (#42123)
close pingcap/tidb#42122
2023-03-13 17:14:41 +08:00
145b7cdf72 statistics: remove unused indexStatsFromStorage and columnStatsFromStorage (#42077)
ref pingcap/tidb#40624, ref pingcap/tidb#40791
2023-03-11 12:13:13 +08:00
cdab35847f statistics: fix unnecessary index fmsketch loading (#42074)
close pingcap/tidb#42052
2023-03-10 17:03:13 +08:00
fd45f737cc statistics: fix wrong column stats loading after analyze twice (#42076)
close pingcap/tidb#42073
2023-03-10 14:15:13 +08:00