1 select count(1) from table 2 select count(*) from table 3 4 select count(name) from table //name为索引 5 select count(name) from table //name不是索引
以上4条语句,我去看了下执行计划,生产的计划都是一样的。
曾经看到有大神的文章说 1的速度最快...........................
求教育(热情恭候dudu大师给链接或者解释).................
白板的微信
摇曳的蔷薇
呼啦一阵风
墨色风雨
精慕HU
临摹微笑
料青山看我应如是
相关分类