diff options
| author | Guilhem Moulin <guilhem@fripost.org> | 2016-05-12 11:34:42 +0200 |
|---|---|---|
| committer | Guilhem Moulin <guilhem@fripost.org> | 2016-05-12 11:34:42 +0200 |
| commit | 0ccfc6d389ec8677bff0de0798ef4f7f5312d5ee (patch) | |
| tree | 37d8e7cf4f0e515c1646ee0ed959e39cb48724b6 /roles/common-SQL | |
| parent | e51921b1242b40eefd16f29bcc408c6ac0df1619 (diff) | |
MySQL: set flush InnoDB flush method to 'O_DIRECT'
Diffstat (limited to 'roles/common-SQL')
| -rw-r--r-- | roles/common-SQL/files/etc/mysql/my.cnf | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/roles/common-SQL/files/etc/mysql/my.cnf b/roles/common-SQL/files/etc/mysql/my.cnf index 909236d..c5c9454 100644 --- a/roles/common-SQL/files/etc/mysql/my.cnf +++ b/roles/common-SQL/files/etc/mysql/my.cnf @@ -97,7 +97,9 @@ max_binlog_size = 100M # # InnoDB is enabled by default with a 10MB datafile in /var/lib/mysql/. # Read the manual for more InnoDB related options. There are many! -# + +innodb_flush_method = O_DIRECT + # * Security Features # # Read the manual, too, if you want chroot! |
