Skip to Main Content

Oracle Database Discussions

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

adrci does not remove trace files from operating system

772262Nov 24 2010 — edited Dec 23 2010
Hello All,
As seen below, I have set SHORTP_POLICY to 2 hours and LONGP_POLICY to 4 hrs. But still the the trace file exits in the operating system.
As per this link http://gavinsoorma.com/2010/09/purging-trace-and-dump-files-with-11g-adrci/ ,MMON process should have cleared the trace file from the operating system.

Do I need to use "purge -age 300 -type TRACE" to purge the files even though the SHORTP_POLICY & LONGP_POLICY parameters are set.


adrci> show control

ADR Home = /u02/oracle/logs/diag/rdbms/san03mdm/san03mdm:
*************************************************************************
ADRID SHORTP_POLICY LONGP_POLICY LAST_MOD_TIME LAST_AUTOPRG_TIME LAST_MANUPRG_TIME ADRDIR_VERSION ADRSCHM_VERSION ADRSCHMV_SUMMARY ADRALERT_VERSION CREATE_TIME
-------------------- -------------------- -------------------- ---------------------------------------- ---------------------------------------- ---------------------------------------- -------------------- -------------------- -------------------- -------------------- ----------------------------------------
150292440 2 4 2010-11-24 08:58:25.272292 +00:00 2010-11-20 22:09:49.790650 +00:00 1 2 76 1 2010-11-18 16:30:42.269237 +00:00
1 rows fetched

adrci>

/u02/oracle/logs/diag/rdbms/san03mdm/san03mdm/trace

-rw-r----- 1 oracle oinstall 87 Nov 18 16:34 san03mdm_ora_13831.trm
-rw-r----- 1 oracle oinstall 891 Nov 18 16:33 san03mdm_mman_13807.trc
-rw-r----- 1 oracle oinstall 64 Nov 18 16:33 san03mdm_mman_13807.trm
-rw-r----- 1 oracle oinstall 14432 Nov 18 16:33 san03mdm_ora_13759.trc
-rw-r----- 1 oracle oinstall 249 Nov 18 16:33 san03mdm_ora_13759.trm
-rw-r----- 1 oracle oinstall 1122 Nov 18 16:33 san03mdm_vktm_13793.trc
-rw-r----- 1 oracle oinstall 81 Nov 18 16:33 san03mdm_vktm_13793.trm
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jan 20 2011
Added on Nov 24 2010
8 comments
5,136 views