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

Home -> Community -> Usenet -> c.d.o.server -> Re: Histograms on Columns for CBO

Re: Histograms on Columns for CBO

From: Niall Litchfield <niall.litchfield_at_dial.pipex.com>
Date: Fri, 05 Oct 2007 19:42:55 +0100
Message-ID: <470685AF.2040802@dial.pipex.com>


zigzagdna_at_yahoo.com wrote:
> I have a packaged application (I cannot modify source code). There are
> several queries which use upper(reportedby) like '%JOE%' in where
> clause, I created function based index on upper(reportedby), however
> fb index does not get used. I was wondering whether it is possible to
> create histograms to influence CBO.

like '%string%' will not benefit from an index. like 'string%' will using b-trees to satisfy full text case insensitive search won't work for you.

-- 
Niall Litchfield
Oracle DBA
http://www.orawin.info/services
Received on Fri Oct 05 2007 - 13:42:55 CDT

Original text of this message

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