Mysql – How to sync two MySQL high load tables with 10M rows

clusteringinnodbMySQLperformance

I have two identical MySQL innodb table with 10M rows each. One is used at backend while other at application end. Thus, either of them loaded. I need to synchronize them in a way which is fast and non blocking. How can I do that?

Is there any particular LINUX software for this?

And how about syncing two dbs?

EDIT

Both tables exist on different dbs hosted on different machines. And both of them are updated separately before the sync process.

Best Answer

pt-table-sync from Percona Toolkit will do this sort of thing.