MGR vs PXC vs MHA

 

 

 

  MGR PXC MHA
advantage Native high availability, ensure data consistency, multi-master support Similar MGR Mature and stable, small invasion of MySQL, ensure consistent data after downtime
Shortcoming There are too new BUG (such as adding a new cluster goes down, there is a parallel copy inconsistency bug), management is not convenient (in conjunction with mysql-shell) Large performance loss (reduced to 1/3), large transaction will be stuck entire cluster, you need to use a third-party MySQL release Selected main way out of date and in line with third-party scripts automatically switch

 

MHA inside the industry with the most, pxc secondly, MGR quite small due to the relatively new

There are other high-availability shared storage solutions, MMM (eliminated), Heartbeat + DRBD + MySQL, etc.

Personally optimistic about middleware (mysql router or proxysql) + MGR architecture

Guess you like

Origin www.cnblogs.com/yujiaershao/p/11433877.html