본문 바로가기
Oracle/운영

Alert Log 파일 위치 확인

by 취미툰 2022. 4. 19.
반응형

10g까지(11g 이후에서도 사용 가능합니다.)

 

SQL> select value from v$parameter where name='background_dump_dest';

VALUE                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- 
/oratest/app/oracle/admin/kiupdev/bdump

 

11g 이후

 

SQL> select * from v$diag_info;

INST_ID        NAME                                                             VALUE                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            CON_ID       
-------------- ---------------------------------------------------------------- -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- ------------ 
             1 Diag Enabled                                                     TRUE                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        0
             1 ADR Base                                                         /logs/oracle                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                0
             1 ADR Home                                                         /logs/oracle/diag/rdbms/dbjcmt/DBJCMT                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       0
             1 Diag Trace                                                       /logs/oracle/diag/rdbms/dbjcmt/DBJCMT/trace                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 0
             1 Diag Alert                                                       /logs/oracle/diag/rdbms/dbjcmt/DBJCMT/alert                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 0
             1 Diag Incident                                                    /logs/oracle/diag/rdbms/dbjcmt/DBJCMT/incident                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              0
             1 Diag Cdump                                                       /logs/oracle/diag/rdbms/dbjcmt/DBJCMT/cdump                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 0
             1 Health Monitor                                                   /logs/oracle/diag/rdbms/dbjcmt/DBJCMT/hm                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    0
             1 Default Trace File                                               /logs/oracle/diag/rdbms/dbjcmt/DBJCMT/trace/DBJCMT_ora_5104.trc                                                                                                                                                                                                                                                                                                                                                                                                                                                                             0
             1 Active Problem Count                                             1                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           0
             1 Active Incident Count                                            1                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           0

11 rows selected.

 

반응형

댓글