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.

You should also change the timing of any chrono run to reduce concurrent questions.


Comments

Popular posts from this blog

c++ - Linux and clipboard -

What is expire header and how to achive them in ASP.NET and PHP? -

sql server - How can I determine which of my SQL 2005 statistics are unused? -