ORA-19906: recovery target incarnation changed during recovery

RMAN 이 데이터베이스 이름 변경 복 구 를 진행 할 때 ORA - 19906: recovery target incarnation changed during recovery
문제 설명
q1ebsdb.imc.com | TEST | /home/oratest > sqlplus / as sysdba

SQL*Plus: Release 11.2.0.3.0 Production on Fri Jan 3 22:10:48 2014

Copyright (c) 1982, 2011, Oracle.  All rights reserved.


Connected to:
Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options

TEST> recover database using backup controlfile;
ORA-00279: change 440517936 generated at 01/03/2014 20:05:55 needed for thread 1
ORA-00289: suggestion : /prod/oracle/fast_recovery_area/TEST/archivelog/2014_01_03/o1_mf_1_2154_%u_.arc
ORA-00280: change 440517936 for thread 1 is in sequence #2154


Specify log: {=suggested | filename | AUTO | CANCEL}
/backup/group_3.258.817172153
ORA-00283: recovery session canceled due to errors
ORA-19906: recovery target incarnation changed during recovery


ORA-01112: media recovery not started 

해결 방법
위의 상황 이 발생 하면 RMAN 에서 reset database to incarnation x 를 사용 해 야 합 니 다.또는 데 이 터 를 삭제 하기 전에 낡 고 사용 할 수 없 는 압축 파일 등 방해 요인.RMAN> list incarnation;현재 incarnation RMAN > reset database to incarnation x 를 찾 습 니 다.
q1ebsdb.imc.com | TEST | /backup > sqlplus / as sysdba

SQL*Plus: Release 11.2.0.3.0 Production on Sat Jan 4 00:02:46 2014

Copyright (c) 1982, 2011, Oracle.  All rights reserved.


Connected to:
Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options

TEST> recover database using backup controlfile;
ORA-00279: change 440517936 generated at 01/03/2014 20:05:55 needed for thread 1
ORA-00289: suggestion : /prod/oracle/fast_recovery_area/TEST/archivelog/2014_01_04/o1_mf_1_2154_%u_.arc
ORA-00280: change 440517936 for thread 1 is in sequence #2154


Specify log: {=suggested | filename | AUTO | CANCEL}
/backup/group_3.258.817172153
ORA-00279: change 440517936 generated at 01/03/2014 12:54:07 needed for thread 2
ORA-00289: suggestion : /backup/thread_2_seq_1742.398.835905959
ORA-00280: change 440517936 for thread 2 is in sequence #1742


Specify log: {=suggested | filename | AUTO | CANCEL}
/backup/thread_2_seq_1742.398.835905959
ORA-00279: change 440517956 generated at 01/03/2014 20:05:58 needed for thread 2
ORA-00289: suggestion : /prod/oracle/fast_recovery_area/TEST/archivelog/2014_01_04/o1_mf_2_1743_%u_.arc
ORA-00280: change 440517956 for thread 2 is in sequence #1743
ORA-00278: log file '/backup/thread_2_seq_1742.398.835905959' no longer needed for this recovery


Specify log: {=suggested | filename | AUTO | CANCEL}
/backup/group_7.262.817172167
Log applied.
Media recovery complete.

좋은 웹페이지 즐겨찾기