Skip to content

Latest commit

 

History

History
14 lines (10 loc) · 499 Bytes

innodb-flush-method.md

File metadata and controls

14 lines (10 loc) · 499 Bytes

innodb_flush_method

innodb_flush_method variable defines the method used to flush data to InnoDB data files and log files. Detail

fsync(Default)

  • fsync() to flush both the data and log files

O_DSYNC

  • O_SYNC to open and flush the log files
  • fsync() to flush the data files

O_DIRECT

  • O_DIRECT to open the data files
  • fsync() to flush both the data and log files