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 -> Separate Index or Composite Indice ?

Separate Index or Composite Indice ?

From: userjohn <userjohn_at_mailinator.com>
Date: Thu, 30 Aug 2007 12:15:39 -0400
Message-ID: <13ddrbf3th7fsd8@corp.supernews.com>


10gR2

If you have :
2 columns on a hi-traffic transactional table
- one ("some_id") high cardinality

You use both columns in SQL - "some_id" is used in JOIN and "yes_no" as a predicate

Would you create normal index on BOTH , just "some_id" or a composite indice on "some_id" + "yes_no" ?

thanks Received on Thu Aug 30 2007 - 11:15:39 CDT

Original text of this message

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