Re: ADRCI purging of alert log

From: Leyi Zhang (Kamus) <"Leyi>
Date: Sun, 18 Apr 2010 11:15:18 +0800
Message-ID: <y2v94b9f9d01004172015l749389faq7cdf9293ad3b2313_at_mail.gmail.com>



As I know, you should run adrci -> purge command by yourself.

adrci> help purge

  Usage: PURGE [[-i <id1> | <id1> <id2>] |

               [-age <mins> [-type ALERT|INCIDENT|TRACE|CDUMP|HM|UTSCDMP]]]:

  Purpose: Purge the diagnostic data in the current ADR home. If no

           option is specified, the default purging policy will be used.

  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

    [-type ALERT|INCIDENT|TRACE|CDUMP|HM|UTSCDMP]: Users can specify what type of

    data to be purged.

  Examples:
    purge
    purge -i 123 456
    purge -age 60 -type incident

--
Kamus <kamusis_at_gmail.com>

北京恩墨科技有限公司 - http://www.enmou.com
Oracle8i & 9i Certified DBA from China
Oracle ACE
Visit my blog for more : http://www.dbform.com
Join ACOUG: http://www.acoug.org
-----------------------------------------------------------------------
致力于为企业提供高品质的数据库服务
-----------------------------------------------------------------------


On Fri, Apr 16, 2010 at 8:40 PM, Jeffrey Beckstrom <JBECKSTROM_at_gcrta.org>wrote:


> I am unclear regarding use of the ADRCI utility to purge data from alert
> log XML file. Does the database automatically delete data from the XML file
> or do I need an ADRCI command to do this?
>
>
> Jeffrey Beckstrom
> Database Administrator
> Greater Cleveland Regional Transit Authority
> 1240 W. 6th Street
> Cleveland, Ohio 44113
>
-- http://www.freelists.org/webpage/oracle-l
Received on Sat Apr 17 2010 - 22:15:18 CDT

Original text of this message