better mysql config

This commit is contained in:
2018-10-29 13:26:53 +01:00
parent 01384e7918
commit 6d41024a76
3 changed files with 19 additions and 0 deletions

View File

@@ -0,0 +1,11 @@
# Use one file by InnoDB table.
# Use Barracuda as InnoDB engine.
# Allow InnoDB large indexs.
# Use Dynamic row format.
# Reduce disk usage, ease disk space reclaiming.
[mysqld]
innodb_file_per_table = 1
innodb_file_format=Barracuda
innodb_large_prefix=1
; Option below only for MariaDB 10.2
;innodb_default_row_format=DYNAMIC