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 16:46:22 +0100
Message-ID: <3C177BCE.854F9E63@crpa.it>


Mark Townsend wrote:

> 1) What happens if you say
> where UPPER(ACQUIRENTE_RAG_SOC) like upper('VERO%');

Nothing changes.  

> 2) How many rows in the table and what % of the rows qualify the condition ?
> - it's entirely possible that the FTS is faster than the index lookup

5/10904 = 0.05%. But perhaps what you say it's true. The query is indeed very fast!

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 - 09:46:22 CST

Original text of this message

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