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

Home -> Community -> Mailing Lists -> Oracle-L -> RE: RE: Function Based Index - Not Used ???

RE: RE: Function Based Index - Not Used ???

From: Naveen Nahata <naveen_nahata_at_mindtree.com>
Date: Thu, 29 May 2003 21:40:06 -0800
Message-ID: <F001.005A68FD.20030529214006@fatcity.com>


Didn't look for the explain plan in detail but you mentioned that the select returns around 50 rows. that confused us into thinking for other factors!

Since more than 10% records are getting selected, optimizer is most likely to choos FTS since it has to go back to the table and read the column "AGE" whose value cannot not be found from the index.

Regards
Naveen

> -----Original Message-----
> From: Prem Khanna J [mailto:jprem_at_kssnet.co.jp]
> Sent: Friday, May 30, 2003 8:45 AM
> To: Multiple recipients of list ORACLE-L
> Subject: Re: RE: Function Based Index - Not Used ???
>
>
> John,
>
> I tried it with COMPATIBLE=8.1.6.
> no nulls in that particular column
> but it's the same again.
>
> As Tim pointed out,
> CARD=262146 --> as per the EXPLAIN PLAN for SELECT w/o HINT.
> the SELECT retuens about 2.5 million rows.
> which is why it goes for a FTS than a Index scan
> is my understanding correct ?
>
> Thanks a lot John.
>
> Jp.
>
>
>
> 2003/05/29 21:45:44, "Hallas, John, Tech Dev"
> <John.Hallas_at_gb.vodafone.co.uk>
> wrote:
> >Naveen , these parameters look to be already set
> >Doesn't FBI come in with 8.1.7 and Prem is on 8.16 and a
> comapatible of 8.10 is
> in place
> >Failing that, as my second guess, 2 privileges need to be
> assigned to the user
> (QUERY_REWRITE and CREATE INDEX). The 2nd one is obviously in
> place to allow the
> index to be created but I don't know about the first
> >The final point is whether the name column is not null ,
> again I assume not but
> it is a possibility
> >John
>
>
> --
> Please see the official ORACLE-L FAQ: http://www.orafaq.net
> --
> Author: Prem Khanna J
> INET: jprem_at_kssnet.co.jp
>
> Fat City Network Services -- 858-538-5051 http://www.fatcity.com
> San Diego, California -- Mailing list and web hosting services
> ---------------------------------------------------------------------
> To REMOVE yourself from this mailing list, send an E-Mail message
> to: ListGuru_at_fatcity.com (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).
>
>

DISCLAIMER:
This message (including attachment if any) is confidential and may be privileged. Before opening attachments please check them for viruses and defects. MindTree Consulting Private Limited (MindTree) will not be responsible for any viruses or defects or any forwarded attachments emanating either from within MindTree or outside. If you have received this message by mistake please notify the sender by return e-mail and delete this message from your system. Any unauthorized use or dissemination of this message in whole or in part is strictly prohibited. Please note that e-mails are susceptible to change and MindTree shall not be liable for any improper, untimely or incomplete transmission.

-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.net
-- 
Author: Naveen Nahata
  INET: naveen_nahata_at_mindtree.com

Fat City Network Services    -- 858-538-5051 http://www.fatcity.com
San Diego, California        -- Mailing list and web hosting services
---------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: ListGuru_at_fatcity.com (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).
Received on Fri May 30 2003 - 00:40:06 CDT

Original text of this message

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