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

Home -> Community -> Mailing Lists -> Oracle-L -> RE: optimizer rewriting query

RE: optimizer rewriting query

From: <amit.poddar_at_yale.edu>
Date: Sat, 12 Mar 2005 18:27:22 -0500
Message-ID: <1110670041.42337ada005c3@www.mail.yale.edu>


Does that mean that
we will have to reverse engineer the rewritten sql statement indirectly from access and filter predicates ?

This would be very difficult in case of unnested subqueries and view merging.

I have a vague recollection somebody mentioned a event for this thats why I asked this question.

amit

Quoting Karen Morton <Karen.Morton_at_hotsos.com>:

> You can check the access_predicates and filter_predicates columns in
> your plan table (either PLAN_TABLE or V$SQL_PLAN) if you are using
> version 9 and above.
>
>
> Karen Morton
> Hotsos Enterprises, Ltd.
> www.hotsos.com
>
>
> ----- Original Message -----
> From: amit.poddar_at_yale.edu
> Sent: Fri Mar 11 17:27:52 PST 2005
> To: oracle-l_at_freelists.org
> Subject: optimizer rewriting query
>
>
> Hi,
>
> We can use 10053 trace to list all the optimizer calculations and
> decesions about the query plan.
>
> But is there any event to check whether the optimizer has rewrittent
> our
> query, and if yes then to see the rewritten query.
>
> thanks
> amit
> --
> http://www.freelists.org/webpage/oracle-l
>

--
http://www.freelists.org/webpage/oracle-l
Received on Sat Mar 12 2005 - 18:30:51 CST

Original text of this message

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