Friday, October 22, 2010

change adrci destination


How to change adrci diagnostics destination in 11g.

Steps :
  1. sqlplus as sysdba
  1. check current diagonostic destination


sql> show parameter diag
NAME                                 TYPE        VALUE
------------------------------------ ----------- ------------------------------
diagnostic_dest                      string      /ora01/oracle
   
  1. Change diagnostic_dest                     

alter system set diagnostic_dest=’ /oradump/oracle’ scope=both sid=’*’;

Note : This will create directories and subdirectories under /oradump/oracle, such as
/oradump/oracle/diag/rdbms/demo

  1. check changed diagonostic destination
    sql> show parameter diag
     NAME                                 TYPE        VALUE
     ------------------------------------ ----------- ------------------------------
    diagnostic_dest                      string      /oradump/oracle

Hope this help. Regards Rupam