ORA-19909: Datafile 1 belongs to an orphan incarnation
ORA-19909:
Datafile 1 belongs to an orphan incarnation
Applies to:
Oracle Database 10gR2
Description:
I have faced the error ORA-19909 while creating physical
standby database through RMAN backup. When start recovery MRP process
terminated with error.After doing some research work I found the following solution:
Solution:
After some research I have found the following solution:
The Problem occurs because the Primary Database has
different incarnation with standby database.
On the Primary site:
Set environment
> rman target /
RMAN> list incarnation;
using target database control file instead of recovery
catalog
List of Database Incarnations
DB Key Inc Key DB
Name DB ID STATUS Reset SCN
Reset Time
------- ------- -------- ---------------- --- ----------
----------
1 1 PROD
143178490 PARENT 5988067599851 02-OCT-10
2 2 PROD
143178490 CURRENT
5988067601797 02-OCT-10
On the Standby site:
> rman target /
RMAN> list incarnation
2> ;
using target database control file instead of recovery
catalog
List of Database Incarnations
DB Key Inc Key DB
Name DB ID STATUS Reset SCN
Reset Time
------- ------- -------- ---------------- --- ----------
----------
1 1 PROD
143178490 PARENT 5988067599851 02-OCT-10
2 2 PROD
143178490 PARENT 5988067601797 02-OCT-10
3 3 PROD
143178490 CURRENT
3755054101457 11-MAY-11
RMAN>
reset database
to incarnation 2;
RMAN> exit
Now start recover and monitor alert log file. MRP process
started successfully and recovers the archive log files.
Your comments, especially which will help us improve the
functionality, will be greatly appreciated :)
Hello, I think I have similar problem:
ReplyDeleteI'm trying to recover standby db. idid all steps and now I have problem:
RMAN> connect auxiliary SYS@DBstndby
RMAN> duplicate target database for standby nofilenamecheck dorecover;
And at the end I've got:
starting media recovery
media recovery failed
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of Duplicate Db command at 03/03/2013 13:04:56
RMAN-05501: aborting duplication of target database
RMAN-03015: error occurred in stored script Memory Script
ORA-00283: recovery session canceled due to errors
RMAN-11003: failure during parse/execution of SQL statement: alter database recover if needed
standby start until change 2989360730
ORA-00283: recovery session canceled due to errors
ORA-19909: datafile 37 belongs to an orphan incarnation
ORA-01110: data file 37: '/path/audit01.dbf'
I did reset database to incarnation 2; but then I got
Started Parallel Media Recovery
*** 2013-03-03 13:24:55.711 4320 krsh.c
Managed Standby Recovery not using Real Time Apply
DDE: Problem Key 'ORA 1110' was flood controlled (0x1) (no incident)
ORA-01110: data file 1: '/path/system01.dbf'
*** 2013-03-03 13:24:55.731
Completed Media Recovery
Slave exiting with ORA-283 exception
ORA-00283: recovery session canceled due to errors
ORA-19909: datafile 1 belongs to an orphan incarnation
ORA-01110: data file 1: '/path/system01.dbf'
Could you please assist me with my issuie