Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> ORDER BY - using index
Hello.
I have simply select with ORDER BY like
SELECT x FROM y ORDER BY z
Oracle (version 10.2) does not use index despite of there is index on
column z. There are many records in table so SELECT takes long. Of
course I can use hint to point index.
1. Is it possible to set Oracle parameters to choose adequate index
automatically (without hint) in this kind of SELECT statements?
2. Why Oracle does not use index in this situation? (Time difference is
like 1 : 60).
TIA Boguslaw Pazur Received on Tue Mar 07 2006 - 03:41:07 CST