DBA DBMS Profiler Data
Description
Categories: Enginatics, Kcapps
Repository: Github
Repository: Github
Excel version of Oracle's dbms_profiler PLSQL performance analysis, see Oracle note:
Using DBMS_PROFILER (Doc ID 97270.1)
https://support.oracle.com/CSP/main/article?cmd=show&type=NOT&id=97270.1 ... more
Using DBMS_PROFILER (Doc ID 97270.1)
https://support.oracle.com/CSP/main/article?cmd=show&type=NOT&id=97270.1 ... more
select ppr.runid, ppr.run_date, ppr.run_total_time/decode(:time_unit,'Seconds',1000000000,1000000) total_time, sum(ppd.total_time) over (partition by ppd.runid)/decode(:time_unit,'Seconds',1000000000,1000000) plsql_time, ppu.unit_type type, ppu.unit_owner||'.'||ppu.unit_name name, ppd.total_time*100/sum(ppd.total_time) over (partition by ppd.runid) percentage, ppd.line#, ppd.total_occur executions, ppd.total_time/decode(:time_unit,'Seconds',1000000000,1000000) time, (select ds.text from dba_source ds where ppu.unit_type=ds.type and ppu.unit_owner=ds.owner and ppu.unit_name=ds.name and ppd.line#=ds.line) line_text from plsql_profiler_runs ppr, plsql_profiler_units ppu, plsql_profiler_data ppd where 1=1 and ppr.runid=ppu.runid and ppu.runid=ppd.runid and ppu.unit_number=ppd.unit_number order by ppr.runid desc, ppd.total_time desc |
Parameter Name | SQL text | Validation | |
---|---|---|---|
Run Id |
|
LOV | |
Name |
|
LOV | |
Line Number From |
|
Number | |
Line Number To |
|
Number | |
Time Unit |
|
LOV |