随笔分类 -  mysql故障处理

摘要:现象:使用pt-archiver进行数据归档是出现报错,Unicode non-character U+FFFF is illegal for open interchange at pt-archiver line 6815. 排查:以为是版本bug,下载最新的版本,报同样的错误,最后怀疑数据问题 阅读全文
posted @ 2022-05-05 18:20 da0h1 阅读(429) 评论(1) 推荐(1)
摘要: 阅读全文
posted @ 2021-03-09 08:54 da0h1 阅读(378) 评论(0) 推荐(0)
摘要:15 个有用的 MySQL/MariaDB 性能调整和优化技巧 MySQL 是一个强大的开源关系数据库管理系统(简称 RDBMS)。它发布于 1995 年(20年前)。它采用结构化查询语言(SQL),这可能是数据库内容管理中最流行的选择。最新的 MySQL 版本是 5.6.25,于 2015 年 5 阅读全文
posted @ 2021-03-05 09:44 da0h1 阅读(3141) 评论(0) 推荐(1)
摘要:slave status 中检查同步状态: 1、sql线程和io线程显示yes Slave_IO_Running: Yes Slave_SQL_Running: Yes 2、Master_Log_File 和 Relay_Master_Log_File 相等 3、 Read_Master_Log_P 阅读全文
posted @ 2021-02-24 16:11 da0h1 阅读(187) 评论(0) 推荐(0)
摘要:[root@masterdb-200 dbawork_bak]# pt-archiver --source h=192.168.151.198,P=3306,u=root,p='Z020',D=dbawork_bak,t=t2 --purge --charset=utf8mb4 --where "m 阅读全文
posted @ 2020-12-16 15:06 da0h1 阅读(131) 评论(0) 推荐(0)
摘要:现象: 2020-12-10T05:16:25.210531Z 7003 [Warning] InnoDB: Table mysql/innodb_index_stats has length mismatch in the column name table_name. Please run my 阅读全文
posted @ 2020-12-10 15:11 da0h1 阅读(875) 评论(0) 推荐(0)
摘要:[root@mdb146 ~]# xenclists + + + + + + + + +| ID | Raft | Mysqld | Monitor | Backup | Mysql | IO/SQL_RUNNING | MyLeader |+ + + + + + + + +| 172.16.1.1 阅读全文
posted @ 2020-12-09 17:14 da0h1 阅读(94) 评论(0) 推荐(0)