[Oracle] ORA-19909: datafile 1 belongs to an orphan incarnation
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of recover command at 03/08/2021 05:02:07
ORA-00283: recovery session canceled due to errors
RMAN-11003: failure during parse/execution of SQL statement: alter database recover
if needed start
ORA-00283: recovery session canceled due to errors
ORA-19909: datafile 1 belongs to an orphan incarnation
ORA-01110: data file 1: '+DATA/RMANDB/DATAFILE/system.274.1066613863'
RMAN> list incarnation;
List of Database Incarnations
DB Key Inc Key DB Name DB ID STATUS Reset SCN Reset Time
------- ------- -------- ---------------- -------- ---------- ----------
1 1 RMANDB 3817338712 PARENT 1 17/01/26
2 2 RMANDB 3817338712 PARENT 1408558 20/01/07
3 3 RMANDB 3817338712 CURRENT 1422018 21/03/08
RMAN> reset database to incarnation 2;
database reset to incarnation 2
// orphan incarnation을 지우려면 controlfile을 재생성해야하는 듯 함.