Skip to content

Commit 3861c4a

Browse files
authored
Update mysql慢查日志分析工具
1 parent c83451a commit 3861c4a

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

mysql的sql语句优化/mysql慢查日志分析工具

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,5 +55,7 @@ from film;
5555

5656
3.count(*) 查询的结果中,包含了该列值为null的结果
5757

58-
58+
**************************************************
59+
子查询一般优化成join的查询方式,同时需考虑关联键是否存在一对多的关系
60+
如果存在一对多的关系,则可以使用distinct关键字去重.
5961

0 commit comments

Comments
 (0)