Skip to content

Instantly share code, notes, and snippets.

@jscari
Created December 10, 2015 16:30
Show Gist options
  • Save jscari/9e6d713e0125931699f7 to your computer and use it in GitHub Desktop.
Save jscari/9e6d713e0125931699f7 to your computer and use it in GitHub Desktop.
Fast inserts with innoDB
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