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

stop loading stats when has too much stats in the memory during the init stats #54000

Closed
hawkingrei opened this issue Jun 13, 2024 · 0 comments · Fixed by #53999
Closed

stop loading stats when has too much stats in the memory during the init stats #54000

hawkingrei opened this issue Jun 13, 2024 · 0 comments · Fixed by #53999
Labels
affects-7.5 affects-8.1 type/enhancement The issue or PR belongs to an enhancement.

Comments

@hawkingrei
Copy link
Member

Enhancement

During the initialization phase of TiDB, the system loads statistics into memory. However, when the volume of statistics is too large, it can lead to excessive memory usage, causing performance degradation or even out-of-memory errors.

Currently, TiDB does not have a mechanism to stop loading statistics when there are too many stats in memory during the initialization phase. This can lead to significant memory consumption, impacting the stability and performance of the system.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
affects-7.5 affects-8.1 type/enhancement The issue or PR belongs to an enhancement.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants