| Oracle FAQ | Your Portal to the Oracle Knowledge Grid | |
Home -> Community -> Usenet -> c.d.o.server -> Re: Separate Index or Composite Indice ?
xhoster_at_gmail.com wrote:
> "userjohn" <userjohn_at_mailinator.com> wrote:
>> 10gR2
>>
>> If you have :
>> 2 columns on a hi-traffic transactional table
>> - one ("some_id") high cardinality
>> - and one ("yes_no") low 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" ?
Anyway you have to consult the execution plans of actual statements.
Jan Received on Fri Aug 31 2007 - 13:58:00 CDT
![]() |
![]() |