auto analyze may get triggered out of specified time when new index is added #28698
Closed
Description
opened on Oct 11, 2021
Bug Report
Please answer these questions before submitting your issue. Thanks!
1. Minimal reproduce step (Required)
set global tidb_auto_analyze_start_time='01:00 +0000';
set global tidb_auto_analyze_end_time='01:00 +0000';
create table t(a int);
Insert into t more than 1000 rows data.
alter table t add index ia(a);
2. What did you expect to see? (Required)
Auto analyze is not triggered.
3. What did you see instead (Required)
Auto analyze is triggered.
4. What is your TiDB version? (Required)
It should affect all versions.
Activity