pingcap / pingcap/tidb

Auto analyze is triggered after analyzing tables manually without data changes

Open
#36,553 0 comments 0 reactions 1 assignee Claimed by @xuyifangreeneyes View on GitHub
affects-6.2 sig/planner type/enhancement
Dominant language
Go
Stars
40.5k
Forks
6.2k
PR merge metrics
PR metrics pending

Description

## Enhancement
Without data changes, there is no need to trigger auto analyzing after analyzing tables manually. It's a waste of CPU resources and may result in unexpected plan changes like the case in the issue https://github.com/pingcap/tidb/issues/36552.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.