pingcap / pingcap/tidb

planner: low-priority set for Analyze Cop requests is not working in some latest versions

Open
#64,394 0 comments 0 reactions 0 assignees View on GitHub
component/statistics sig/planner type/enhancement
Dominant language
Go
Stars
40.5k
Forks
6.2k
PR merge metrics
PR metrics pending

Description

## Enhancement

To control the resources cost by `Analyze` and reduce the impact of `Analyze` to user's workload, we set all cop-requests triggerred by `Analyze` as low-priority. But after introducing Resource Control, this old mechanism is not working well in some latest versions, we might need to adapt it.

![Image](https://github.com/user-attachments/assets/5229b561-bf09-410e-a192-56b2bfee81c0)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.