Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> Would Oracle use index on count(*)?
When I issue an Select count(*) from Table, Oracle always performs a table
scan even though an index is available. In MS SQL Server, the optimizer will
chose to scan the index (if one is available) instead of the table. Why
doesn't Oracle do this?
Received on Mon Apr 13 1998 - 22:20:08 CDT