02 2021 档案
摘要:mysql8.0.23克隆插件的实践 理论参考资料 https://www.jianshu.com/p/ed7e0796a3d8 备注:数据量越大,基于物理文件拷贝,越能体现出这种优势。 一、环境 IP 说明 10.100.19.216 数据源 10.100.19.215 目标库1 10.100.1
阅读全文
摘要:gtid多源复制Last_Errno: 1007故障处理 在测试环境中,无意中遇到了Last_Errno: 1007。 这里直接上错误提示,以及处理方法。 mysql> show slave status\G; *************************** 1. row *********
阅读全文
摘要:gtid多源复制1062故障处理 create database testdb214; use testdb214; CREATE TABLE `info_area` ( `id` int(11) unsigned NOT NULL AUTO_INCREMENT COMMENT '地区ID', `n
阅读全文
摘要:gtid多源复制1032故障处理 # 此时,从库异常如下 mysql> show replica status for channel 'testdb214'\G; *************************** 1. row *************************** Repl
阅读全文
摘要:mysql同步Last_IO_Errno: 2061 10.100.19.214 主库1 10.100.19.215 主库1 10.100.19.216 从库 mysql> show slave status FOR CHANNEL 'testdb214'\G; ******************
阅读全文
摘要:reset master操作 有时候,在从库中做了某些操作,导致Executed_Gtid_Set中不仅有主库的信息,还有本地的信息,容易误导,尽管不影响使用。 它的作用是,清空binlog日志,重新生成一个新的,从00001开始。 Retrieved_Gtid_Set: 7b68143a-645e
阅读全文
摘要:大表快速迁移 参考资料:https://mariadb.com/kb/en/innodb-file-per-table-tablespaces/#copying-transportable-tablespaces 需求描述: mysql在不同数据之间迁移表源数据库: 10.100.19.214 te
阅读全文
摘要:8.0.23基于gtid的多源复制 #################################### 8.0.23 新语法 mysql> show warnings; + + + + | Level | Code | Message | + + + + | Warning | 1287 |
阅读全文