Home  >  Q&A  >  body text

mysql优化 - 如何确认MySQL replication真正的复制延迟是多少

mysql replication 慢的真正原因是什么?

PHPzPHPz2743 days ago725

reply all(1)I'll reply

  • 阿神

    阿神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

    reply
    0
  • Cancelreply