亚洲激情专区-91九色丨porny丨老师-久久久久久久女国产乱让韩-国产精品午夜小视频观看

溫馨提示×

溫馨提示×

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

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

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

西宁市| 博爱县| 秦安县| 浑源县| 资讯| 增城市| 中阳县| 嘉黎县| 惠来县| 桃园县| 辽源市| 汕头市| 保山市| 万全县| 杭州市| 孙吴县| 福清市| 大安市| 增城市| 萝北县| 扎赉特旗| 太仆寺旗| 乌兰浩特市| 漯河市| 台南县| 雅江县| 汉川市| 黔江区| 南昌市| 江孜县| 潍坊市| 东乡族自治县| 南投县| 博爱县| 怀安县| 垫江县| 石狮市| 华阴市| 西乌珠穆沁旗| 旬邑县| 阿瓦提县|