05 2016 档案

MySQL 5.7 并行复制实现原理与调优
摘要:MySQL 5.7并行复制时代 众所周知,MySQL的复制延迟是一直被诟病的问题之一,然而在Inside君之前的两篇博客中(1,2)中都已经提到了MySQL 5.7版本已经支持“真正”的并行复制功能,官方称为为enhanced multi-threaded slave(简称MTS),因此复制延迟问题 阅读全文

posted @ 2016-05-26 18:15 Still water run deep 阅读(20662) 评论(0) 推荐(4)

How to create/restore a slave using GTID replication in MySQL 5.6
摘要:MySQL 5.6 is GA! Now we have new things to play with and in my personal opinion the most interesting one is the new Global Transaction ID (GTID) suppo 阅读全文

posted @ 2016-05-16 16:42 Still water run deep 阅读(1093) 评论(0) 推荐(0)

mysql relay log参数汇总
摘要:前言:MySQL进行主主复制或主从复制的时候会在配置文件制定的目录下面产生相应的relay log,本文档总结这些相关参数的定义及解释。 1、什么是relay log The relay log, like the binary log, consists of a set of numbered 阅读全文

posted @ 2016-05-11 14:18 Still water run deep 阅读(3113) 评论(0) 推荐(0)

使用keepalived实现mysql主从复制的自动切换
摘要:最近测试了一下mysql+keepalived实现主从自动切换,主从都需要安装keepalived,使用vip漂移实现主从自动切换,这里主要记录的是keepalived的文件配置。 这里mysql搭建的是双主。 环境: 主:192.168.184.128 从:192.168.184.133 vip: 阅读全文

posted @ 2016-05-05 10:56 Still water run deep 阅读(13598) 评论(0) 推荐(1)

mysql 5.7修改密码
摘要:关闭正在运行的 MySQL : [root@www.woai.it ~]# service mysql stop 运行 [root@www.woai.it ~]# mysqld_safe --skip-grant-tables & 为了安全可以这样禁止远程连接: [root@www.woai.it 阅读全文

posted @ 2016-05-04 15:56 Still water run deep 阅读(10688) 评论(0) 推荐(0)

导航