摘要:
在关联表的on字段上加上索引解决问题 阅读全文
posted @ 2020-08-26 16:08
尽
阅读(367)
评论(0)
推荐(0)
摘要:
count(1) and count(*) 当表的数据量大些时,对表作分析之后,使用count(1)还要比使用count(*)用时多了! 从执行计划来看,count(1)和count()的效果是一样的。但是在表做过分析之后,count(1)会比count()的用时少些(1w以内数据量),不过差不了多 阅读全文
posted @ 2020-08-26 09:18
尽
阅读(368)
评论(0)
推荐(1)

浙公网安备 33010602011771号