2 Answers
- Newest
- Most votes
- Most comments
0
请您确认主实例上面的 sync_binlog 与 innodb_flush_log_at_trx_commit 两个参数是不是设置为缺省的1。
若是您设置了为非双1的设置,主实例发生crashes 或异常的failover的时候,MySQL实例来不及刷新binlog至档案系统,会发生一秒的数据丢失,因此从库同步发生问题。
answered 8 months ago
Relevant content
- Accepted Answerasked 5 months ago
- asked a year ago
- AWS OFFICIALUpdated 9 months ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 10 months ago
- AWS OFFICIALUpdated 3 years ago