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: 10046 trace - weird library misses

RE: 10046 trace - weird library misses

From: <Jared.Still_at_radisys.com>
Date: Thu, 13 Feb 2003 09:59:25 -0800
Message-ID: <F001.0054C475.20030213095925@fatcity.com>


Raj, where is it documented that EXEC IMMEDIATE always does a hard parse?

Thanks,

Jared

"Jamadagni, Rajendra" <Rajendra.Jamadagni_at_espn.com> Sent by: root_at_fatcity.com
 02/13/2003 07:44 AM
 Please respond to ORACLE-L  

        To:     Multiple recipients of list ORACLE-L <ORACLE-L_at_fatcity.com>
        cc: 
        Subject:        RE: 10046 trace - weird  library misses


Are you using dynamic sql? execute immediate? That might explain ... because exec immediate does a hard parse ... and it is documented too. Raj



Rajendra Jamadagni MIS, ESPN Inc. Rajendra dot Jamadagni at ESPN dot com
Any opinion expressed here is personal and doesn't reflect that of ESPN Inc.
QOTD: Any clod can have facts, but having an opinion is an art!

-----Original Message-----
Sent: Thursday, February 13, 2003 9:49 AM To: Multiple recipients of list ORACLE-L

Dear friends,
I traced one of our test cases and found something weird. Did anybody else observe this?
Env:
server - 9.0.1.4, Solaris.
client - weblogic 7, uses original oracle thin 9.0.1 jdbc driver to connect.

         In fact, I can reproduce all this from SQLPlus Here is an excerpt from tkprof below - why every parse is a hard parse? Looks like the problem doesn't appear when 10046 is not set, and it appers ONLY on pl/sql blocks returning data to client, normal selects OK. Looks like bug again. Any workaround?
And what are these "Misses in library cache during execute"? 9.2.0.2 on Linux works fine, i.e. no misses once it has been parsed.

   BEGIN :1 := FN_GET_STATUS_ID(:2,:3); END;    call count cpu elapsed disk query current rows

--

Please see the official ORACLE-L FAQ: http://www.orafaq.net
--

Author:
  INET: Jared.Still_at_radisys.com

Fat City Network Services    -- 858-538-5051 http://www.fatcity.com
San Diego, California        -- Mailing list and web hosting services
---------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing).
Received on Thu Feb 13 2003 - 11:59:25 CST

Original text of this message

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