SQL> startup
ORACLE instance started.
Total System Global Area 171966464 bytes
Fixed Size 775608 bytes
Variable Size 145762888 bytes
Database Buffers 25165824 bytes
Redo Buffers 262144 bytes
Database mounted.
ORA-01157: cannot identify/lock data file 4 - see DBWR trace
file
ORA-01110: data file 4: '/oracle/oradata/orcl/users01.dbf'
위 경고만 믿지 말라.
디비 구동시에 문제가 발생하면 전체에 대한 에러 메시지 다 안 보여주고,
마지막 하나만 보여줌.
그러므로 확인하려면 v$recover_file 반드시 봐야 함.
해당 에러에 대한 전체 메시지가 나옴.
SQL> SELECT name, error
2 FROM v$datafile
3 JOIN v$recover_file
4 USING (file#);
NAME ERROR
----------------------------------- ------------------
/oracle/oradata/orcl/users01.dbf FILE NOT FOUND
/oracle/oradata/orcl/example01.dbf FILE NOT FOUND
alert로그를 통해서 멤버에 대한 손상 확인 가능..
(리두 멤버)
16-6
11g부터 생김
Data Recovery Advisor
'Database > ORACLE' 카테고리의 다른 글
[스크랩] SQL문 처리과정 (0) | 2014.03.03 |
---|---|
DML 문장 / SELECT 문장 실행순서 (약간 이상) (0) | 2014.02.05 |
15장. 데이터베이스 백업 수행 (0) | 2013.12.06 |
14장. 백업 및 Recovery (0) | 2013.12.06 |
13장. 성능 관리 (0) | 2013.12.06 |