Skip to Main Content

Oracle Database Discussions

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

How do I monitor trace file ?

MUSICOVERYSep 17 2016 — edited Sep 17 2016

Hi all,

I am stuck from tracing file by using dbms_monitor.serv_mod_act_trace_enable

I coded like below:

SYS>

grant execute on dbms_monitor to dev;

grant execute on dbms_application_info to dev;

dev>

alter session set tracefile_identifier='winsplay';

begin

dbms_application_info.set_module(

 module\_name => 'winsplay',

 action\_name => 'my job'

);

end;

/

SYS>

declare

begin

dbms_monitor.serv_mod_act_trace_enable(

service\_name => 'winsplay',

module\_name => dbms\_monitor.all\_modules,

action\_name => dbms\_monitor.all\_actions,

waits => true,

binds => true

);

end;

/

With above setting, I can see trace list working on from querying select * from dba_enabled_traces;

dasd.JPG

But that's all. Where do I go to check statistics, execution plans, bind variables, wait events ??

I checked the location containing trace files. But there is no relevant file.

(In Window, C:\oraclexe\app\oracle\diag\rdbms\xe\xe\trace)

This post has been answered by AndrewSayer on Sep 17 2016
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Oct 15 2016
Added on Sep 17 2016
2 comments
321 views