Skip to content

TiFlash causes heavy PD pressure when there are many regions #38570

@hehechen

Description

@hehechen

Bug

Currently when there are many regions, TiFlash may cause high PD CPU usage.

After this PR merged, TiDB can get TiFlash replica table region count by PD new API /pd/api/v1/stats/region\?count to reduce the overhead of PD when there are many regions.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions