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: how to use function-based indexes?

Re: how to use function-based indexes?

From: Cristian Veronesi <c.veronesi_at_crpa.it>
Date: Wed, 12 Dec 2001 11:05:13 +0100
Message-ID: <3C172BD9.547FF1C2@crpa.it>


Niall Litchfield wrote:

> how many rows does your query return?

5 rows from 10904

> how many blocks in the table?

64

> have you analyzed the table (sorry can't find if you've posted this info or
> not).

Yes, I did:

SQL> analyze table acquirenti compute statistics ;

Table analyzed.

> if this is performance critical - I read your posts as just investigation -
> you could of course hint the statement.

I tried, with the same result:

SQL> explain plan for
  2 select * from acquirenti /*+ INDEX(acquirenti xie1acquirenti) */   3 where UPPER(ACQUIRENTE_RAG_SOC) like 'VERO%';

Explained.

SQL> select * from plan_view ;

OPERATION OPTIONS OBJECT_NAME POSITION

-------------------- -------------------- -------------------- --------
SELECT STATEMENT                                                     10
  TABLE ACCESS       FULL                 ACQUIRENTI                  1

Thanks for your help.

Best regards, Cristian

-- 
Cristian Veronesi ><((((º> http://www.crpa.it

There are no good wars, with the following exceptions: The American 
Revolution, World War II, and the Star Wars Trilogy. (Bart Simpson)
Received on Wed Dec 12 2001 - 04:05:13 CST

Original text of this message

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