Skip to content

Allow rows larger than 1 MiB in MySqlBulkCopy #834

@bgrainger

Description

@bgrainger

MySqlBulkCopy rents a fixed-size (1 MiB) buffer and requires that all rows fit entirely within the buffer.

Instead, large rows should be split across multiple payloads that are sent to the server. Keeping the buffer size at 1 MiB is probably fine unless performance testing shows that using larger buffers loads data more efficiently. (I'm not sure that increasing the size of the MySQL packets that are sent would speed things up; speed is probably more a function of the number of rows or type of data being inserted.)

This relaxes a limitation added by the fix for #780.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions