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

Home -> Community -> Usenet -> c.d.o.server -> Re: Tuning PL/SQL Procedures

Re: Tuning PL/SQL Procedures

From: PierIgno <PierIgno_at_pippero.it>
Date: Thu, 03 Nov 2005 18:09:14 +0100
Message-ID: <dkdg8g$pno$1@stargate1.inet.it>


Jonathan Lewis wrote:
> "GeoPappas" <PappasG_at_gmail.com> wrote in message
> news:1131031547.194467.279820_at_f14g2000cwb.googlegroups.com...
>

>>I am familiar with the ability to tune a SQL statement, but is there a
>>way to tune a procedure?
>>
>>For example, we have a procedure in PL/SQL that is a few hundred lines.
>>I would like to test the procedure and capture a benchmark.  I would
>>then like to try various things to try and improve performance.
>>
>>Is utlbstat/utlestat the best way?
>>
>>Are there other ways?

I usually put a session under trace and I use tkprof....
>>
>>FYI: Using Oracle 10g on Solaris 2.9
>>

>
>
>
> Take a look at the dbms_profiler package.
>
> This allows you to capture the number of visits
> to, and time spent in, each line of the pl/sql. So
> it tells you which bits of code need tuning, and
> lets you know if you've got any code paths that
> haven't been tested by your data.
>
> The overhead while running a test is, obviously,
> rather large.
>
>
Received on Thu Nov 03 2005 - 11:09:14 CST

Original text of this message

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