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

Home -> Community -> Usenet -> c.d.o.tools -> ______SQL & Index Question

______SQL & Index Question

From: Emre Akbag <akbag_at_scr.siemens.com>
Date: Thu, 14 Sep 2000 10:55:46 -0400
Message-ID: <ZB5w5.1149$l35.16541@iad-read.news.verio.net>

Hi,

say I have a table with many columns and 100.000 rows. Table is also partitioned in 10 pieces according to the values in Column C:

    Column B has 70.000 different values     Column C has 10 different values.

I'll query the table always giving two arguments for B and C.

How should I index this table:

  1. local index on (B,C)
  2. local index on (C,B) (What's the difference between 1 and 2 ?)
  3. global index on B
  4. local index on C
  5. none of them, but...

I'd appreciate any ideas.

--
Thanks in advance

Emre AKBAG

akbag_at_scr.siemens.com
Siemens Corporate Research
Received on Thu Sep 14 2000 - 09:55:46 CDT

Original text of this message

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