MySQL慢查询分析工具pt-query-digest 2024-03-16 mysql 2699 words 6 mins read MySQL慢查询分析工具pt-query-digest pt-query-digest是用于分析mysql慢日志的工具,它可以分析binlog Read more...
performance_schema 和 information_schema 的区别 2024-03-16 mysql 2858 words 6 mins read performance_schema 和 information_schema 的区别 performance_schema performance_schema这个库提供的是MySQL数据库性能的一些指标,主要保存 MySQL 服务器运行过程中的一些状态信息, 算 Read more...
怎么判断主从延迟? 2024-03-16 mysql 590 words 2 mins read 怎么判断主从延迟? 第一种:Seconds_Behind_Master 一种常规的方法就是 show slave status 查看 Seconds_Behind_Master, Read more...
一条 update 会经历哪些过程 2024-03-16 mysql 305 words 1 min read 一条 update 会经历哪些过程 首先是连上连接器,负责跟客户端建立连接、获取权限、维持和管理连接。 分析器会先做词法分析。需要确定SQL语句中的字符串分表 Read more...
Prometheus监控MySQL 2024-03-15 mysql prometheus 1604 words 4 mins read Prometheus监控MySQL docker-compose配置 通过docker-compose.yaml文件配置启动MySQL和mysq Read more...