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

improve tidb_enable_historical_stats to avoid oom #53048

Closed
hawkingrei opened this issue May 7, 2024 · 0 comments · Fixed by #53046
Closed

improve tidb_enable_historical_stats to avoid oom #53048

hawkingrei opened this issue May 7, 2024 · 0 comments · Fixed by #53046
Labels
type/enhancement The issue or PR belongs to an enhancement.

Comments

@hawkingrei
Copy link
Member

Enhancement

historical stats can facilitate the debugging of the issue. but it has some problems to lead the OOM. it must load all old stats, then write all stats into tikv. All stats in the memory will OOM.
we need to refactor all code of historical stats.

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

Successfully merging a pull request may close this issue.

1 participant