SQL2005 300万条记录 count(*) 和 count(字段名)比较

300万条记录 count(*) 和 count(字段名)比较 环境:sql2005 数据量:300万 机器环境 P4 3.0双核 1G内存 1. 执行语句 select count(*) from testing select count(id) from testing select count(name) from testing 2. 没有 索引的情况下 传说中的count(1)性能最差这
相关文章
相关标签/搜索