Re: FBIs and query_rewrite_*

  • From: Adam Donahue <adonahue@xxxxxxxxxxx>
  • To: oracle-l@xxxxxxxxxxxxx
  • Date: Tue, 06 Jul 2004 12:34:58 -0700

Found the answer to my own question, p. 349 of "Effective Oracle by 
Design," Tom Kyte:

    In Oracle 9i, query rewrite enabled is not necessary for built-in
    functions such as UPPER or LOWER.

Adam

Adam Donahue wrote:

>Folks,
>
>Most documentation I've seen suggests that the following two parameters 
>must be set to enable function-based indexes:
>
>    query_rewrite_enabled=true
>    query_rewrite_integrity=trusted
>
>On Oracle 9.2.0, though, I thought I read somewhere (perhaps Tom Kyte's 
>book) that these are no longer required for FBIs on native Oracle 
>functions, e.g., upper().  (My tests confirmed that the CBO, at least, 
>generates a plan to use an FBI on upper() even when these parameters are 
>disabled.) 
>
>Does anyone have a pointer to official documentation confirming the above?
>
>Thanks,
>
>Adam
>
>----------------------------------------------------------------
>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
>-----------------------------------------------------------------
>  
>

----------------------------------------------------------------
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: