pingcap/tidb

Imporve the performance of writing chunks to connection.

Open

#13,052 创建于 2019年10月31日

在 GitHub 查看
 (1 评论) (1 反应) (0 负责人)Go (6,186 fork)batch import
component/serverhelp wantedtype/enhancementtype/performance

仓库指标

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

描述

Feature Request

Is your feature request related to a problem? Please describe:

In https://github.com/pingcap/tidb/blob/7bfa896/server/conn.go#L1269, we have a chunk to write to connection, but we dump a chunk to mysql protocol row by row.

Describe the feature you'd like:

Now we can vectorize dumpBinaryRow and dumpTextRow by converting a chunk to network buffer column by column.

Describe alternatives you've considered:

Teachability, Documentation, Adoption, Migration Strategy:

贡献者指南