阿神2017-04-17 13:22:33
Write a script to record the binlog position of the master and slave in a few seconds
The slowness may be due to the network or other reasons, and this is dynamic. Even if it is fast enough,
The program cannot rely on the consistency of the master and slave. For consistency, you can only use the main query