[CONPY-165] Optimize executemany() for non MariaDB servers Created: 2021-09-23  Updated: 2023-06-28

Status: Open
Project: MariaDB Connector/Python
Component/s: DBAPI 2.0, Performance
Affects Version/s: 1.1.0b1
Fix Version/s: None

Type: Task Priority: Major
Reporter: Georg Richter Assignee: Georg Richter
Resolution: Unresolved Votes: 0
Labels: None

Issue Links:
Blocks
is blocked by MDEV-26673 COM_STMT_EXECUTE (bulk) returns error... Open
Problem/Incident
causes CONPY-267 Behavior of executemany() is inconsis... Open
Relates
relates to CONPY-267 Behavior of executemany() is inconsis... Open
relates to CONPY-266 Make executemany() faster on non-Mari... Open
Python Version: 3.6 - 3.9

 Description   

When connecting to a database server which doesn't support bulk execution commands are executed in a loop row by row.

While this is ok for DELETE and UPDATE commands, REPLACE and INSERT should be optimizied by rewriting the statement and using multi value syntax.


Generated at Thu Feb 08 03:30:44 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.