Created
December 10, 2015 16:30
-
-
Save jscari/9e6d713e0125931699f7 to your computer and use it in GitHub Desktop.
Fast inserts with innoDB
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SET GLOBAL innodb_flush_log_at_trx_commit=2; | |
//Make your inserts | |
SET GLOBAL innodb_flush_log_at_trx_commit=1; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment