For beginners: innodb_flush_log_at_trx_commit = 0, if you can afford to lose up to 1 second of your work if the server crashes. This is a switch between performance and reliability, but it will significantly improve recording performance. If you can afford to use the cache for backup, use it.
In particular, on Windows and for write performance, MariaDB 5.3 might be a better idea than having MySQL from Oracle, since MariaDB can make better use of asynchronous I / O on Windows. I wrote a note about this some time ago here , on a standard synthetic benchmark it performs up to 500% better than in a MySQL 5.5 warehouse (see the pictures at the end of the note).
However, the first and most important thing that kills performance is flushing the disk. This is solvable if you relax longevity with the * innodb_flush_log_at_trx_commit * parameter, with a backup write cache with battery. You can also use larger transactions, they reduce the number of disk flushes.
Vladislav Vaintroub
source share