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: Mutating (SQL) execution plan!?...is that possible...strangest thing I have every seen

RE: Mutating (SQL) execution plan!?...is that possible...strangest thing I have every seen

From: Christian Antognini <Christian.Antognini_at_trivadis.com>
Date: Thu, 10 Mar 2005 15:26:17 +0100
Message-ID: <2CF83791A616BB4DA203FFD13007824A02143FA0@MSXVS02.trivadis.com>


Hi Chris

>If developer changes something trivial, like the case of the word and,
>like; "AND" to "and", in he Perl code and runs it again and it takes
>only seconds!!!
>Now I realize that maybe Oracle sees this as technically new SQL, but =
it
>is the same query and they should use the same plan!?
>Finally as soon as we flush the shared pool the original query (in the
>program code) starts performing within seconds again!?

Did you check the execution plan associated with the cursor in the = shared pool with one of the V$SQL_PLAN* views?

Chris

--
http://www.freelists.org/webpage/oracle-l
Received on Thu Mar 10 2005 - 09:29:37 CST

Original text of this message

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