摘要: 前提开启gitd主从,制造主从数据延迟, Retrieved_Gtid_Set:中的值4-6650与Executed_Gtid_Set::1-4477 6650与4477之间的差值是应用延迟,即Read_Master_Log_Pos: 3633450与Exec_Master_Log_Pos: 194 阅读全文
posted @ 2020-02-26 08:30 Tech_Shrimp 阅读(131) 评论(0) 推荐(0) 编辑
摘要: 基础知识: LVM是在磁盘分区和文件系统之间添加的一个逻辑层,来为文件系统屏蔽下层磁盘分区布局,提供一个抽象的盘卷。LVM名词解释: 物理存储介质(The physical media):指系统的存储设备:硬盘,如:/dev/hda1、/dev/sda等等,是存储系统最低层的存储单元。 物理卷(ph 阅读全文
posted @ 2020-02-26 08:28 Tech_Shrimp 阅读(437) 评论(0) 推荐(0) 编辑
摘要: gtid跳过错误的方法 在show slave status \G中 Retrieved_Gtid_Set: 59222b34-04f6-11ea-8e77-02000aba408a:209 Executed_Gtid_Set: 2e8ed7a5-050f-11ea-84a0-02000aba408 阅读全文
posted @ 2020-02-26 08:22 Tech_Shrimp 阅读(572) 评论(0) 推荐(0) 编辑
摘要: 利用sys库进行IO信息诊断 1、 table 相关 1.1 查询表的IO请求数量 mysql> select concat_ws('.',table_schema,table_name) 'table', io_read_requests, io_write_requests, io_misc_r 阅读全文
posted @ 2020-02-26 08:19 Tech_Shrimp 阅读(220) 评论(0) 推荐(0) 编辑