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 -> Re: index usage---

Re: index usage---

From: Niall Litchfield <n-litchfield_at_audit-commission.gov.uk>
Date: Wed, 25 Apr 2001 12:15:40 +0100
Message-ID: <3ae6b1df$0$15027$ed9e5944@reading.news.pipex.net>

"Andre Weber" <WeberAndre_at_t-online.de> wrote in message news:9bsacb$hq9$07$1_at_news.t-online.com...
> I have a table called "files" and there is a column names "ONAME" on this
> column
> i've created a Function Based Index (other Question why can't i create a
> function
> based index as normal user?)
>
> create index TEST.FILESNAMEIDX on TEST.FILES (upper(ONAME));
> (the relation files contains near 1 million records!)
>
> later in the application i have the following select (simplified)
>
> select * from FILES where upper(oname) like 'TEST%';

what is the explain plan for this simplified select - does it show a full tablescan or does it show index usage.

perhaps you could post the full sql statement and associated explain plan.

--
Niall Litchfield
Oracle DBA
Audit Commission UK
Received on Wed Apr 25 2001 - 06:15:40 CDT

Original text of this message

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