What settings to use for fastest reloading of a MySQL backup?
Posted
by Alex R
on Server Fault
See other posts from Server Fault
or by Alex R
Published on 2010-05-19T04:52:04Z
Indexed on
2010/05/19
5:01 UTC
Read the original article
Hit count: 289
I have a MySQL database which dumps to a 3.5 GB backup (mysqldump) in about 10 minutes.
But reloading this backup on a standby / test server takes upwards of 12 hours.
What are some settings that would maximize reloading performance?
The most promising appear to be innodb_buffer_pool_size, innodb_additional_mem_pool_size, and innodb_log_buffer_size... but I'm reaching the limits of my trial-and-error approach. Which of these settings "should" be the most important?
Through trial-and-error I was not able to get more than 70% CPU utilization and 63% memory utilization. I'd like both at 100% during a reload.
All tables are InnoDB.
© Server Fault or respective owner