Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> Re: Why my index is not used?
On 17.01.2007 16:10, Robert Klemme wrote:
> On 17.01.2007 15:43, Ana Ribeiro wrote:
>> Please explain me one more thing: even with no predicates which can use >> an index on the tables Step and Script now we can see that indexes are >> being used ... Do you understand why?
Sorry, forgot to mention the main point: index access can be faster even if there is no criterion because the index might be smaller than the table. So assuming the table above has a lot more columns even
select c1
from foo
might actually be serviced faster from the index because the index is smaller.
Kind regards
robert Received on Wed Jan 17 2007 - 09:14:08 CST