Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.misc -> easy index question

easy index question

From: Richard <richardbaines_at_netscape.net>
Date: Thu, 24 Jun 1999 12:05:07 +0100
Message-ID: <377210E3.1781CB55@netscape.net>


Easy question on indexes.

I have 2 indexes on a table:

index1 on columns col1,col2,col3
index2 on column col3

if I remove col3 from index1 and then use col1,col2 and col3 in a SQL statement where clause (in that order) will both index1 and index2 be used?
Will the search be more efficient if the three columns are in a single index (the table is rarely modified).

Hope the above makes sense. Any help on this gratefully received.

regards

Richard Received on Thu Jun 24 1999 - 06:05:07 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US