-
Notifications
You must be signed in to change notification settings - Fork 6k
Closed
Labels
type/feature-requestCategorizes issue or PR as related to a new feature.Categorizes issue or PR as related to a new feature.
Description
Feature Request
Is your feature request related to a problem? Please describe:
Current, the background task control of resource_control is based on the total resource quota(CPU, IO) of each tikv instance. But in real use cases, foreground tail lantency increase significantly before resource is fully used. So we need to set some kind of limit that background tasks can use so user can control the performance impact by background tasks.
Current background settings:
ALTERR RESOURCE GROUP default BACKGROUND=(TASK_TYPES="br,import");
New SQL pattern:
ALTERR RESOURCE GROUP default BACKGROUND=(TASK_TYPES="br,import", UTILIZATION_LIMIT=30);
We add a new field UTILIZATION_LIMIT
(for the default
resource group) to control the resource percentage that background tasks can use.
Describe the feature you'd like:
Describe alternatives you've considered:
Teachability, Documentation, Adoption, Migration Strategy:
Metadata
Metadata
Assignees
Labels
type/feature-requestCategorizes issue or PR as related to a new feature.Categorizes issue or PR as related to a new feature.