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

Home -> Community -> Mailing Lists -> Oracle-L -> Column order in indices (oracle 9.2)

Column order in indices (oracle 9.2)

From: <genegurevich_at_discoverfinancial.com>
Date: Tue, 1 Aug 2006 07:44:23 -0500
Message-ID: <OF3C8A367A.76A6B391-ON862571BD.00457DAD-862571BD.0045FA68@discoverfinancial.com>


Hi everybody:

I remember reading that in Oracle 9.2 and higher the order of the columns in an index does not matter.
That is oracle will be able to quickly search on a column even if it is not a leading one. I have a table
with a primary key consisting of three columns. When a table is queried based on the third column,
the data start coming out immediately, but when I use the second column the query just sits there.
Is that an expected behavior? Did I misunderstood something about the column order?

thanks for any insight

Gene Gurevich

--
http://www.freelists.org/webpage/oracle-l
Received on Tue Aug 01 2006 - 07:44:23 CDT

Original text of this message

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