I have a simple MySQL Master-Slave replication setup, but always get an unaccaptable huge slave lag. That means that the slave lag will get higher than the expire_logs_days of 14 and the replication will crash.
So, here are some facts:
- MySQL 5.5
- Datasize: 120GB
- Master Server: SSD, 64GB RAM
- Slave Server: SATA, 32GB RAM
The network connection is not a problem. I also droped some indexes on the slave. There is nothing else running on the slave server besides the nightly dumps.
Could the slower disk and the smaller RAM on the slave could cause the slave lag? Should I replace the slave server with an equivilant master server?
How could I determine if this is a hardware problem and not a misconfiguration of the slave?