摘要: --init-command=name SQL command to execute when connecting to MySQL server可用于导入数据时,关闭二进制日志 select connection_id(); 阅读全文
posted @ 2021-01-19 18:00 ascertain 阅读(60) 评论(0) 推荐(0) 编辑
摘要: binlog=statement binlog是在事务提交时才进行fsync刷盘,刷盘操作耗费IO,statement只需要一条语句,而不是所有操作过的数据行可能造成主从不一致 阅读全文
posted @ 2021-01-19 17:58 ascertain 阅读(50) 评论(0) 推荐(0) 编辑