mysql.analyze_jobs
missed indexes
#57996
Labels
affects-8.1
This bug affects the 8.1.x(LTS) versions.
affects-8.5
This bug affects the 8.5.x(LTS) versions.
sig/planner
SIG: Planner
type/enhancement
The issue or PR belongs to an enhancement.
Bug Report
Please answer these questions before submitting your issue. Thanks!
1. Minimal reproduce step (Required)
https://github.com/winoros/tidb/blob/debugging/pkg/statistics/handle/autoanalyze/priorityqueue/interval.go
Some internal SQLs're running on the table
mysql.analyze_jobs
.But, this table only has one index.
As a result, we'll see a lot of full scan in a big cluster testing.
2. What did you expect to see? (Required)
3. What did you see instead (Required)
4. What is your TiDB version? (Required)
master
The text was updated successfully, but these errors were encountered: