Closed
Bug 982312
Opened 11 years ago
Closed 10 years ago
Server Tuning Variables for Bugzilla Slave Nodes
Categories
(Data & BI Services Team :: DB: MySQL, task)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: bjohnson, Unassigned)
Details
We tested with some server tuning variables for the bugzilla slaves and came up with a few that worked (for physical machines only).
We can apply these on the slaves at any time but would like to apply them on the master during the downtime window in bug 982293.
The variable we should utilize are:
flush_logs_at_trx_commit=2
Another variable we're setting (by its absence) is flush_method, set to the default of fdatasync. (We set this by absence because it's the default, but not an option).
Comment 1•11 years ago
|
||
key_buffer_size should be reduced as well, to the size of the mysql system tables.
Comment 2•11 years ago
|
||
These are now set on the phx servers, and they have been restarted:
key_buffer_size is now unset (as in, set to the default).
innodb_flush_logs_at_trx_commit=2
flush_method=fdatasync
Sheeri-Cabral:trunk scabral$ svn commit -m "fixing my.cnf for bugzilla"
Sending manifests/nodes/databases.pp
Sending modules/mysql2/manifests/server.pp
Sending modules/mysql2/templates/my.cnf.erb
Transmitting file data ...
Committed revision 85170.
This was for bugzilla phx. There were some issues getting the proper syntax, but bugzilla in phx is all set.
Comment 3•11 years ago
|
||
Sheeri-Cabral:nodes scabral$ svn commit -m "adding flush_log_at_trx_commit, MIXED binlog mode, and fdatasync flush_method to bugzilla in scl3"
Sending databases.pp
Transmitting file data .
Committed revision 85236.
Comment 4•11 years ago
|
||
innodb_flush_method is a static variable, so I will be restarting mysql on the slaves one at a time, and the master during the outage window in the dependent bug.
Comment 5•11 years ago
|
||
slaves are all restarted, and bugzilla master is using MIXED binlog format. Leaving this open until we can restart, as in the dependent bug.
Updated•11 years ago
|
Product: mozilla.org → Data & BI Services Team
Comment 6•10 years ago
|
||
The db has long since been restarted.
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•