You table doesn't have a degree > 1 does it?.  I've seen examples where this
caused a lot of indexes to be ignored.


-----Original Message-----
Sent: 29 June 2001 16:53
To: Multiple recipients of list ORACLE-L


I'm returning 117 rows.


Bill Carle
AT&T
Database Administrator
816-995-3922
[EMAIL PROTECTED]

 -----Original Message-----
Sent:   Friday, June 29, 2001 9:50 AM
To:     [EMAIL PROTECTED]; Carle, William T (Bill), NLCIO
Subject:        Re: Why are my indexes being ignored?

"Carle, William T (Bill), NLCIO" wrote:
> 
> Hi,
> 
>     I created an index on a table. The table has about 83,000 rows. The
> index is a simple index on one field, 35 different values of the index. I
> analyzed the table and I analyzed the index, trying it both with a
histogram
> and without a histogram. No matter how I do it, it does a full table scan.
> Any ideas why? I know I can use a hint, but it seems to me that it ought
to
> use the index.

how many rows are you returning?  if i remember right, and if i don't
i'm sure i'll be reminded;-), if you return more than a certain % of the
table it does a full table scan even if there are indexes.

--
Bill "Shrek" Thater   Certifiable ORACLE DBA
Telergy, Inc.            [EMAIL PROTECTED]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
You gotta program like you don't need the money,
You gotta compile like you'll never get hurt,
You gotta run like there's nobody watching,
It's gotta come from the heart if you want it to work.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
"It's not a bug. It's an undocumented feature"
-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: Carle, William T (Bill), NLCIO
  INET: [EMAIL PROTECTED]

Fat City Network Services    -- (858) 538-5051  FAX: (858) 538-5051
San Diego, California        -- Public Internet access / Mailing Lists
--------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).
-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: Nicoll, Iain (Calanais)
  INET: [EMAIL PROTECTED]

Fat City Network Services    -- (858) 538-5051  FAX: (858) 538-5051
San Diego, California        -- Public Internet access / Mailing Lists
--------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).

Reply via email to