ORA-19909: datafile 1 belongs to an orphan incarnation

这篇博客介绍了在Oracle数据库中遇到ORA-19909错误的情况,该错误表明数据文件属于一个孤儿时代。内容包括如何查看数据库的不同时期(incarnation),尝试使用RMAN命令将数据库重置到之前的时期失败,以及后续的解决步骤。文章通过RMAN命令展示了数据库的状态和操作过程。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >



ORA-19909: datafile 1 belongs to an orphan incarnation

ORA-01110: data file 1: '+DATA/lvdb_yt/datafile/system.434.969694045'

Managed Standby Recovery not using Real Time Apply

Wed Jun 19 16:37:04 2019


Data Mining and Real Application Testing options

[oracle@yt-rac1 ~]$ rman target /


Recovery Manager: Release 11.2.0.4.0 - Production on Thu Jun 20 09:59:51 2019


Copyright (c) 1982, 2011, Oracle and/or its affiliates.  All rights reserved.


connected to target database: XXDB (DBID=3142346740)


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       XXDB     3142346740       PARENT  1          24-AUG-13

2       2       XXDB     3142346740       PARENT  925702     06-MAR-17

3       3       XXDB     3142346740       CURRENT 41369544169 17-JUN-19


RMAN> reset database to incarnation 2;


RMAN-00571: ===========================================================

RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============

RMAN-00571: ===========================================================

RMAN-03009: failure of reset database command on default channel at 06/20/2019 10:00:08

ORA-19910: can not change recovery target incarnation in control file


RMAN> exit



Recovery Manager complete.

[oracle@yt-rac1 ~]$ ps -ef|grep LOCAL=NO

oracle    56712      1  0 09:11 ?        00:00:00 oracleXXDB3 (LOCAL=NO)

oracle    60368      1  1 Jun19 ?        00:14:32 oracleXXDB3 (LOCAL=NO)

oracle    60370      1  2 Jun19 ?        00:30:43 oracleXXDB3 (LOCAL=NO)

oracle    71435      1  0 09:23 ?        00:00:02 oracleXXDB3 (LOCAL=NO)

oracle   110235      1  4 09:55 ?        00:00:12 oracleXXDB3 (LOCAL=NO)

oracle   116790  36536  0 10:00 pts/0    00:00:00 grep LOCAL=NO

[oracle@yt-rac1 ~]$ s

-bash: s: command not found

[oracle@yt-rac1 ~]$ 

[oracle@yt-rac1 ~]$ 

[oracle@yt-rac1 ~]$ 

[oracle@yt-rac1 ~]$ 

[oracle@yt-rac1 ~]$ 

[oracle@yt-rac1 ~]$ ora sim


SQL*Plus: Release 11.2.0.4.0 Production on Thu Jun 20 13:51:21 2019


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



Connected to:

Oracle Database 11g Enterprise Edition Release 11.2.0.4.0 - 64bit Production

With the Partitioning, Real Application Clusters, Automatic Storage Management, OLAP,

Data Mining and Real Application Testing options


SQL> shut immediate

Database closed.

Database dismounted.

ORACLE instance shut down.

SQL> startup mount

ORACLE instance started.


Total System Global Area 1.2827E+11 bytes

Fixed Size                  2269072 bytes

Variable Size            3.5702E+10 bytes

Database Buffers         9.1805E+10 bytes

Redo Buffers              764678144 bytes

Database mounted.

SQL> exit

Disconnected from Oracle Database 11g Enterprise Edition Release 11.2.0.4.0 - 64bit Production

With the Partitioning, Real Application Clusters, Automatic Storage Management, OLAP,

Data Mining and Real Application Testing options

[oracle@yt-rac1 ~]$ rman target /


Recovery Manager: Release 11.2.0.4.0 - Production on Thu Jun 20 13:52:54 2019


Copyright (c) 1982, 2011, Oracle and/or its affiliates.  All rights reserved.


connected to target database: XXDB (DBID=3142346740, not open)


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       xxDB     3142346740       PARENT  1          24-AUG-13

2       2       xxDB     3142346740       PARENT  925702     06-MAR-17

3       3       xxDB     3142346740       CURRENT 41369544169 17-JUN-19


RMAN>  reset database to incarnation 2;


database reset to incarnation 2


RMAN> 


RMAN> 


recover database;

来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/29863023/viewspace-2648205/,如需转载,请注明出处,否则将追究法律责任。

转载于:http://blog.itpub.net/29863023/viewspace-2648205/

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值