MMM和MHA的对比和应用(PPT分享)_MySQL
程序员文章站
2022-05-23 15:46:47
...
分享主题:MySQL高可用架构 --- MMM&MHA在大众点评应用和改进
内容简介:本次演讲,主要讲述以下几个方面
1. MMM在点评网是如何使用的
2. 细数MMM上踩过的坑以及如何填坑
3. MMM和MHA之间的抉择
PPT下载链接:http://pan.baidu.com/s/1mg3G2MW
大会链接:http://meeting.zhdba.com/2014dtcc
以下是一些大纲:
Why we need a HA solution
MMM in DP
- MHA in DP
When We Need to Switch Server
Master Server down
Master Server maintenance
Logical : DDL on big table
- Physical: memory replacement
Failover without tool:
Notify DBA for MySQL Failure
Kill old Master
Find the latest Slave as Master Candidate
Execute change Master to on each Slave
- Direct APP to new Master IP & restart