Professional Documents
Culture Documents
There are two time attributes which are used to manage the retention of
informations in ADR.
Both attributes correspond to a number of hours after which the MMON (Memory
Monitor) background process removes the expired ADR data:
LONGP_POLICY is used to purge information that have long life. Default value is 365
days.
SHORTP_POLICY is used to purge the information that have short life. Default value
is 30 days.
This policy is used by :
TRACE
CDUMP
UTSCDMP
IPS
PURGE
Purges diagnostic data in the current ADR home, according to current purging
policies. Only ADR contents that are due to be purged are purged.
Diagnostic data in the ADR has a default lifecycle. For example, information about
incidents and problems is subject to purging after one year, whereas the associated
dump files (dumps) are subject to purging after only 30 days.
Some Oracle products, such as Oracle Database, automatically purge diagnostic data
at the end of its life cycle. Other products and components require you to purge
diagnostic data manually with this command. You can also use this command to purge
data that is due to be automatically purged.
Options:
[-i id1 | id1 id2]: Users can input a single incident ID, or a
range of incidents to purge.
[-age <mins>]: Users can specify the purging policy either to all
the diagnostic data or the specified type. The data older than <mins>
ago will be purged
fuser log.xml/alert.PROD.LOG
Or lsof log.xml