Dealing With Oracle Traces

This article using Oracle Database 11g , I will post for 10g Later .

How Could I change name for Oracle Trace :

alter session set tracefile_identifier = ‘some_id’;

    SQL> alter session set tracefile_identifier = ‘osama’;

    Session altered.

    SQL> oradebug tracefile_name


maximum size of Oracle Trace File

-By Set max_dump_file_size parameter
– alter session set max_dump_file_size = unlimited;

Finding Oracle Trace File for current session :

     SELECT value
    FROM v$diag_info
    WHERE name = ‘Default Trace File’;

Finding Oracle Trace File for Current Database Process

     SELECT pid, program, tracefile
    FROM v$process;

To find all trace files for the current instance:


and you could use ADRCI features.

Thank you
Osama mustafa

One thought on “Dealing With Oracle Traces

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.