I have had mySQL doing replication from USA -> Japan (185ms apart) for a few years.
About 1 month ago the slave started to lag. I thought it might have been from transaction volume but the data volume is only about 2gigs per day (compression is on).
There is a 100 meg line between them, with real throughput via FTP of about 2 meg per second which is plenty to move 2 gigs over a 24 hours period.
I thought maybe my ISP was throttling traffic on port 3306, so I changed the port.... same issue.
I can do FTP or SFTP between the servers consistently at 2 meg per second.
Any ideas where I can look or test? I am using my firewall to determine the data speed of replication for mySQL since I can't see any built in tool to tell us how much data is being transferred and at what speed when it is in the status 'writing to net'.
Would love to hear if you might know what is going on.
Robert G.
About 1 month ago the slave started to lag. I thought it might have been from transaction volume but the data volume is only about 2gigs per day (compression is on).
There is a 100 meg line between them, with real throughput via FTP of about 2 meg per second which is plenty to move 2 gigs over a 24 hours period.
I thought maybe my ISP was throttling traffic on port 3306, so I changed the port.... same issue.
I can do FTP or SFTP between the servers consistently at 2 meg per second.
Any ideas where I can look or test? I am using my firewall to determine the data speed of replication for mySQL since I can't see any built in tool to tell us how much data is being transferred and at what speed when it is in the status 'writing to net'.
Would love to hear if you might know what is going on.
Robert G.