博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理
上一页 1 ··· 6 7 8 9 10 11 12 13 14 ··· 75 下一页

2017年11月16日

摘要: https://yq.aliyun.com/articles/238882?spm=5176.8067842.tagmain.18.73PjU3 摘要: MHA failover GTID 专题 这里以masterha_master_switch为背景详解各种可能遇到的场景 假定环境(经典三节点) 阅读全文

posted @ 2017-11-16 23:04 moss_tan_jun 阅读(499) 评论(0) 推荐(0) 编辑

摘要: https://yq.aliyun.com/articles/155827?spm=5176.8067842.tagmain.6.RFPTAL MySQL 传统的主从复制方式使用 master_log_files 和 master_log_pos 两个参数来确定复制位点。当出现复制错误时,可以设置跳 阅读全文

posted @ 2017-11-16 22:51 moss_tan_jun 阅读(2999) 评论(0) 推荐(0) 编辑

摘要: https://yq.aliyun.com/articles/68441 摘要: # GTID 简介 GTID (global transaction identifier)在MySQL5.6时引入,GTID是事务的全局唯一标识。GTID结构如下 ``` GTID = source_id:trans 阅读全文

posted @ 2017-11-16 22:47 moss_tan_jun 阅读(1198) 评论(0) 推荐(0) 编辑

2017年11月13日

摘要: https://m.aliyun.com/yunqi/users/1287368569594542/articles https://yq.aliyun.com/articles/59233 MySQL Master High Available 源码篇 1年前887 MasterFailover 阅读全文

posted @ 2017-11-13 22:24 moss_tan_jun 阅读(566) 评论(0) 推荐(0) 编辑

摘要: dba http://blog.csdn.net/zengxuewen2045/article/details/51524880 关于这个错误: 1 2 3 4 Mon Feb 13 10:29:41 2017 - [error][/usr/share/perl5/vendor_perl/MHA/S 阅读全文

posted @ 2017-11-13 21:50 moss_tan_jun 阅读(4499) 评论(0) 推荐(0) 编辑

2017年11月2日

摘要: http://www.ywnds.com/?p=8841 阅读全文

posted @ 2017-11-02 22:01 moss_tan_jun 阅读(221) 评论(0) 推荐(0) 编辑

2017年11月1日

摘要: MasterFailover.pm 1473 $ret =1474 $_server_manager->change_master_and_start_slave( $target, $latest_slave,1475 undef, undef, $log ); vim ServerManager 阅读全文

posted @ 2017-11-01 23:30 moss_tan_jun 阅读(125) 评论(0) 推荐(0) 编辑

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

posted @ 2017-11-01 22:19 moss_tan_jun 阅读(3559) 评论(0) 推荐(0) 编辑

摘要: 配置MySQL GTID 主从复制 基于mysqldump搭建gtid主从 二、GTID如何跳过事务冲突 1 2 3 4 5 6 7 8 9 10 11 很多无法预料的情形导致mysql主从发生事务冲突,主从失败或停止的情形,即需要修复主从 对于GTID方式的主从架构而言,更多的是处理事务冲突来修复 阅读全文

posted @ 2017-11-01 21:42 moss_tan_jun 阅读(197) 评论(0) 推荐(0) 编辑

2017年10月29日

摘要: 1、只使Innodb 存储引擎 Engine=innodb Auto_increment = 1 Default charset=utf8mb42、所有的InnoDB表都设计一个与业物无关的自增无符号int 物理主键,使数据按顺序保存 如:id int(10) unsigned primary ke 阅读全文

posted @ 2017-10-29 21:39 moss_tan_jun 阅读(176) 评论(0) 推荐(0) 编辑

上一页 1 ··· 6 7 8 9 10 11 12 13 14 ··· 75 下一页