Re: function based indexes

  • From: Mohammed Shakir <mshakir08816@xxxxxxxxx>
  • To: oracle-l@xxxxxxxxxxxxx
  • Date: Wed, 11 Aug 2004 19:20:07 -0700 (PDT)

I had to do the following to get function based indexes working.
But I have Oracle 9i. You can check 10g documentation to confirm.

You must have the following initialization parameters defined to create 
a
function-based index:

QUERY_REWRITE_INTEGRITY must be set to TRUSTED

QUERY_REWRITE_ENABLED must be set to TRUE

COMPATIBLE must set to 8.1.0.0.0 or a greater value


Shakir


--- Harvinder Singh <Harvinder.Singh@xxxxxxxxxxxxx> wrote:

> Hi,
> 
> We are creating function based indexes and have question about parameter
> query_rewrite_integrity. Docs says value for this parameter should be
> trusted to be able to use FBT but even when I set this parameter setting
> to ENFORCED, optimizer is able to use index. So what should be the value
> of this parameter to be able to use function based indexes?
> We are using 10g on red hat linux
> 
> Thanks
> --Harvinder
> 
> 
> ----------------------------------------------------------------
> Please see the official ORACLE-L FAQ: http://www.orafaq.com
> ----------------------------------------------------------------
> To unsubscribe send email to:  oracle-l-request@xxxxxxxxxxxxx
> put 'unsubscribe' in the subject line.
> --
> Archives are at //www.freelists.org/archives/oracle-l/
> FAQ is at //www.freelists.org/help/fom-serve/cache/1.html
> -----------------------------------------------------------------
> 


=====
Mohammed Shakir
CompuSoft, Inc.
11 Heather Way
East Brunswick, NJ 08816-2825
(732) 672-0464 (Cell)
(732) 257-6001 (Home)


                
__________________________________
Do you Yahoo!?
New and Improved Yahoo! Mail - Send 10MB messages!
http://promotions.yahoo.com/new_mail 
----------------------------------------------------------------
Please see the official ORACLE-L FAQ: http://www.orafaq.com
----------------------------------------------------------------
To unsubscribe send email to:  oracle-l-request@xxxxxxxxxxxxx
put 'unsubscribe' in the subject line.
--
Archives are at //www.freelists.org/archives/oracle-l/
FAQ is at //www.freelists.org/help/fom-serve/cache/1.html
-----------------------------------------------------------------

Other related posts: