How does the database_trace_enable
procedure of dbms_monitor work?
The database_trace_enable parameter procedure is
used as part of the
to trace for a specific
set tracefile_identifier = 'dbms_monitor';
=> true, binds => false, instance_name => 'MYINST');
To turn off database tracing, issue this
Also see my
notes on the
You can query the tracing with the dba_enabled_traces
view and see the trace file location with these queries:
name ='default trace
The database_trace_enable is a
procedure that enables or turns tracing for the specified instance. The plan stat parameter valid values are
NEVER, FIRST_EXECUTION (same as NULL) and ALL_EXECUTIONS.
Also see my notes on how to find
find an Oracle trace file
Using dbms_monitor.database_trace_enable may
generate zillions of trace files and could fill-up your
trace directory with xxx.trc files. It is a
very rare case when you want to trace all activity within a
running database istance.
Inside the DBMS Packages
The DBMS packages form the foundation of
Oracle DBA functionality. Now, Paulo Portugal writes a landmark book
Advanced Oracle DBMS Packages: The Definitive Reference.
This is a must-have book complete with a code
depot of working examples for all of the major DBMS packages.
Order directly from Rampant and save 30%.
Burleson is the American Team
documentation was created as a support and Oracle training reference for use by our
DBA performance tuning consulting professionals.
Feel free to ask questions on our
considering using the services of an Oracle support expert should
independently investigate their credentials and experience, and not rely on
advertisements and self-proclaimed expertise. All legitimate Oracle experts
Oracle technology is changing and we
strive to update our BC Oracle support information. If you find an error
or have a suggestion for improving our content, we would appreciate your
and include the URL for the page.
Copyright © 1996 - 2020
All rights reserved by
is the registered trademark of Oracle Corporation.