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

Home -> Community -> Usenet -> c.d.o.server -> Re: Is it usefull to use composite index ?

Re: Is it usefull to use composite index ?

From: John P. Higgins <jh33378_at_deere.com>
Date: Mon, 22 Mar 1999 21:04:18 -0600
Message-ID: <36F704B2.7C04F52E@deere.com>


If you use a composite index on COLUMN_A, COLUMN_B it can be used on where clauses specifying both columns or where clauses specifying only COLUMN_A; however it cannot be used for where clauses that specify only COLUMN_B. Two single column indexes cover all three sets of where clauses, but the I believe composite is quicker when both columns are specified.

jean-christophe.nedelec_at_wanadoo.fr wrote:

> i wonder what is the best for retrieval on 2 table with 2 columns

> - 2 index on each columns
> - a composite index on the 2 column ?
Received on Mon Mar 22 1999 - 21:04:18 CST

Original text of this message

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