Skip to content

Commit

Permalink
2018-03-26
Browse files Browse the repository at this point in the history
  • Loading branch information
judasn committed Mar 26, 2018
1 parent 1119341 commit af3d867
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion markdown-file/Mysql-Optimize.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
- 查看系统状态:`SHOW STATUS;`
- 查看刚刚执行 SQL 是否有警告信息:`SHOW WARNINGS;`
- 查看刚刚执行 SQL 是否有错误信息:`SHOW ERRORS;`
- 查看已经连接的所有线程状况:`SHOW PROCESSLIST;`
- 查看已经连接的所有线程状况:`SHOW FULL PROCESSLIST;`
- 查看当前连接数量:`SHOW STATUS LIKE 'max_used_connections';`
- 查看变量,在 my.cnf 中配置的变量会在这里显示:`SHOW VARIABLES;`
- 查看当前MySQL 中已经记录了多少条慢查询,前提是配置文件中开启慢查询记录了.
Expand Down

0 comments on commit af3d867

Please sign in to comment.