-
Notifications
You must be signed in to change notification settings - Fork 6k
Closed
Labels
affects-7.5This bug affects the 7.5.x(LTS) versions.This bug affects the 7.5.x(LTS) versions.report/customerCustomers have encountered this bug.Customers have encountered this bug.severity/majorsig/plannerSIG: PlannerSIG: Plannertype/bugThe issue is confirmed as a bug.The issue is confirmed as a bug.
Description
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
Metadata
Metadata
Assignees
Labels
affects-7.5This bug affects the 7.5.x(LTS) versions.This bug affects the 7.5.x(LTS) versions.report/customerCustomers have encountered this bug.Customers have encountered this bug.severity/majorsig/plannerSIG: PlannerSIG: Plannertype/bugThe issue is confirmed as a bug.The issue is confirmed as a bug.