pingcap / pingcap/tidb

A batch of coprocessor requests(indexscan mostly) occurs every five minutes under low load.

Open
#48,279 1 comment 0 reactions 0 assignees View on GitHub
component/statistics type/enhancement
Dominant language
Go
Stars
40.5k
Forks
6.2k
PR merge metrics
PR metrics pending

Description

## Bug Report

Please answer these questions before submitting your issue. Thanks!

### 1. Minimal reproduce step (Required)

when there are no external requests, or low load.

### 2. What did you expect to see? (Required)
SQL very fast and the QPS of coprocessor should similar with external requests.

### 3. What did you see instead (Required)

A batch of coprocessor requests(indexscan mostly) occurs every five minutes under low load.

most of the coprocessor request are `indexscan` and the left are `tablescan`
![L7A8rWDhvY](https://github.com/pingcap/tidb/assets/1085697/1f0f76ff-02bf-4846-9666-b2a80f1d1166)

most are batch-index only
![eqN47NSBWa](https://github.com/pingcap/tidb/assets/1085697/d9b76972-59cb-4bd4-a559-cb2b69fcb394)

### 4. What is your TiDB version? (Required)

since v4.0.0 to master

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.