Databases
MariaDB imports at high volume
Averon Editorial · 2025-09-02 · 1 min read
Bulk import should be a job, not a web request.
Bulk import should be a job, not a web request.
Context
Bulk import should be a job, not a web request.
What to decide
Stream the file, commit in batches, and record the last successful row so a failure can resume.
How to apply it
Disable nonessential indexes only with a written plan to rebuild them. An import that locks the primary store during business hours is an outage.
What to avoid
MySQL 5.7-compatible SQL still matters if the host is not on a newer server. Do not require window functions the host cannot run.