, 100% , , - - , MySQL.
The method works with timestamps that are inserted into the table and checked every 20 seconds. Together with the status that returns SHOW SLAVE STATUS \G, you get accurate statistics about the current state.
You see how many statements obey the master or replication errors. If there are no errors or pending statements, you should be good enough to assume that at time t your tables are in sync.
source
share