Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Analyze might not be triggered for new table #41161

Closed
winoros opened this issue Feb 7, 2023 · 1 comment
Closed

Analyze might not be triggered for new table #41161

winoros opened this issue Feb 7, 2023 · 1 comment
Labels
type/enhancement The issue or PR belongs to an enhancement.

Comments

@winoros
Copy link
Member

winoros commented Feb 7, 2023

Enhancement

In the previous TiDB, we will not analyze a table until it has no write operation in 1 min.

It seemed ok but when meet the partition table. If one partition analyze cannot be executed, we won't get the global stats of that table. And then the plan becomes strange.

So we might need to remove that check.

@winoros winoros added the type/enhancement The issue or PR belongs to an enhancement. label Feb 7, 2023
@winoros
Copy link
Member Author

winoros commented Feb 7, 2023

closed by #39395

@winoros winoros closed this as completed Feb 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type/enhancement The issue or PR belongs to an enhancement.
Projects
None yet
Development

No branches or pull requests

1 participant