How to Disable MySQL Autocommit for Faster Bulk Inserts
This guide explains why MySQL's default autocommit slows down large data imports, demonstrates two ways to turn it off—using SET commands and editing the my.ini file—and shows how disabling autocommit can boost insert performance by more than ten times.
