11g推出之前,在metalink提交过SR的同仁都知道,每当数据库发生问题给oracle support提供信息时,需要自己手动打包,如alert log,trace文件。

11g中这些信息可以通过ADRCI utility实现,其主要命令是ips和purge命令。

关于ips的使用方法可以参考附件,此附件是metalink DOC ID : 443529.1
11g Quick Steps to Package and Send Critical Error Diagnostic Information to Support (Video) 中提供的视频。

purge命令如下:

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 30 -type incident