Commit e5325b93 authored by Vincent Pelletier's avatar Vincent Pelletier

erp5.mariadb: Explicitly disable innodb_file_per_table .

MySQL changed the default value 3 times since 5.1, causing a waste of disk
space when recreating schemas (tables move out of an already large system
tablespace, which cannot be easily reclaimed).
Also, per-table option fragments free space: if a table shrinks, freed
space cannot be used by another table without recreating shrunk table
(which induces at least a write-lock during data copy, which may not be
trivial).
parent 7daa13a2
......@@ -208,7 +208,7 @@ md5sum = 43b27a5e9c641ab780a083223c693d04
[template-my-cnf]
< = download-base
filename = my.cnf.in
md5sum = 8c2248ab9c8584dfc7d6c336c5ba0f0c
md5sum = dd779e54d22105702aa72cadc994d957
[template-mariadb-initial-setup]
< = download-base
......
......@@ -30,6 +30,7 @@ slow_query_log_file = {{ parameter_dict['slow-query-log'] }}
long_query_time = {{ parameter_dict['long-query-time'] }}
max_allowed_packet = 128M
query_cache_size = 32M
innodb_file_per_table = 0
plugin_load = ha_mroonga.so;handlersocket.so
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment