Skip to content
This repository has been archived by the owner on Jun 26, 2020. It is now read-only.

Commit

Permalink
Mysql performance and disk optimization
Browse files Browse the repository at this point in the history
1. Use per table innodb option
2. Use Barracuda file format

Change-Id: I42eaa51aa80853f609f34d8028eed32f1ec8a2dc
Partial-bug: #1278964
  • Loading branch information
Vladimir Kuklin committed Feb 18, 2014
1 parent e242a7f commit b7504a2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 2 additions & 1 deletion deployment/puppet/galera/templates/wsrep.cnf.erb
Expand Up @@ -11,7 +11,6 @@
## mysqld options _MANDATORY_ for correct opration of the cluster
##
[mysqld]

# (This must be substituted by wsrep_format)
binlog_format=ROW

Expand Down Expand Up @@ -141,3 +140,5 @@ innodb_write_io_threads=8
innodb_read_io_threads=8
innodb_io_capacity=500
table_cache=10000
innodb_file_per_table=1
innodb_file_format=Barracuda
2 changes: 2 additions & 0 deletions deployment/puppet/mysql/templates/my.cnf.erb
Expand Up @@ -8,6 +8,8 @@ nice = 0
syslog
<% end -%>
[mysqld]
innodb_file_per_table=1
innodb_file_format=Barracuda
user = mysql
#pid-file = <%= pidfile %>
socket = <%= socket %>
Expand Down

0 comments on commit b7504a2

Please sign in to comment.