ORA-19909: datafile 1 belongs to an orphan incarnation
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/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- LIST INCARNATION OF DATABASE含義Database
- List Incarnation 語法含義
- RMAN restore fails with ORA-01180: can not create datafile 1 (文件 ID 1265151.1)RESTAI
- RMAN-06214: Datafile Copy
- [20201103]set newname for datafile.txt
- 在rman恢復中incarnation的概念
- ORA-19909(一次DataGuard Failover導致的故障AI
- SAP HU上面的'Obj.to Which HU Belongs'欄位初探OBJ
- ThinkPHP5下has_one和belongs_to的區別PHP
- RMAN深入解析之--Incarnation應用(不完全恢復)
- Rename or Move a datafile In Oracle 19c RAC-20220117Oracle
- 利用offline datafile檔案方式遷移資料
- 【故障處理】ORA-39123,ORA-19722 datafile is an incorrect version
- Sqlserver移動檔案路徑move datafile的三種方法SQLServer
- ocp 19c考題,科目082考試題(15)-move datafile to
- [20190312]檢視v$datafile欄位OFFLINE_CHANGE#, ONLINE_CHANGE#.txt
- OMF管理自動新增資料檔案指令碼add_datafile.sh指令碼
- 對SQL Server 2014 alwayson 架構的資料庫在主節點加新的datafile檔案SQLServer架構資料庫
- 1~7的謎題(1):n=1
- 1*1卷積卷積
- zcmu1074: 求1+1/2+1/3+...+1/n
- BUU CODE REVIEW 1 1View
- ★5箭1關(1)★
- MySQL-where 1=1MySql
- word題注“一-1”改為“1-1”
- 1 Day11--API1API
- 1
- ·1
- where 1=1有什麼用?
- 為什麼要用where 1=1
- 怎樣讓1+1=3?
- where 1=1 是什麼鬼?
- 1(1)FPGA入門第一關FPGA
- 手遊1~8(9月1日)
- 1-4序列的應用1
- Pygame第1-1課:入門GAM
- “1BTC=1BTC,1ETH≠1ETH”——風頭教父Tim Draper想說什麼?
- 字串1字串