Bulk insert optimization #9

Open
opened 2026-09-08 06:46:10 +02:00 by c.fahner · 0 comments
Owner

Currently all documents passed to the insert command are inserted one by one, while there are faster ways to insert multiple documents at once.

Batching inserts per 1k rows seems to be optimal.

Currently all documents passed to the insert command are inserted one by one, while there are [faster ways](https://mariadb.com/docs/server/ha-and-performance/optimization-and-tuning/query-optimizations/how-to-quickly-insert-data-into-mariadb) to insert multiple documents at once. Batching inserts per 1k rows seems to be optimal.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
slendium/ocd-mariadb#9
No description provided.