Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Mailing Lists -> Oracle-L -> RE: Index question
is this a range scan or an equality search?
for equality searches, the difference will be minimal --
but range scans will be more expensive.
how much? that depends...
is the performance "good enough"? then leave it as is!
Kind regards,
Lex.
-----Original Message-----
From: oracle-l-bounce_at_freelists.org
[mailto:oracle-l-bounce_at_freelists.org]On Behalf Of Rick Stephenson
Sent: Tuesday, August 10, 2004 16:09
To: Oracle ListServ (oracle-l_at_freelists.org)
Subject: Index question
I have a query that references Table t column c in the where clause. Table t already has an index on (column c, column d). Is there any reason to add an index to table t that contains just column c? I know that Oracle will use the other index because of the leading column, but is there a performance hit due to it being a composite index?
I am running Oracle EE 9.2.0.5.
Thanks,
Rick Stephenson
![]() |
![]() |