pingcap/tidb

Imporve the performance of writing chunks to connection.

Open

#13.052 aberto em 31 de out. de 2019

Ver no GitHub
 (1 comment) (1 reaction) (0 assignees)Go (6.186 forks)batch import
component/serverhelp wantedtype/enhancementtype/performance

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

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:

Guia do colaborador