pingcap/tidb

Non-transactional DML should not use the default scan concurrency

Open

#67,329 创建于 2026年3月26日

在 GitHub 查看
 (0 评论) (0 反应) (0 负责人)Go (6,186 fork)batch import
good first issuetype/enhancement

仓库指标

Star
 (40,090 star)
PR 合并指标
 (平均合并 14天 4小时) (30 天内合并 346 个 PR)

描述

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.

贡献者指南