pingcap / pingcap/tidb

Non-transactional DML should not use the default scan concurrency

Open
#67,329 1 comment 0 reactions 0 assignees View on GitHub
good first issue type/enhancement
Dominant language
Go
Stars
40.5k
Forks
6.2k
PR merge metrics
PR metrics pending

Description

## Enhancement
According to
https://github.com/pingcap/tidb/blob/fd7c13a9340470233bf0c52c60eb8c04095d394c/pkg/distsql/request_builder.go#L94, when max_distsql_concurrency is the default setting, the first SELECT in non-transactional DML may only use max_distsql_concurrency=2, which affects its performance.

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.