Consider set a lower priority for LOAD DATA read and write RPC #49602
Labels
report/customer
Customers have encountered this bug.
type/enhancement
The issue or PR belongs to an enhancement.
Enhancement
LOAD DATA LOCAL INFILE ... IGNORE INTO ...
may sends KvBatchGet requests that seeks lots of data. And it essentially becomes full table scan if data is load multiple times. These KvBatchGets are set normal priority, so it overwhelms TiKV read read pool and slows down other queries that involves point get or batch point get.Reproduce:
LOAD DATA LOCAL INFILE ... IGNORE INTO ...
Two spikes are caused by LOAD DATA twice.
The text was updated successfully, but these errors were encountered: