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

GCStats runs too many times #31778

Closed
XuHuaiyu opened this issue Jan 18, 2022 · 1 comment · Fixed by #46138
Closed

GCStats runs too many times #31778

XuHuaiyu opened this issue Jan 18, 2022 · 1 comment · Fixed by #46138
Labels
report/customer Customers have encountered this bug. sig/planner SIG: Planner type/enhancement The issue or PR belongs to an enhancement.

Comments

@XuHuaiyu
Copy link
Contributor

Enhancement

There are ~4000 tables in tidb-server, and only 78 of them are frequently accessed.

From the dashboard we can see that the SQLs triggered by GCStats run too frequently.
截屏2022-01-18 下午9 22 22

Which causes the CPU to oscillate every 5mins:
截屏2022-01-18 下午9 24 21

@XuHuaiyu XuHuaiyu added type/enhancement The issue or PR belongs to an enhancement. sig/planner SIG: Planner labels Jan 18, 2022
@winoros
Copy link
Member

winoros commented Aug 10, 2023

ref #45966

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
report/customer Customers have encountered this bug. sig/planner SIG: Planner type/enhancement The issue or PR belongs to an enhancement.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants