RSS

Oracle Trace file (.trc) & Trace map (.trm) cleanup

04 Dec

To clean up old Oracle trace file (.trc) and trace map (.trm) files, use this command on UNIX based system:

find /oracle/diag/rdbms/ssekdb/ssekdb/trace/*.trc -mtime +14 -exec rm {} \;
find /oracle/diag/rdbms/ssekdb/ssekdb/trace/*.trm -mtime +14 -exec rm {} \;

The above command will delete trace files and trace map files which is older than 14 days.

 
1 Comment

Posted by on December 4, 2009 in Oracle

 

One Response to Oracle Trace file (.trc) & Trace map (.trm) cleanup

  1. someone

    December 11, 2009 at 11:39 pm

    Ini kyknya buat Oracle 11g.. kalo Oracle 9 & 10 kan masih pake bdump,udump,dkk hehe…

     

Leave a Reply

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

WordPress.com Logo

You are commenting using your WordPress.com 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

 
Follow

Get every new post delivered to your Inbox.

Join 106 other followers