Skip to content

GCStats runs too many times #31778

@XuHuaiyu

Description

@XuHuaiyu

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    report/customerCustomers have encountered this bug.sig/plannerSIG: Plannertype/enhancementThe issue or PR belongs to an enhancement.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions