pingcap / pingcap/tidb

Regions number of one add-index subtask should be limited

Open
#56,501 0 comments 0 reactions 1 assignee Claimed by @tangenta View on GitHub
affects-8.1 affects-8.5 component/ddl severity/major type/bug type/enhancement
Dominant language
Go
Stars
40.5k
Forks
6.2k
PR merge metrics
PR metrics pending

Description

## Enhancement

If there are many TiDB instances, even if the task of adding indexes is small, TiDB will split at least one subtask for each TiDB instance. The result may bring heavy workload to TiKV and reduce the performance of the entire cluster.

We should set a lower limit for regions of each adding index subtask.

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.