随笔分类 - MySQL复制
摘要:一、概述 官方文档中对relay_log_recovery参数的解释Enables automatic relay log recovery immediately following server startup. The recovery process creates a new relay
阅读全文
摘要:gtid跳过一个事务 show slave status 中的Executed_Gtid_Set. show global variables like '%gtid%'中的gtid_executed show master status 中的Executed_Gtid_Set 构建一个空事务如下
阅读全文
摘要:--source include/master-slave.inc --source include/have_binlog_format_row.inc connection slave; set global slave_rows_search_algorithms='TABLE_SCAN';
阅读全文
摘要:GTID 资料 MySQL 5.6 引入了global transaction identifiers (GTIDs,全局事务ID)的特性,这一特性是用来解决主从复制(replication)场景下的一些问题,GTID 只存在于 binlog 中,数据库中是没有的。 要了解 GTID 的话,官方文档
阅读全文