DBMS_PROFILER and ONLY ANONYMOUS
ZaboMay 21 2013 — edited May 24 2013Hello,
I'm using 11gR2.
I followed this tutorial (http://www.oracle-base.com/articles/9i/dbms_profiler.php) to install and test dbms_profiler.
I'm surprised to get only information about ANONYMOUS BLOCK, although I should see information about DO_SOMETHING.
Can anyone give me help ?
Thanks.
SQL> select * from PLSQL_PROFILER_UNITS;
RUNID UNIT_NUMBER UNIT_TYPE
---------- ----------- --------------------------------
UNIT_OWNER UNIT_NAME UNIT_TIM
-------------------------------- -------------------------------- --------
TOTAL_TIME SPARE1 SPARE2
---------- ---------- ----------
1 1 ANONYMOUS BLOCK
<anonymous> <anonymous> 00/00/00
0