Skip to content

Instantly share code, notes, and snippets.

@wuputah
Created March 13, 2009 07:30
Show Gist options
  • Save wuputah/78469 to your computer and use it in GitHub Desktop.
Save wuputah/78469 to your computer and use it in GitHub Desktop.
# If set to 1, InnoDB will flush (fsync) the transaction logs to the
# disk at each commit, which offers full ACID behavior. If you are
# willing to compromise this safety, and you are running small
# transactions, you may set this to 0 or 2 to reduce disk I/O to the
# logs. Value 0 means that the log is only written to the log file and
# the log file flushed to disk approximately once per second. Value 2
# means the log is written to the log file at each commit, but the log
# file is only flushed to disk approximately once per second.
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