Separate Index or Composite Indice ?
- From: "userjohn" <userjohn@xxxxxxxxxxxxxx>
- Date: Thu, 30 Aug 2007 12:15:39 -0400
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" ?
thanks
.
- Follow-Ups:
- Re: Separate Index or Composite Indice ?
- From: Richard Foote
- Re: Separate Index or Composite Indice ?
- From: xhoster
- Re: Separate Index or Composite Indice ?
- From: fitzjarrell@xxxxxxx
- Re: Separate Index or Composite Indice ?
- Prev by Date: Re: Query Improvement
- Next by Date: Re: Separate Index or Composite Indice ?
- Previous by thread: PHP/Oracle home problem ?
- Next by thread: Re: Separate Index or Composite Indice ?
- Index(es):