select count(*) from abc 和 select count(某字段) from abc 的区别
今天在ORACLE 10g上做了个测试:select count(*) from abcselect count(某字段) from abc如果选择的字段为索引字段时,速度几乎一样。另外,select count(索引字段) from abc 比 select count(非索引字段) from abc 速度明显快,快3倍以上。[@more@]