Bug Report
Please answer these questions before submitting your issue. Thanks!
1. Minimal reproduce step (Required)
we need to set the tidb config as following.
[performance]
lite-init-stats = false
force-init-stats = true
concurrently-init-stats = true
operate as following
tiup Playground: Start a 7.5.4 cluster, remember to add --tag.
create table t(a int, b int);
insert into t value(1,1),(2,2),(3,3);
Stop the cluster, then start it again.
analyze table t;
create table tt(a int, b int);
insert into tt value(1,1),(2,2),(3,3);
Stop the cluster again, then start it again.
Wait for 15 seconds.
analyze table tt;
Stop the cluster again, then start it again.
explain select * from t where a = 1;
2. What did you expect to see? (Required)
we cannot see any pseudo stats
3. What did you see instead (Required)
we can see a pseudo stats
4. What is your TiDB version? (Required)
only for v7.5
Bug Report
Please answer these questions before submitting your issue. Thanks!
1. Minimal reproduce step (Required)
we need to set the tidb config as following.
operate as following
2. What did you expect to see? (Required)
we cannot see any pseudo stats
3. What did you see instead (Required)
we can see a pseudo stats
4. What is your TiDB version? (Required)
only for v7.5