随笔分类 -  MySQL复制

摘要:一、概述 官方文档中对relay_log_recovery参数的解释Enables automatic relay log recovery immediately following server startup. The recovery process creates a new relay 阅读全文
posted @ 2021-05-21 10:39 Cetus-Y 阅读(457) 评论(0) 推荐(0) 编辑
摘要:gtid跳过一个事务 show slave status 中的Executed_Gtid_Set. show global variables like '%gtid%'中的gtid_executed show master status 中的Executed_Gtid_Set 构建一个空事务如下 阅读全文
posted @ 2020-11-17 21:29 Cetus-Y 阅读(149) 评论(0) 推荐(0) 编辑
摘要:--source include/master-slave.inc --source include/have_binlog_format_row.inc connection slave; set global slave_rows_search_algorithms='TABLE_SCAN'; 阅读全文
posted @ 2020-07-13 11:31 Cetus-Y 阅读(688) 评论(0) 推荐(0) 编辑
摘要:GTID 资料 MySQL 5.6 引入了global transaction identifiers (GTIDs,全局事务ID)的特性,这一特性是用来解决主从复制(replication)场景下的一些问题,GTID 只存在于 binlog 中,数据库中是没有的。 要了解 GTID 的话,官方文档 阅读全文
posted @ 2020-07-08 21:17 Cetus-Y 阅读(207) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示