Skip to content

MySqlDataAdapter.Update is very slow #1124

@bgrainger

Description

@bgrainger

@bgrainger this issue seems to still be a problem in the latest version of MySqlConnector (re: mrogunlana/Panama#15), hopefully, it's due to a user error on my part, if you're interested in some context of how I implemented the adapter using MySqlConnector, please see: https://github.com/mrogunlana/Panama.Core/blob/40d6e16a2fc2cdb97bbf56023b75ec913aadef9a/Panama.MySql.Dapper/MySqlQuery.cs#L574

I've updated the MySqlDataAdapter since then to use MySql.Data here temporarily here: https://github.com/mrogunlana/Panama.Core/blob/master/Panama.MySql.Dapper/MySqlQuery.cs#L568 it's essentially the same code, but it's out performing MySqlConnector by a very high margin e.g. MySqlConnector currently benchmarks at 50K rows at around 10 minutes whereas MySql.Data runs a full 100k around 1 minute.

Any ideas/guidance here would be much appreciated!

Originally posted by @mrogunlana in #673 (comment)

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions