上一页 1 2 3 4 5 6 7 8 9 10 ··· 15 下一页

2022年2月28日

内存问题排查常用命令

摘要: 1. vmstat 查看内存详情 # 每隔1秒输出1组数据 $ vmstat 1 procs memory swap-- io -system-- cpu r b swpd free buff cache si so bi bo in cs us sy id wa st 0 0 0 7743608 阅读全文

posted @ 2022-02-28 11:46 柴米油盐酱醋 阅读(145) 评论(0) 推荐(0) 编辑

2022年2月27日

centos7.x升级内核安装BCC(转)

摘要: 升级内核: https://www.cnblogs.com/easonscx/p/12598255.html 安装bcc: yum install -y bcc-tools export PATH=$PATH:/usr/share/bcc/tools cacehstat 1 3报错: raise E 阅读全文

posted @ 2022-02-27 20:40 柴米油盐酱醋 阅读(202) 评论(0) 推荐(0) 编辑

CPU问题排查常用命令

摘要: ##常用命令 1. uptime 显示系统启动时间和平均负载 02:34:03 up 2 days, 20:14, 1 user, load average: 0.63, 0.83, 0.88 2. stress 常用压测命令 cpu密集型压测 stress --cpu 1 --timeout 60 阅读全文

posted @ 2022-02-27 13:12 柴米油盐酱醋 阅读(368) 评论(0) 推荐(0) 编辑

2022年2月25日

iowait 学习(转载)

摘要: https://www.jianshu.com/p/16af532eff06 https://moy.cat/2020/02/%E3%80%8Ciowait%E3%80%8D%E7%A9%B6%E7%AB%9F%E6%98%AF%E4%BB%80%E4%B9%88%EF%BC%9F/#:~:text 阅读全文

posted @ 2022-02-25 10:38 柴米油盐酱醋 阅读(42) 评论(0) 推荐(0) 编辑

2022年2月22日

lsof 转载学习

摘要: 链接: https://zhuanlan.zhihu.com/p/187594222 阅读全文

posted @ 2022-02-22 15:07 柴米油盐酱醋 阅读(13) 评论(0) 推荐(0) 编辑

2022年1月24日

HAproxy端口转发到Mysql

摘要: 参考文档: https://blog.51cto.com/chenql/1898713http://www.ttlsa.com/linux/haproxy-study-tutorial 配置文件: [root@mysql haproxy]# cat haproxy.cfg global log 12 阅读全文

posted @ 2022-01-24 18:59 柴米油盐酱醋 阅读(414) 评论(0) 推荐(0) 编辑

2022年1月17日

my2sql 安装使用(回滚,分析大事务长事务)

摘要: 官方github https://github.com/liuhr/my2sql 1、安装 本想用源码安装,但一直报错,后来直接下载的二进制文件 wget https://raw.githubusercontent.com/liuhr/my2sql/master/releases/centOS_re 阅读全文

posted @ 2022-01-17 20:15 柴米油盐酱醋 阅读(821) 评论(0) 推荐(1) 编辑

MySQL误区一(max_connect_errors 参数)

摘要: 转载: https://developer.aliyun.com/article/159612?spm=a2c6h.13262185.0.0.4211ea3cYu6xOi 阅读全文

posted @ 2022-01-17 11:00 柴米油盐酱醋 阅读(51) 评论(0) 推荐(0) 编辑

2022年1月15日

MySQL杂记--select 权限范围变更史

摘要: 前言: 在5.7版本中无意间发现,只有 select 权限的用户,是可以执行 select ... for update / select ... lock in share mode 命令的,一时想不出在什么场景下,会存在只有 select 权限的用户,需要对记录加锁操作, 复现: session 阅读全文

posted @ 2022-01-15 17:02 柴米油盐酱醋 阅读(273) 评论(0) 推荐(0) 编辑

2022年1月10日

mysql 排序规则-权重

摘要: https://www.coder.work/article/147670 https://stackoverflow.com/questions/41147829/how-can-i-search-by-emoji-in-mysql-using-utf8mb4 https://dev.mysql. 阅读全文

posted @ 2022-01-10 15:39 柴米油盐酱醋 阅读(340) 评论(0) 推荐(0) 编辑

上一页 1 2 3 4 5 6 7 8 9 10 ··· 15 下一页

导航