pingcap/tidb

Non-transactional DML should not use the default scan concurrency

Open

#67.329 aberto em 26 de mar. de 2026

Ver no GitHub
 (0 comments) (0 reactions) (0 assignees)Go (6.186 forks)batch import
good first issuetype/enhancement

Métricas do repositório

Stars
 (40.090 stars)
Métricas de merge de PR
 (Mesclagem média 14d 4h) (346 fundiu PRs em 30d)

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.

Guia do colaborador