Tracing session
                                                 Last update (2008-02-14 13:04:21)
                                                                                                                   Date added (2008-02-14 12:59:27)

How to
First find the session sid and serial#. Then connect as sys or system. For example if you want to trace session (sid,serial#) = (27,3608)

exec sys.dbms_system.set_sql_trace_in_session(27,3608,true);

to turn off sql trace for the session in order to limit the tracing:

exec sys.dbms_system.set_sql_trace_in_session(27,3608,false);

To find the generated trace file in udump do a grep on unix: $grep sid.serial# *
for example $>grep 27.3608 *
Reviews
Categories
Oracle DBA-> (147)
  Alertlog (3)
  Archivelog (5)
  Auditing (1)
  Backup - Recovery (19)
  Database files (6)
  Database options (2)
  DB links (2)
  Dependencies (1)
  Dictionary (2)
  Exp-Imp Datapump (6)
  Jobs (2)
  Mview (2)
  Networking (3)
  Objects (7)
  Parameters (2)
  Redologs (6)
  Roles - Grants (2)
  Rollback - Undo (8)
  Segments (3)
  Sequences (2)
  Sessions (14)
  SGA (14)
  Tables (10)
  Tablespaces (10)
  Temp (4)
  Toad (5)
  Transactions (1)
  Upgrade (2)
  Users (3)
Oracle APPS DBA-> (66)
Exadata (1)
Performance Tuning-> (59)
Oracle Real Cases (24)
Oracle Errors (23)
Oracle SQL tricks (32)
Oracle RAC (3)
Oracle Security (8)
Filters
Search