Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> Perf Tuning
Is this true? I always thought that using select count(indexedcolumn) from
table is faster than select count(*) from table... am I wrong???
"In Oracle, the execution plan for the 'select count(*)' and 'select count(primary key)' is identical, which means that there is no difference between two queries in terms of performance..."
Any links or comments are more than welcomed!!! I need to figure this out..... TIA!
Alex Ivascu Received on Mon May 13 2002 - 18:14:29 CDT