中文字幕av专区_日韩电影在线播放_精品国产精品久久一区免费式_av在线免费观看网站

溫馨提示×

溫馨提示×

您好,登錄后才能下訂單哦!

密碼登錄×
登錄注冊×
其他方式登錄
點擊 登錄注冊 即表示同意《億速云用戶服務條款》

ORA-19527: physical standby redo log must be renamed

發布時間:2020-08-09 07:57:51 來源:ITPUB博客 閱讀:384 作者:xychong123 欄目:關系型數據庫
錯誤記錄:


1,rman 復制數據庫報錯。
ORACLE error from auxiliary database: ORA-19527: physical standby redo log must be renamed
ORA-00312: online log 1 thread 1: '/u01/app/oracle/oradata/pdb/redo01.log'


RMAN-05535: WARNING: All redo log files were not defined properly.
ORACLE error from auxiliary database: ORA-19527: physical standby redo log must be renamed
ORA-00312: online log 2 thread 1: '/u01/app/oracle/oradata/pdb/redo02.log'


RMAN-05535: WARNING: All redo log files were not defined properly.
ORACLE error from auxiliary database: ORA-19527: physical standby redo log must be renamed
ORA-00312: online log 3 thread 1: '/u01/app/oracle/oradata/pdb/redo03.log'


RMAN-05535: WARNING: All redo log files were not defined properly.
ORACLE error from auxiliary database: ORA-19527: physical standby redo log must be renamed
ORA-00312: online log 4 thread 0: '/u01/app/oracle/oradata/pdb/s1.log'


RMAN-05535: WARNING: All redo log files were not defined properly.
ORACLE error from auxiliary database: ORA-19527: physical standby redo log must be renamed
ORA-00312: online log 5 thread 0: '/u01/app/oracle/oradata/pdb/s2.log'


RMAN-05535: WARNING: All redo log files were not defined properly.
ORACLE error from auxiliary database: ORA-19527: physical standby redo log must be renamed
ORA-00312: online log 6 thread 0: '/u01/app/oracle/oradata/pdb/s3.log'

解決辦法:
備用和主數據庫設置如下參數:--------------需要重啟數據庫。
alter system set LOG_FILE_NAME_CONVERT='pdb','pdb' scope=spfile;


修改之后rman恢復正常,無報錯:
Recovery Manager: Release 12.1.0.2.0 - Production on Thu Dec 28 00:18:59 2017


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


connected to target database: PDB (DBID=3386854302)
connected to auxiliary database: PDB (not mounted)


RMAN> 2> 3> 4> 5> 
Starting Duplicate Db at 28-DEC-17
using target database control file instead of recovery catalog
allocated channel: ORA_AUX_DISK_1
channel ORA_AUX_DISK_1: SID=272 device type=DISK
current log archived


contents of Memory Script:
{
   backup as copy reuse
   targetfile  '/u01/app/oracle/product/12.1.0/dbhome_1/dbs/orapwpdb' auxiliary format 
 '/u01/app/oracle/product/12.1.0/dbhome_1/dbs/orapwpdb'   ;
}
executing Memory Script


Starting backup at 28-DEC-17
allocated channel: ORA_DISK_1
channel ORA_DISK_1: SID=364 device type=DISK
Finished backup at 28-DEC-17


contents of Memory Script:
{
   backup as copy current controlfile for standby auxiliary format  '/u01/app/oracle/oradata/pdb/control01.ctl';
}
executing Memory Script


Starting backup at 28-DEC-17
using channel ORA_DISK_1
channel ORA_DISK_1: starting datafile copy
copying standby control file
output file name=/u01/app/oracle/product/12.1.0/dbhome_1/dbs/snapcf_pdb.f tag=TAG20171228T001903
channel ORA_DISK_1: datafile copy complete, elapsed time: 00:00:01
Finished backup at 28-DEC-17


contents of Memory Script:
{
   sql clone 'alter database mount standby database';
}
executing Memory Script


sql statement: alter database mount standby database


contents of Memory Script:
{
   set newname for tempfile  1 to 
 "/u01/app/oracle/oradata/pdb/temp01.dbf";
   switch clone tempfile all;
   set newname for datafile  1 to 
 "/u01/app/oracle/oradata/pdb/system01.dbf";
   set newname for datafile  3 to 
 "/u01/app/oracle/oradata/pdb/sysaux01.dbf";
   set newname for datafile  4 to 
 "/u01/app/oracle/oradata/pdb/undotbs01.dbf";
   set newname for datafile  6 to 
 "/u01/app/oracle/oradata/pdb/users01.dbf";
   backup as copy reuse
   datafile  1 auxiliary format 
 "/u01/app/oracle/oradata/pdb/system01.dbf"   datafile 
 3 auxiliary format 
 "/u01/app/oracle/oradata/pdb/sysaux01.dbf"   datafile 
 4 auxiliary format 
 "/u01/app/oracle/oradata/pdb/undotbs01.dbf"   datafile 
 6 auxiliary format 
 "/u01/app/oracle/oradata/pdb/users01.dbf"   ;
   sql 'alter system archive log current';
}
executing Memory Script


executing command: SET NEWNAME


renamed tempfile 1 to /u01/app/oracle/oradata/pdb/temp01.dbf in control file


executing command: SET NEWNAME


executing command: SET NEWNAME


executing command: SET NEWNAME


executing command: SET NEWNAME


Starting backup at 28-DEC-17
using channel ORA_DISK_1
channel ORA_DISK_1: starting datafile copy
input datafile file number=00001 name=/u01/app/oracle/oradata/pdb/system01.dbf
output file name=/u01/app/oracle/oradata/pdb/system01.dbf tag=TAG20171228T001909
channel ORA_DISK_1: datafile copy complete, elapsed time: 00:00:55
channel ORA_DISK_1: starting datafile copy
input datafile file number=00003 name=/u01/app/oracle/oradata/pdb/sysaux01.dbf
output file name=/u01/app/oracle/oradata/pdb/sysaux01.dbf tag=TAG20171228T001909
channel ORA_DISK_1: datafile copy complete, elapsed time: 00:00:45
channel ORA_DISK_1: starting datafile copy
input datafile file number=00004 name=/u01/app/oracle/oradata/pdb/undotbs01.dbf
output file name=/u01/app/oracle/oradata/pdb/undotbs01.dbf tag=TAG20171228T001909
channel ORA_DISK_1: datafile copy complete, elapsed time: 00:00:07
channel ORA_DISK_1: starting datafile copy
input datafile file number=00006 name=/u01/app/oracle/oradata/pdb/users01.dbf
output file name=/u01/app/oracle/oradata/pdb/users01.dbf tag=TAG20171228T001909
channel ORA_DISK_1: datafile copy complete, elapsed time: 00:00:01
Finished backup at 28-DEC-17


sql statement: alter system archive log current
current log archived


contents of Memory Script:
{
   backup as copy reuse
   archivelog like  "/u01/arc/1_47_963859490.dbf" auxiliary format 
 "/u01/arc/1_47_963859490.dbf"   archivelog like 
 "/u01/arc/1_48_963859490.dbf" auxiliary format 
 "/u01/arc/1_48_963859490.dbf"   ;
   catalog clone archivelog  "/u01/arc/1_47_963859490.dbf";
   catalog clone archivelog  "/u01/arc/1_48_963859490.dbf";
   switch clone datafile all;
}
executing Memory Script


Starting backup at 28-DEC-17
using channel ORA_DISK_1
channel ORA_DISK_1: starting archived log copy
input archived log thread=1 sequence=47 RECID=74 STAMP=963879658
output file name=/u01/arc/1_47_963859490.dbf RECID=0 STAMP=0
channel ORA_DISK_1: archived log copy complete, elapsed time: 00:00:01
channel ORA_DISK_1: starting archived log copy
input archived log thread=1 sequence=48 RECID=75 STAMP=963879659
output file name=/u01/arc/1_48_963859490.dbf RECID=0 STAMP=0
channel ORA_DISK_1: archived log copy complete, elapsed time: 00:00:01
Finished backup at 28-DEC-17


cataloged archived log
archived log file name=/u01/arc/1_47_963859490.dbf RECID=1 STAMP=963879661


cataloged archived log
archived log file name=/u01/arc/1_48_963859490.dbf RECID=2 STAMP=963879662


datafile 1 switched to datafile copy
input datafile copy RECID=2 STAMP=963879662 file name=/u01/app/oracle/oradata/pdb/system01.dbf
datafile 3 switched to datafile copy
input datafile copy RECID=3 STAMP=963879662 file name=/u01/app/oracle/oradata/pdb/sysaux01.dbf
datafile 4 switched to datafile copy
input datafile copy RECID=4 STAMP=963879662 file name=/u01/app/oracle/oradata/pdb/undotbs01.dbf
datafile 6 switched to datafile copy
input datafile copy RECID=5 STAMP=963879662 file name=/u01/app/oracle/oradata/pdb/users01.dbf


contents of Memory Script:
{
   set until scn  1827407;
   recover
   standby
   clone database
    delete archivelog
   ;
}
executing Memory Script


executing command: SET until clause


Starting recover at 28-DEC-17
using channel ORA_AUX_DISK_1


starting media recovery


archived log for thread 1 with sequence 47 is already on disk as file /u01/arc/1_47_963859490.dbf
archived log for thread 1 with sequence 48 is already on disk as file /u01/arc/1_48_963859490.dbf
archived log file name=/u01/arc/1_47_963859490.dbf thread=1 sequence=47
archived log file name=/u01/arc/1_48_963859490.dbf thread=1 sequence=48
media recovery complete, elapsed time: 00:00:00
Finished recover at 28-DEC-17
Finished Duplicate Db at 28-DEC-17


RMAN> 


Recovery Manager complete.

向AI問一下細節

免責聲明:本站發布的內容(圖片、視頻和文字)以原創、轉載和分享為主,文章觀點不代表本網站立場,如果涉及侵權請聯系站長郵箱:is@yisu.com進行舉報,并提供相關證據,一經查實,將立刻刪除涉嫌侵權內容。

AI

佛山市| 玉环县| 桦川县| 武功县| 区。| 曲麻莱县| 麟游县| 海口市| 大同县| 阿图什市| 平顶山市| 江阴市| 桃源县| 平安县| 尤溪县| 遂溪县| 潞西市| 历史| 西藏| 甘谷县| 永善县| 牟定县| 阿克陶县| 山丹县| 青龙| 西昌市| 全州县| 丹江口市| 饶河县| 南召县| 文水县| 伽师县| 汉寿县| 竹北市| 宁津县| 紫阳县| 清丰县| 嘉黎县| 克东县| 桃源县| 新竹县|