Oracle9i Supplied PL/SQL Packages and Types Reference Release 2 (9.2) Part Number A96612-01 |
|
DBMS_ORACLE_TRACE_AGENT, 2 of 2
This package contains only one subprogram: SET_ORACLE_TRACE_IN_SESSION
.
This procedure collects Oracle Trace data for a database session other than your own. It enables Oracle TRACE in the session identified by (sid
, serial#
). These value are taken from v$session
.
DBMS_ORACLE_TRACE_AGENT.SET_ORACLE_TRACE_IN_SESSION ( sid NUMBER DEFAULT 0, serial# NUMBER DEFAULT 0, on_off IN BOOLEAN DEFAULT false, collection_name IN VARCHAR2 DEFAULT '', facility_name IN VARCHAR2 DEFAULT '');
If the collection does not occur, then check the following:
ORACLE_TRACE_FACILITY_PATH
in the initialization file.REGID
.DAT
, PROCESS
.DAT
, and COLLECT
.DAT
. If they do not, then you must run the OTRCCREF
executable to create them.
OTRCSVR
.SQL
file (in your Oracle Trace or RDBMS admin directories) to create the packages.EXECUTE
privilege on the stored procedure.EXECUTE DBMS_ORACLE_TRACE_AGENT.SET_ORACLE_TRACE_IN_SESSION (8,12,TRUE,'NEWCOLL','oracled');
|
Copyright © 2000, 2002 Oracle Corporation. All Rights Reserved. |
|