Skip to content

add variable to control the concurrency of buildSampling #47583

@hawkingrei

Description

@hawkingrei

Enhancement

Now we use tidb_build_stats_concurrency to control it. we use tidb_build_stats_concurrency to control the number of analyze jobs, too. It will create too many goroutines in the tidb. it will affect the performance and lead to OOM.

Metadata

Metadata

Assignees

No one assigned

    Labels

    type/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