How to boost MySQL master-slave replication to the extreme degree? -
Currently, slaves often fall behind the owner thousands of seconds, which is a real headache! First of all, make sure Das has the same or better hardware configuration than the master. Das needs to run the same DML and DDL running on the master, and whatever load you are throwing it.
Many suggestions are available online about how to optimize MySQL performance. Standard recommendations (for MyISAM and InnoDB) are still applicable for key_buffer
or innodb_buffer_pool
.
If there are many heavy questions running against the slave, consider adding more slaves to spread the load.
Comments
Post a Comment