Skip to content

auto analyze may get triggered out of specified time when new index is added #28698

Closed
@time-and-fate

Description

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions