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: RE: explain plans for PL/SQL and transactions

Re: RE: explain plans for PL/SQL and transactions

From: <rgaffuri_at_cox.net>
Date: Tue, 06 May 2003 10:06:57 -0800
Message-ID: <F001.00591584.20030506100657@fatcity.com>


so there is no way to capture an explain plan on dynamic sql? What about sqltrace?
>
> From: "Jamadagni, Rajendra" <Rajendra.Jamadagni_at_espn.com>
> Date: 2003/05/06 Tue AM 10:52:04 EDT
> To: Multiple recipients of list ORACLE-L <ORACLE-L_at_fatcity.com>
> Subject: RE: explain plans for PL/SQL and transactions
>
> Patrice,
>
> The best way to track pl/sql is to use dbms_profiler package. There are some
> utilities in $OH/plsql/demo directory to analyze captured information.
> For pl/sql there is no execution plan, you probably can capture pga/uga to
> see memory footprint.
>
> Raj
> ----------------------------------------------------------------------------
> ----
> Rajendra dot Jamadagni at nospamespn dot com
> All Views expressed in this email are strictly personal.
> QOTD: Any clod can have facts, having an opinion is an art !
>
>
> -----Original Message-----
> Sent: Tuesday, May 06, 2003 9:27 AM
> To: Multiple recipients of list ORACLE-L
>
>
> Is there a way to track the activity associated with a batch job, to see:
>
> -- the execution plans and costs for all the code it submits
> -- memory used
> -- cpu used
> -- time to complete.
>
> I like explain plan very much, but am looking for something similar that
> covers PL/SQL as well.
>
> A user here is submitting code that keeps looping. The SQL itself is not
> the problem, I think the problem has to do with the execution path of the
> PL/SQL code.
>
> I am looking for something that provides the comprehensive info we get from
> explain plan, but for a batch job.
>
> Patrice.
>
> ********************************************************************This e-mail message is confidential, intended only for the named recipient(s) above and may contain information that is privileged, attorney work product or exempt from disclosure under applicable law. If you have received this message in error, or are not the named recipient(s), please immediately notify corporate MIS at (860) 766-2000 and delete this e-mail message from your computer, Thank you.*********************************************************************2
>
>







RE: explain plans for PL/SQL and transactions



Patrice,

The best way to track pl/sql is to use dbms_profiler package. There are some utilities in $OH/plsql/demo directory to analyze captured information.

For pl/sql there is no execution plan, you probably can capture pga/uga to see memory footprint.

Raj
--------------------------------------------------------------------------------
Rajendra dot Jamadagni at nospamespn dot com
All Views expressed in this email are strictly personal.
QOTD: Any clod can have facts, having an opinion is an art !


-----Original Message-----
From: Boivin, Patrice J [mailto:BoivinP@mar.dfo-mpo.gc.ca]
Sent: Tuesday, May 06, 2003 9:27 AM
To: Multiple recipients of list ORACLE-L
Subject: explain plans for PL/SQL and transactions


Is there a way to track the activity associated with a batch job, to see:

-- the execution plans and costs for all the code it submits
-- memory used
-- cpu used
-- time to complete.

I like explain plan very much, but am looking for something similar that
covers PL/SQL as well.

A user here is submitting code that keeps looping.  The SQL itself is not
the problem, I think the problem has to do with the execution path of the
PL/SQL code.

I am looking for something that provides the comprehensive info we get from
explain plan, but for a batch job.

Patrice.

-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.net
-- 
Author: <rgaffuri_at_cox.net
  INET: rgaffuri_at_cox.net

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 Tue May 06 2003 - 13:06:57 CDT

Original text of this message

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