Home  >  Q&A  >  body text

mysql_replication - MySQL的复制模式该怎么选?

想给公司的MySQL服务器5.5搭建个备机,跑联机的,没打算优化源码。各位推荐下用什么复制模式比较好?semi-sync、async?哪个用的比较多

大家讲道理大家讲道理2766 days ago273

reply all(1)I'll reply

  • PHP中文网

    PHP中文网2017-04-17 13:19:58

    Semi-synchronous replication means that after the main library writes the binlog and transfers it to the slave, the return performance will decrease and the consistency will improve.
    Asynchronous replication has high performance and poor consistency.
    Carry it out according to your scenario.
    Generally it is asynchronous. Copy

    reply
    0
  • Cancelreply