ADRCI is the command line interface for diagnostic utility used for viewing diagnostics data like listener log , alert log ,incident and core dump etc and creating incident packages.
Change the ADRCI retention for less important traces.
Enter ADRCI:
$ adrci
adrci> show homes
adrci> set home diag\rdbmsorcl\orcl
adrci> show control
Default retention policy for this HOME is set to 720 hours.
adrci> set control (SHORTP_POLICY = 72)
Changed retention from 720 hours to 72 hour.
You could do
an immediate purge of trace files:
adrci> purge -age 4320 -type trace
adrci> purge -age 4320 -type trace
This will cleanup all traces older than 72 hours or 3 days.
No comments:
Post a Comment