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

Home -> Community -> Mailing Lists -> Oracle-L -> Function Based indexes in 10g - setting up function based indexes

Function Based indexes in 10g - setting up function based indexes

From: Spears, Brian <BSpears_at_Limitedbrands.com>
Date: Thu, 15 Dec 2005 15:25:15 -0500
Message-ID: <50938E6468CFED40AE0FD7A507D96D340207D0E6@EXCHSERV2.Limited.brands.com>


Function Based indexes in 10g.
Anybody know if there is more to activating function based indexes in 10g. Not sure if till need the rewrite parameters  

  1. create the function based indexes
  2. analyze the table and indexes 3.QUERY_REWRITE_ENABLED=TRUE QUERY_REWRITE_INTEGRITY=TRUSTED
2 indexes
1 based on a trim(column)
1 based on a trunc(column)  

Back in my mind, I thought there was something else to do to activate the QUERY_REWRITE_ENABLED.  

anyone esle share their fun getting these functional indexes to be activated in the explain plan?
Thanks
brian


From: oracle-l-bounce_at_freelists.org
[mailto:oracle-l-bounce_at_freelists.org] On Behalf Of Kevin Closson
Sent: Wednesday, December 14, 2005 11:36 AM To: Oracle-L
Subject: RE: Lets load test

SAN, DAS or NAS ?


        From: oracle-l-bounce_at_freelists.org
[mailto:oracle-l-bounce_at_freelists.org] On Behalf Of Ethan Post

	Sent: Wednesday, December 14, 2005 8:13 AM
	To: kutrovsky.oracle_at_gmail.com
	Cc: oracle-l
	Subject: Re: Lets load test
	
	
	I have a benchmark script I would like you to try, will send you
the attachment in a seperate email. Be interested in seeing the numbers, it is very easy to run. I will post the script on the web when I get a chance for everyone.          

        -Ethan          

        On 12/14/05, Christo Kutrovsky <kutrovsky.oracle_at_gmail.com> wrote:

                I have a relativelly fast machine for testing.                 

		It's a 4 cpu XEON 3.6 ghz with 1 mb of cache
		16 gb of ram 
		
		and a lot of fast storage.
		
		It's running RedHat linux 4 64 bit with 64 bit Oracle
10g and ASM.                 

                Throw your ideas if you would like to see something tested, it's

                sitting idle right now.                 

                I just finished setting it up, so i am running some very raw tests.                 

                For example, I created a 3.68 gb table with ~40m rows from

                dba_objects. Exact size is:                 

		3'959'422'976 bytes
		38'653'952 rows
		
		It's gething full scanned for 5.05 cpuseconds. (482008
logical reads,
		no physical).
		
		If anyone wants to see something let me know. There's
500 gb of
		storage available.
		
		--
		Christo Kutrovsky
		Senior Database/System Administrator
		The Pythian Group
		--
		http://www.freelists.org/webpage/oracle-l
		
		
		



--
http://www.freelists.org/webpage/oracle-l
Received on Thu Dec 15 2005 - 14:25:43 CST

Original text of this message

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